#==============================================================================
# conkyrc_grey
#
# author : SLK
# version : v2011011601
# license : Distributed under the terms of GNU GPL version 2 or later
#
#==============================================================================
background no
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
temperature_unit celsius
double_buffer yes
no_buffers yes
text_buffer_size 2048
gap_x 10
gap_y 0
minimum_size 190 450
maximum_width 190
own_window yes
own_window_argb_visual yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
alignment tr
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5
uppercase no
default_color FFFFFF
color1 DDDDDD
color2 AAAAAA
color3 888888
color4 666666
lua_load ~/.conky/conky_grey.lua
lua_draw_hook_post main
top_name_width 10
TEXT
${goto 68}${color1}${voffset -19}${font OpenLogos:size=56}\${font}
#${goto 120}${color3}${voffset -46}${font ubuntu:size=6,weight:bold}12.04.1 LTS${font}
${voffset -6}
#${voffset 48}
${goto 100}${color4}${font ubuntu:size=22}${time %e}${color1}${offset -50}${font ubuntu:size=10}${time %A}
${goto 90}${color2}${voffset -2}${font ubuntu:size=9}${time %b}${voffset -2} ${color3}${font ubuntu:size=12}${time %Y}${font}
${voffset 44}
${goto 104}${font Ubuntu:size=6,weight:bold}${color1}CPU1 ${cpu cpu1}%
${voffset -2}${goto 112}${font Ubuntu:size=6,weight:bold}${color1}CPU2 ${cpu cpu2}%
${voffset -2}${goto 116}${font Ubuntu:size=6,weight:bold}${color1}CPU3 ${cpu cpu3}%
${voffset -2}${goto 118}${font Ubuntu:size=6,weight:bold}${color1}CPU4 ${cpu cpu4}%
${voffset -23}${goto 160}${font Ubuntu:size=8,weight:bold}${color3}${cpu cpu0}%
${voffset -2}
${goto 90}${font Ubuntu:size=7,weight:bold}${color}CPU ${freq_g 1}GHz (${hwmon temp 1}°C)
${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${top name 1}${alignr}${top cpu 1}%
${goto 90}${font Ubuntu:size=7,weight:normal}${color2}${top name 2}${alignr}${top cpu 2}%
${goto 90}${font Ubuntu:size=7,weight:normal}${color3}${top name 3}${alignr}${top cpu 3}%
${goto 90}${voffset -14}${cpugraph 20,100 666666 666666}
${goto 90}${voffset -16}${font Ubuntu:size=7,weight:normal}${color}Процессов: ${threads}
${goto 99}${font Poky:size=8,weight:normal}i
${voffset -16}${goto 110}${font Ubuntu:size=7,weight:bold}${color3} [${loadavg 1}] [${loadavg 2}] [${loadavg 3}]
${voffset 11}
${goto 90}${font Ubuntu:size=7,weight:bold}${color}RAM ${memmax}/${mem}
${goto 114}${voffset -49}${memgraph 30,76 666666 666666}
${voffset 8}${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${top_mem name 1}${alignr}${top_mem mem 1}%
${goto 90}${font Ubuntu:size=7,weight:normal}${color2}${top_mem name 2}${alignr}${top_mem mem 2}%
${goto 90}${font Ubuntu:size=7,weight:normal}${color3}${top_mem name 3}${alignr}${top_mem mem 3}%
${voffset 13}
${goto 90}${font Ubuntu:size=7,weight:bold}${color}HDD WD 1TiB (${hddtemp /dev/sda}°C)
${goto 90}${diskiograph 30,100 666666 666666}${voffset -32}
${goto 90}${font Ubuntu:size=6,weight:bold}${color}HD-1: ${fs_used /}/${fs_free /}
${goto 90}${font Ubuntu:size=6,weight:bold}${color}HD-2: ${fs_used /media/DataServer}/${fs_free /media/DataServer}
${goto 110} ${alignr 1}${font Ubuntu:size=6,weight:bold}${color2}Врмя работы ПК
${goto 110} ${alignr 1}${uptime_short}
${voffset 6}${goto 90}${font Ubuntu:size=7,weight:bold}${color}АКБ (${execi 10 acpitool -B | grep Remaining | awk '{print $7}' | cut -c 1-5} / ${execi 10 acpitool -B | grep Present | awk '{print $4}'}мА)
${voffset -4}${goto 90}${font Poky:size=12}${color2}3
${voffset -26}${goto 110}${font Ubuntu:size=6,weight:bold} ${execi 10 acpitool -B | grep Last | awk '{print $5}'}мА/${execi 10 acpitool -B | grep Remaining | awk '{print $4}'}мА
${voffset -12}
${goto 60}${font Ubuntu:size=10,weight:bold}${color3}ПОГОДА${alignr}${color2}${font Ubuntu:size=7,weight:bold}${color1}${alignr 1}Омск${color}${font}
#${font Goudy Bookletter 1911:style=Bold}ПОГОДА${font} ${hr 2}
#Город: Омск
${voffset -2}${goto 60}${font Ubuntu:size=7,weight:bold}${color1}${execi 900 conkyForecast --location=RSXX0080 --datatype=CC}${font}
${goto 60}${font Weather:size=28}${color2}y${font}
${voffset -46}
${goto 80}${font Ubuntu:size=18,weight:bold}${execi 900 conkyForecast --location=RSXX0080 --datatype=HT -r}${font}
${voffset -42}
${goto 150}${font ConkyWeather:size=28}${execi 900 conkyForecast --location=RSXX0080 --datatype=WF}${font}
#Температура: ${execi 900 conkyForecast --location=RSXX0080 --datatype=HT}
${voffset -4}${goto 60}${font Ubuntu:size=7,weight:bold}${color1}Прогноз на три дня${font}
${voffset -2}${goto 60}${font ConkyWeather:size=27}${color2}${execi 900 conkyForecast --startday=1 --endday=3 --location=RSXX0080 --datatype=WF}${font}
${voffset -2}${goto 66}${execi 900 conkyForecast --location=RSXX0080 --startday=1 --endday=3 --spaces=5 --datatype=HT}
${voffset -2}${goto 73}${font Ubuntu:size=7,weight:bold}${color2}${execi 900 conkyForecast --location=RSXX0080 --startday=1 --endday=3 --spaces=16 --datatype=DW}${font}
${voffset -6}
${goto 60}${font Ubuntu:size=10,weight:bold}${color3}СЕТЬ ${font Ubuntu:size=7,weight:bold}${color3}${alignr 1}IP: ${execi 900 wget -O - -q icanhazip.com}${font}
${if_up eth0}${voffset -4}${goto 60}${color2}${font Ubuntu:size=7,weight:bold}${color1}LAN: ${addr eth0}
${voffset -4}${goto 60}${downspeedgraph eth0 24,60 666666 666666 -l}
${voffset -32}${goto 60}${color1}${font Wingdings:size=7}Ì${font Ubuntu:size=7,weight:bold}${downspeedf eth0} Кб/с
${voffset -25}
${goto 130}${upspeedgraph eth0 24,60 666666 666666 -l}
${voffset -32}${goto 130}${color1}${font Wingdings:size=7}Ï${font Ubuntu:size=7,weight:bold}${upspeedf eth0} Кб/с${endif}
${if_up wlan0}${voffset 16}${goto 60}${color2}${font Ubuntu:size=7,weight:bold}${color1}WiFi: ${addr wlan0} ${alignr 1}${font ConkySymbols:size=6,weight:normal}${color2}b${font Ubuntu:size=7,weight:bold} ${color1}${wireless_link_qual_perc wlan0}%
${voffset -4}${goto 60}${downspeedgraph wlan0 24,60 666666 666666 -l}
${voffset -32}${goto 60}${color1}${font Wingdings:size=7}Ì${font Ubuntu:size=7,weight:bold}${downspeedf wlan0} Кб/с
${voffset -25}
${goto 130}${upspeedgraph wlan0 24,60 666666 666666 -l}
${voffset -32}${goto 130}${color1}${font Wingdings:size=7}Ï${font Ubuntu:size=7,weight:bold}${upspeedf wlan0} Кб/с${endif}
${voffset 16}${goto 60}${font Ubuntu:size=7,weight:bold}${color}Сетевые соединения:${color2} ${tcp_portmon 1 65535 count}
${goto 60}${font Ubuntu:size=7,weight:bold}${color}IP${alignr}ПОРТ
${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 0}${alignr 1}${tcp_portmon 1 65535 rport 0}
${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 1}${alignr 1}${tcp_portmon 1 65535 rport 1}
${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 2}${alignr 1}${tcp_portmon 1 65535 rport 2}
${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 3}${alignr 1}${tcp_portmon 1 65535 rport 3}
${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 4}${alignr 1}${tcp_portmon 1 65535 rport 4}
${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 5}${alignr 1}${tcp_portmon 1 65535 rport 5}
${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 6}${alignr 1}${tcp_portmon 1 65535 rport 6}
${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 7}${alignr 1}${tcp_portmon 1 65535 rport 7}
${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 8}${alignr 1}${tcp_portmon 1 65535 rport 8}
#${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 9}${alignr 1}${tcp_portmon 1 65535 rport 9}
#${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 10}${alignr 1}${tcp_portmon 1 65535 rport 10}
#${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 11}${alignr 1}${tcp_portmon 1 65535 rport 11}
#${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 12}${alignr 1}${tcp_portmon 1 65535 rport 12}
#${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 13}${alignr 1}${tcp_portmon 1 65535 rport 13}
#${goto 60}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 14}${alignr 1}${tcp_portmon 1 65535 rport 14} |