config/conky/right.conkyrc

129 lines
6.3 KiB
Text
Raw Permalink Normal View History

#!/usr/bin/conky -d -c
# Copyright © 2013, Bradley M. Kuhn
# The copyright holders wish that this document could be placed into the public
# domain. However, should such a public domain dedication not be possible, the
# copyright holders grant a waiver and/or license under the terms of CC0-1.0, as
# published by Creative Commons, Inc. A copy of CC0-1.0 can be found in the
# same repository as this README.md file under the filename CC0-1.0.txt. If
# this document has been separated from the repository, a copy of CC0-1.0 can
# be found on Creative Commons' website at:
# http://creativecommons.org/publicdomain/zero/1.0/legalcode).
update_interval 25.0
update_interval_on_battery 40.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 35rm}${color2}${font DejaVu Sans:size=7.5}${time %H}:${font DejaVu Sans:size=8}${time %M}
${color}${battery_bar}${font}
${font Inconsolata:size=13}Time:${font}${alignr 43}US/Pacific ${tztime US/Pacific %a %H:%M}
${font Inconsolata:size=13}International:${font}${alignr 43}UTC ${tztime UTC %a %H:%M}
${alignr 43}US/Eastern ${tztime US/Eastern %a %H:%M}
${alignr 43}EU/Central ${tztime Europe/Paris %a %H:%M}
${alignr 43}US/Mountain ${tztime US/Mountain %a %H:%M}
${alignr 43}GB & UK ${tztime Europe/London %a %H:%M}
${alignr 43}Korea ${tztime Asia/Seoul %a %H:%M}
${alignr 43}NZ ${tztime Pacific/Auckland %a %H:%M}
${alignr 43}AU/East ${tztime Australia/Sydney %a %H:%M}
${alignr 43}AU/West ${tztime Australia/Perth %a %H:%M}
${alignr 43}India ${tztime Asia/Kolkata %a %H:%M}
${alignr 43}Japan ${tztime Asia/Tokyo %a %H:%M}
${alignr 43}BRT ${tztime America/Sao_Paulo %a %H:%M}
${alignr 43}ZA ${tztime Africa/Johannesburg %a %H:%M}
${voffset -6}${color2}${font led:size=10}MEMORY / HDD ${font}$hr
${font Inconsolata:size=12}
${color}RAM: ${mem} of ${memmax} ${alignr} ${memperc}% RAM: ${memfree}
${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 -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}
${color}${font :size=6}${goto 9}${top_io name 3}${goto 85}${top_io pid 3}${goto 120}${top_io cpu 3}${goto 156}${top_io mem 3}
${color}${font :size=6}${goto 9}${top_io name 4}${goto 85}${top_io pid 4}${goto 120}${top_io cpu 4}${goto 156}${top_io mem 4}
${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}'}
${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
${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}