Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Conky CONFIG FILE [Desktop / Layer]
#Conky CONFIG FILE [Desktop / Layer]
background yes
use_xft yes
xftfont Ubuntu Regular:size=9
xftalpha 1
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_class Conky
double_buffer yes
draw_shades no
default_color c8c8c8
default_shade_color c8c8c8
draw_borders no
draw_graph_borders no
draw_outline no
default_outline_color c8c8c8
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
short_units yes
pad_percents 2
use_spacer none
update_interval 4.0
minimum_size 520 720 ### width | height
maximum_width 520
gap_x 6 ### left | right
gap_y 28 ### up | down
alignment top_left
#Yesterday${goto 82}${execi 10 vnstat -i wlp2s0 | grep "yesterday" | awk '{print $2 $3}'}${goto 150}${font FontAwesome:size=9}${font}${goto 176}${execi 10 vnstat -i wlp2s0 | grep "yesterday" | awk '{print $5 $6}'}${goto 238}${font FontAwesome:size=9}${font}
#Local IP:${execi 3000 curl ifconfig.me | tail}
TEXT
${color D64937}${font ConkySymbols:size=28}s${font}${color}${alignr}${font Ubuntu Regular:size=9}${exec whoami}@${nodename} | ${sysname} ${kernel} | Debian [testing] ${execi 3600 cat /etc/debian_version}${font}
${font Ubuntu Regular:size=9}${uptime} UP ${goto 98}| ${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq} | GPU ${hwmon 0 temp 1}° | ${alignr}RAM ${memfree} / ${memmax}${font}
${color d64937}${hr 1}${color}
${color d64937}${font FontAwesome:size=14} ${font}${color}${font Ubuntu:bold:size=9}DISKS${font}${goto 275}${color D64937}${font FontAwesome:size=14} ${font}${color}${font Ubuntu:bold:size=9}PROCESSES: ${running_processes}/${processes}${goto 447}CPU${alignr}RAM${font}
${font FontAwesome:size=9}${font}${goto 27}System${goto 75}/sda5 [${fs_free_perc /}%]${goto 175}${fs_free /}${goto 210} / ${fs_size /}${goto 275}${font DejaVu Sans:size=11}①${font} ${top_mem name 1}${goto 430}${top_mem cpu 1}%${alignr}${top_mem mem_res 1}
${fs_bar 3,240 /}${goto 275}${font DejaVu Sans:size=11}②${font} ${top_mem name 2}${goto 430}${top_mem cpu 2}%${alignr}${top_mem mem_res 2}
${font FontAwesome:size=9}${font}${goto 27}Data${goto 75}/sda4 [${fs_free_perc /media/xxx/xxx}%]${goto 175}${fs_free /media/xxx/xxx}${goto 210} / ${fs_size /media/xxx/xxx}${goto 275}${font DejaVu Sans:size=11}③${font} ${top_mem name 3}${goto 430}${top_mem cpu 3}%${alignr}${top_mem mem_res 3}
${fs_bar 3,240 /media/xxx/xxx}${goto 275}${font DejaVu Sans:size=11}④${font} ${top_mem name 4}${goto 430}${top_mem cpu 4}%${alignr}${top_mem mem_res 4}
${if_mounted /media/xxx/xxx}${font FontAwesome:size=9}${font}${goto 27}External${goto 75}/sdb1 [${fs_free_perc /media/xxx/xxx}%]${goto 175}${fs_free /media/xxx/xxx} ${goto 210} / ${fs_size /media/xxx/xxx}${endif}${goto 275}${font DejaVu Sans:size=11}⑤${font} ${top_mem name 5}${goto 430}${top_mem cpu 5}%${alignr}${top_mem mem_res 5}
${if_mounted /media/xxx/xxx}${fs_bar 3,240 /media/xxx/xxx}${endif}${goto 275}${font DejaVu Sans:size=11}⑥${font} ${top_mem name 6}${goto 430}${top_mem cpu 6}%${alignr}${top_mem mem_res 6}
${goto 275}${font DejaVu Sans:size=11}⑦${font} ${top_mem name 7}${goto 430}${top_mem cpu 7}%${alignr}${top_mem mem_res 7}
${goto 275}${font DejaVu Sans:size=11}⑧${font} ${top_mem name 8}${goto 430}${top_mem cpu 8}%${alignr}${top_mem mem_res 8}
${font FontAwesome:size=9} ${font}${goto 275}${font DejaVu Sans:size=11}⑨${font} ${top_mem name 9}${goto 430}${top_mem cpu 9}%${alignr}${top_mem mem_res 9}
${goto 275}${font DejaVu Sans:size=11}⑩${font} ${top_mem name 10}${goto 430}${top_mem cpu 10}%${alignr}${top_mem mem_res 10}
${color D64937}${font FontAwesome:size=14} ${font}${color}${font Ubuntu Bold:bold:size=9}CPUfreqs [${execi 60 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor}]${font}${alignr}${cpugraph cpu 0 12,345 afafaf d64937}
${font DejaVu Sans:size=9}➊ ${font} ${exec awk '/cpu MHz/{i++}i==1{printf "%.f",$4; exit}' /proc/cpuinfo}Mhz${goto 80}${cpugraph cpu 1 9,10} ${cpu cpu1}%${goto 137}${font DejaVu Sans:size=9}➋ ${font} ${exec awk '/cpu MHz/{i++}i==2{printf "%.f",$4; exit}' /proc/cpuinfo}Mhz${goto 213}${cpugraph cpu 2 9,10} ${cpu cpu2}%${goto 275}${font DejaVu Sans:size=9}➌ ${font} ${exec awk '/cpu MHz/{i++}i==3{printf "%.f",$4; exit}' /proc/cpuinfo}Mhz${goto 353}${cpugraph cpu 3 9,10} ${cpu cpu3}%${goto 400} ${font DejaVu Sans:size=9}➍ ${font} ${exec awk '/cpu MHz/{i++}i==4{printf "%.f",$4; exit}' /proc/cpuinfo}Mhz${goto 485}${cpugraph cpu 4 9,10} ${alignr}${cpu cpu4}%
${color d64937}${hr 1}${color}
${color D64937}${font FontAwesome:size=14} ${font}${color}${font Ubuntu:bold:size=9}NETWORK: ${wireless_essid wlp2s0}${font}
${font DejaVu Sans:size=9}⇌${font}${goto 29}MAC Address:${goto 145}${wireless_ap wlp2s0}${goto 275}${font DejaVu Sans:size=9}⩫${font}${goto 292}ISP: ${alignr}${execi 10 curl -s http://ip-api.com/json | jq -r .isp}
${font DejaVu Sans:size=9}⇌${font}${goto 29}IPs [L/P]: ${addr wlp2s0}${goto 159}/ ${execi 10 wget http://ipinfo.io/ip -qO -}${goto 275}${font DejaVu Sans:size=9}⩫${font}${goto 292}Location: ${alignr}${execi 10 curl -s http://ip-api.com/json | jq -r .country}
${font FontAwesome:size=9}${font}${goto 32}${wireless_link_bar 3,178 wlp2s0}${goto 218}${wireless_link_qual_perc wlp2s0}%${goto 275}Today${goto 352}${execi 10 vnstat -i wlp2s0 | grep "today" | awk '{print $2 $3}'}${goto 420}${font FontAwesome:size=9}${font}${goto 446}${execi 10 vnstat -i wlp2s0 | grep "today" | awk '{print $5 $6}'}${alignr}${font FontAwesome:size=9}${font}
WiFi Bitrate: ${wireless_bitrate wlp2s0} ${goto 136}| Link Quality: ${wireless_link_qual wlp2s0}/${wireless_link_qual_max wlp2s0}${goto 275}${time %B}${goto 352}${execi 10 vnstat -i wlp2s0 -m | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}${goto 420}${font FontAwesome:size=9}${font}${goto 446}${execi 10 vnstat -i wlp2s0 -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}${alignr}${font FontAwesome:size=9}${font}
${color D64937}${font FontAwesome:size=14} ${font}${color}${font Ubuntu:bold:size=9}INBOUND: ${tcp_portmon 1 32767 count}/${tcp_portmon 1 65535 count}${font}${goto 275}${color D64937}${font FontAwesome:size=14} ${font}${color}${font Ubuntu:bold:size=9}OUTBOUND: ${tcp_portmon 32768 61000 count}/${tcp_portmon 1 65535 count}${font}
${tcp_portmon 32767 61000 lhost 0}${goto 275}${tcp_portmon 32768 61000 rhost 0}${font FontAwesome:size=9} ${font}
${tcp_portmon 32767 61000 lhost 1}${goto 275}${tcp_portmon 32768 61000 rhost 1}${font FontAwesome:size=9} ${font}
${tcp_portmon 32767 61000 lhost 2}${goto 275}${tcp_portmon 32768 61000 rhost 2}${font FontAwesome:size=9} ${font}
${tcp_portmon 32767 61000 lhost 3}${goto 275}${tcp_portmon 32768 61000 rhost 3}${font FontAwesome:size=9} ${font}
${tcp_portmon 32767 61000 lhost 4}${goto 275}${tcp_portmon 32768 61000 rhost 4}${font FontAwesome:size=9} ${font}
${tcp_portmon 32767 61000 lhost 5}${goto 275}${tcp_portmon 32768 61000 rhost 5}${font FontAwesome:size=9} ${font}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.