Awesome bottom panel.
This commit is contained in:
parent
bb5baf05e4
commit
c46e5a2580
|
@ -0,0 +1,54 @@
|
|||
update_interval 1
|
||||
double_buffer yes
|
||||
alignment bottom_left
|
||||
gap_x 388
|
||||
gap_y +1
|
||||
maximum_width 1920
|
||||
# --- Шрифт --- #
|
||||
font fixed:size=8:medium
|
||||
use_xft yes
|
||||
draw_shades yes
|
||||
draw_outline no
|
||||
# --- Цвета --- #
|
||||
#~ default_color cccccc
|
||||
color0 cccccc # текст по умолчанию
|
||||
color1 ffbbbb # температура
|
||||
color2 white # рамки графиков
|
||||
color3 48B3C9 # загрузка дисков
|
||||
color4 dddddd # (серый на голубом)
|
||||
color5 000000 #
|
||||
color6 000000 #
|
||||
color7 000000 #
|
||||
color8 000000 #
|
||||
color9 000000 #
|
||||
|
||||
TEXT
|
||||
${color2}${cpugraph cpu1 25,56 000000 D6272D} ${cpugraph cpu2 25,56 000000 D6272D} ${loadgraph 25,56 000000 CE8017} ${memgraph 25,56 000000 50A149} ${color 50A149}${membar 25,56} ${color A6298E}${swapbar 25,56}$color ${color2}${color2}${downspeedgraph eth0 25,56 000000 73D025} ${upspeedgraph eth0 25,56 000000 E63F7A}$color ${color2}${diskiograph /dev/sda 25,56 000000 48B3C9} ${color3}${fs_bar 25,56 /home} ${color3}${fs_bar 25,56 /} ${color3}${fs_bar 25,56 /usr} ${color3}${fs_bar 25,56 /var} ${color3}${fs_bar 25,56 /tmp}${color0}
|
||||
${voffset -33}${offset 11}${execi 1 sensors | grep Vcore | sed 's~[^0-9]*\([01]\.[0-9]*\).*~\1~'} V
|
||||
${voffset 1}${offset 4}$uptime_short
|
||||
${color1}${voffset -25}${offset 70}${execi 1 sensors | grep CPU\ Temperature | sed 's~[^+]*\(\+[0-9.]*..\).*~\1~'}${color0}
|
||||
${voffset 1}${offset 67}${freq_g} GHz
|
||||
${voffset -25}${offset 129}${execi 1 sensors | grep CPU\ FAN | sed 's~[^0-9]*\([0-9]*\).*~\1~'} RPM
|
||||
${voffset 1}${offset 127}ps:$running_processes/$processes
|
||||
${voffset -25}${offset 188}mb:${color1}${execi 1 sensors | grep "MB Temperature" | sed 's~[^+]*+\([0-9.]*..\).*~\1~'}${color0}
|
||||
${voffset 1}${offset 188}nv:${color1}+${execi 1 nvidia-smi -a | grep Gpu | sed 's~[^0-9]*\([0-9]*\).*~\1~' | grep -E '[0-9]'}°C${color0}
|
||||
${voffset -25}${offset 249}${execi 1 nvidia-smi -a | grep "Driver Version" | sed 's~[^0-9]*\([0-9.]*\)~\1~'}
|
||||
${voffset 1}${offset 250}${execi 1 nvidia-smi -a | grep Free | sed 's~[^0-9]*\([0-9]*\).*~\1~'}/${execi 1 nvidia-smi -a | grep Total | sed 's~[^0-9]*\([0-9]*\).*~\1~' | grep -E '[0-9]'}MB
|
||||
${voffset -25}${offset 315}${execi 1 sensors | grep "CHASSIS1 FAN Speed" | sed 's~[^:]*:[^0-9]*\([0-9]*\).*~\1~'} RPM
|
||||
${voffset 1}${offset 315}${execi 1 sensors | grep "POWER FAN Speed" | sed 's~[^:]*:[^0-9]*\([0-9]*\).*~\1~'} RPM
|
||||
${voffset -25}${offset 379}${color cccc77}${execi 1 /sbin/ifconfig eth0 | grep inet\ addr | sed 's~[^0-9]*\([0-9]*\.[0-9]*\.\).*~\1~'}${color0}
|
||||
${voffset 1}${offset 382}${execi 60 sudo iptables -t mangle -L IN-INTERNET -v | tail -n1 | sed 's~ *[^ ]\+ *\([^ ]\+\).*~\1~'}B
|
||||
${voffset -25}${offset 436}${color cccc77}${execi 1 /sbin/ifconfig eth0 | grep inet\ addr | sed 's~[^0-9]*[0-9]*\.[0-9]*\(\.[0-9]*\.[0-9]*\).*~\1~'}${color0}
|
||||
${voffset 1}${offset 444}${execi 60 sudo iptables -t mangle -L OUT-INTERNET -v | tail -n1 | sed 's~ *[^ ]\+ *\([^ ]\+\).*~\1~'}B
|
||||
${voffset -25}${offset 498}${color aaffff}${execi 1 nc localhost 7634 2>/dev/null | sed 's~.*sda~~' | cut -d\| -f2 | sed 's~ ~\n~' | tail -n1 | sed 's~\(.........\).*~\1~'}${color0}
|
||||
${color1}${voffset 1}${offset 515}${execi 1 nc localhost 7634 2>/dev/null | sed 's~.*sda~~' | cut -d\| -f3}°C${color4}
|
||||
${voffset -25}${offset 568}/home
|
||||
${voffset 1}${offset 566}${fs_free /home}
|
||||
${voffset -25}${offset 646}/
|
||||
${voffset 1}${offset 631}${fs_free /}
|
||||
${voffset -25}${offset 698}/usr
|
||||
${voffset 1}${offset 690}${fs_free /usr}
|
||||
${voffset -25}${offset 760}/var
|
||||
${voffset 1}${offset 752}${fs_free /var}
|
||||
${voffset -25}${offset 820}/tmp
|
||||
${voffset 1}${offset 814}${fs_free /tmp}
|
Loading…
Reference in New Issue