Improve layout of ram/swap/fs usage meters;
Fix eth0 display. Fix battery_bar color
This commit is contained in:
parent
73c9460638
commit
01b1111954
1 changed files with 11 additions and 7 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/conky -d -c
|
#!/usr/bin/conky -d -c
|
||||||
## .conkyrc configuration
|
## .conkyrc configuration
|
||||||
update_interval 10.0
|
update_interval 7.0
|
||||||
|
update_interval_on_battery 20.0
|
||||||
|
|
||||||
alignment top_right
|
alignment top_right
|
||||||
|
|
||||||
|
|
@ -38,7 +39,7 @@ gap_y 1
|
||||||
|
|
||||||
TEXT
|
TEXT
|
||||||
Battery: ${battery} ${acpiacadapter} ${alignr -8}${color2}${font DejaVu Sans:size=7.5}${time %H}:${font DejaVu Sans:size=8}${time %M}
|
Battery: ${battery} ${acpiacadapter} ${alignr -8}${color2}${font DejaVu Sans:size=7.5}${time %H}:${font DejaVu Sans:size=8}${time %M}
|
||||||
${battery_bar}${font}
|
${color}${battery_bar}${font}
|
||||||
${font Inconsolata:size=13}Int'l${font}${alignr 29}${tztime Europe/Paris %a %H:%M Europe/Central}
|
${font Inconsolata:size=13}Int'l${font}${alignr 29}${tztime Europe/Paris %a %H:%M Europe/Central}
|
||||||
${font Inconsolata:size=13}Time:${font}${alignr 29}${tztime America/New_York %a %H:%M US/Eastern}
|
${font Inconsolata:size=13}Time:${font}${alignr 29}${tztime America/New_York %a %H:%M US/Eastern}
|
||||||
${alignr 29}${tztime US/Mountain %a %H:%M US/Mountain}
|
${alignr 29}${tztime US/Mountain %a %H:%M US/Mountain}
|
||||||
|
|
@ -51,9 +52,10 @@ ${alignr 29}${tztime Asia/Tokyo %a %H:%M Japan}
|
||||||
${alignr 29}${tztime UTC %a %H:%M UTC}
|
${alignr 29}${tztime UTC %a %H:%M UTC}
|
||||||
|
|
||||||
${voffset -6}${color2}${font led:size=10}MEMORY / HDD ${font}$hr
|
${voffset -6}${color2}${font led:size=10}MEMORY / HDD ${font}$hr
|
||||||
${color}RAM: ${mem} / ${memmax} ${alignr} ${memperc}% RAM
|
${font Inconsolata:size=12}
|
||||||
${color}SWAP: ${swap} / ${swapmax} ${alignr} ${swapperc}% SWAP
|
${color}RAM: ${mem} of ${memmax} ${alignr} ${memperc}% RAM: ${memfree}
|
||||||
${color}ROOT: ${fs_used /} / ${fs_size /} ${alignr} ${fs_used_perc /}% /
|
${color}SWAP: ${swap} / ${swapmax} ${alignr} ${swapperc}% SWAP: ${swapfree}
|
||||||
|
${color}ROOT: ${fs_used /} / ${fs_size /} ${alignr} ${fs_used_perc /}% /: ${fs_free /}${font}
|
||||||
|
|
||||||
|
|
||||||
${voffset -10}${color2}${font led:size=10}CPU HOGS ${font}$hr
|
${voffset -10}${color2}${font led:size=10}CPU HOGS ${font}$hr
|
||||||
|
|
@ -91,9 +93,11 @@ ${color}local IP: $alignr${addr wlan0}
|
||||||
${voffset 5}${color}${goto 10}${font pizzadude bullets:size=16}D${font}${color}${voffset -12}${goto 40}Down: ${downspeed wlan0}kb/s ${color}
|
${voffset 5}${color}${goto 10}${font pizzadude bullets:size=16}D${font}${color}${voffset -12}${goto 40}Down: ${downspeed wlan0}kb/s ${color}
|
||||||
${goto 40}Day: ${totaldown wlan0}${voffset -12}${alignr}${downspeedgraph wlan0 25,50 64574e 64574e}
|
${goto 40}Day: ${totaldown wlan0}${voffset -12}${alignr}${downspeedgraph wlan0 25,50 64574e 64574e}
|
||||||
${voffset -13}${goto 40}Month: ${execi 300 vnstat -m | grep "`date +"'%y"`" | tail -1 | awk '{print $3 $4}'}
|
${voffset -13}${goto 40}Month: ${execi 300 vnstat -m | grep "`date +"'%y"`" | tail -1 | awk '{print $3 $4}'}
|
||||||
${endif}
|
|
||||||
|
|
||||||
${if_up eth0}
|
${color}${goto 10}${font pizzadude bullets:size=16}U${font}$color${voffset -12}${goto 40}Up: ${upspeed wlan0}kb/s${color}
|
||||||
|
${goto 40}Day: ${totalup wlan0}${voffset -12}${alignr}${upspeedgraph wlan0 25,50 64574e 64574e}
|
||||||
|
${voffset -13}${goto 40}Month: ${execi 300 vnstat -m | grep "`date +"'%y"`" | tail -1 | awk '{print $6 $7}'}
|
||||||
|
${endif}${if_up eth0}
|
||||||
${voffset -10}${color2}${font led:size=10}WIRED NETWORK ${font}$hr
|
${voffset -10}${color2}${font led:size=10}WIRED NETWORK ${font}$hr
|
||||||
${color}gateway IP: ${alignr}${gw_ip}
|
${color}gateway IP: ${alignr}${gw_ip}
|
||||||
${color}local IP: $alignr${addr eth0}
|
${color}local IP: $alignr${addr eth0}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue