diff --git a/right.conkyrc b/right.conkyrc index 6f193f2..565e911 100644 --- a/right.conkyrc +++ b/right.conkyrc @@ -1,2 +1,130 @@ -TExT -${color2}${font DejaVu Sans:size=8}${time %H}${font DejaVu Sans:size=8}:${time %M} +#!/usr/bin/conky -d -c +## .conkyrc configuration +update_interval 10.0 + +alignment top_right + +use_xft yes +xftfont Inconsolata:size=10 +xftalpha 0.1 + +double_buffer yes +draw_shades yes + +own_window_type desktop +own_window yes +own_window_transparent yes +own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager + +text_buffer_size 8000 +max_user_text 10000 + +default_color e1e1e1 +color0 555555 +color1 FCAF3E +color2 Ivory #FFFFF0 +#color2 64574e +color3 a82553 +color4 5e1014 +color5 Red +color6 a7a7a7 +color7 8888CC +color8 9d9c61 +color9 525276 +minimum_size 280 1394 +maximum_width 600 +gap_x 1 +gap_y 1 + +TEXT +Battery: ${battery} ${acpiacadapter} ${alignr -8}${color2}${font DejaVu Sans:size=7.5}${time %H}:${font DejaVu Sans:size=8}${time %M} +${battery_bar}${font} +${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} +${alignr 29}${tztime US/Mountain %a %H:%M US/Mountain} +${alignr 29}${tztime US/Pacific %a %H:%M US/Pacific} +${alignr 29}${tztime Asia/Seoul %a %H:%M Korea} +${alignr 29}${tztime Australia/Sydney %a %H:%M Australia/East} +${alignr 29}${tztime Australia/Perth %a %H:%M Australia/West} +${alignr 29}${tztime Asia/Kolkata %a %H:%M India} +${alignr 29}${tztime Asia/Tokyo %a %H:%M Japan} +${alignr 29}${tztime UTC %a %H:%M UTC} + +${voffset -6}${color2}${font led:size=10}MEMORY / HDD ${font}$hr +${color}RAM: ${mem} / ${memmax} ${alignr} ${memperc}% RAM +${color}SWAP: ${swap} / ${swapmax} ${alignr} ${swapperc}% SWAP +${color}ROOT: ${fs_used /} / ${fs_size /} ${alignr} ${fs_used_perc /}% / + + +${voffset -10}${color2}${font led:size=10}CPU HOGS ${font}$hr + +${voffset -7}${color}${font}NAME ${goto 90}PID${goto 120}CPU% ${goto 156}MEM% +${color}${font :size=6}${goto 9}${top name 1}${goto 85}${top pid 1}${goto 120}${top cpu 1}${goto 156 }${top mem 1} +${color}${font :size=6}${goto 9}${top name 2}${goto 85}${top pid 2}${goto 120}${top cpu 2}${goto 156}${top mem 2} +${color}${font :size=6}${goto 9}${top name 3}${goto 85}${top pid 3}${goto 120}${top cpu 3}${goto 156}${top mem 3} +${color}${font :size=6}${goto 9}${top name 4}${goto 85}${top pid 4}${goto 120}${top cpu 4}${goto 156}${top mem 4} +${color}${font :size=6}${goto 9}${top name 5}${goto 85}${top pid 5}${goto 120}${top cpu 5}${goto 156}${top mem 5} + + +${voffset -10}${color2}${font led:size=10}MEMORY HOGS ${font}$hr + +${voffset -7}${color}${font}NAME ${goto 90}PID${goto 120}CPU% ${goto 156}MEM% +${color}${font :size=6}${goto 9}${top_mem name 1}${goto 85}${top_mem pid 1}${goto 120}${top_mem cpu 1}${goto 156 }${top_mem mem 1} +${color}${font :size=6}${goto 9}${top_mem name 2}${goto 85}${top_mem pid 2}${goto 120}${top_mem cpu 2}${goto 156}${top_mem mem 2} +${color}${font :size=6}${goto 9}${top_mem name 3}${goto 85}${top_mem pid 3}${goto 120}${top_mem cpu 3}${goto 156}${top_mem mem 3} +${color}${font :size=6}${goto 9}${top_mem name 4}${goto 85}${top_mem pid 4}${goto 120}${top_mem cpu 4}${goto 156}${top_mem mem 4} + + +${voffset -10}${color2}${font led:size=10}I/O HOGS ${font}$hr + +${voffset -7}${color}${font}NAME ${goto 90}PID${goto 120}CPU% ${goto 156}MEM% +${color}${font :size=6}${goto 9}${top_io name 1}${goto 85}${top_io pid 1}${goto 120}${top_io cpu 1}${goto 156 }${top_io mem 1} +${color}${font :size=6}${goto 9}${top_io name 2}${goto 85}${top_io pid 2}${goto 120}${top_io cpu 2}${goto 156}${top_io mem 2} + + +${if_up wlan0} +${voffset -10}${color2}${font led:size=10}WIRELESS NETWORK ${font}$hr +${color}Wireless Info: ${alignr}${wireless_mode} ${wireless_ap} ${wireless_essid} ${wireless_bitrate} +${wireless_link_bar} +${color}gateway IP: ${alignr}${gw_ip} +${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} +${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}'} +${endif} + +${if_up eth0} +${voffset -10}${color2}${font led:size=10}WIRED NETWORK ${font}$hr +${color}gateway IP: ${alignr}${gw_ip} +${color}local IP: $alignr${addr eth0} +${voffset 5}${color}${goto 10}${font pizzadude bullets:size=16}D${font}${color}${voffset -12}${goto 40}Down: ${downspeed eth0}kb/s ${color} +${goto 40}Day: ${totaldown eth0}${voffset -12}${alignr}${downspeedgraph eth0 25,50 64574e 64574e} +${voffset -13}${goto 40}Month: ${execi 300 vnstat -m | grep "`date +"'%y"`" | tail -1 | awk '{print $3 $4}'} + +${color}${goto 10}${font pizzadude bullets:size=16}U${font}$color${voffset -12}${goto 40}Up: ${upspeed eth0}kb/s${color} +${goto 40}Day: ${totalup eth0}${voffset -12}${alignr}${upspeedgraph eth0 25,50 64574e 64574e} +${voffset -13}${goto 40}Month: ${execi 300 vnstat -m | grep "`date +"'%y"`" | tail -1 | awk '{print $6 $7}'} +${endif} +# + + + + + + + + + + + + + + + + + + + + + +${alignr} ${font}${time %B %d, %H:%M}