Updating since conky changed their config file format
conky.config = { | |
background = true, | |
update_interval = 1, | |
cpu_avg_samples = 1, | |
net_avg_samples = 2, | |
temperature_unit = 'celsius', | |
double_buffer = true, | |
no_buffers = true, | |
text_buffer_size = 2048, | |
override_utf8_locale = true, | |
use_xft = true, | |
font = 'caviar dreams:size=9', | |
xftalpha = 0.5, | |
uppercase = false, | |
gap_x = 0, | |
gap_y = 37, | |
minimum_width = 370, minimum_height = 1080, | |
maximum_width = 370, | |
own_window = true, | |
own_window_class = 'Conky', | |
own_window_type = 'dock', | |
own_window_transparent = true, | |
own_window_argb_visual = true, | |
--own_window_colour 2A3138 | |
own_window_argb_value = 0, | |
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below', | |
border_inner_margin = 0, | |
border_outer_margin = 0, | |
alignment = 'top_right', | |
draw_shades = false, | |
draw_outline = false, | |
draw_borders = false, | |
draw_graph_borders = false, | |
-- Defining colors | |
default_color = '#FFFFFF', | |
-- Shades of Gray | |
--color1 DDDDDD | |
--color2 AAAAAA | |
--color3 888888 | |
color1 = '#00B393', | |
color2 = '#00957A', | |
color3 = '#007762', | |
-- Blue | |
color4 = '#00D1AB', | |
-- Violet | |
color5 = '#00D1AB', | |
color6 = '#FFFFFF', | |
color7 = '#666666', | |
-- Loading lua script for drawning rings | |
--lua_load ./seamod_rings.lua | |
--lua_draw_hook_post main | |
--# System information using conky capabilities | |
}; | |
conky.text = [[ | |
${voffset 1} | |
${offset 15}${font weight:bold}${color4}SYSTEM ${font}${hr 2} | |
${offset 30}${voffset 5}${color0}$sysname $kernel $machine | |
${offset 30}${color0}$nodename | |
${offset 30}${color0}Temperature:${alignr}${offset -15}${color4}${acpitemp}°C | |
${offset 30}${color0}Uptime:${alignr}${offset -15}${color4}$uptime | |
${offset 30}${color0}Load:${alignr}${offset -15}${color4}$loadavg | |
#${offset 30}${color0}Ethernet:${color0}${alignr}${offset -15}${color4}${addr eno1} | |
${offset 30}${color0}WiFi:${color0}${alignr}${offset -15}${color4}${addr wlan0} | |
${offset 30}${color0}Public:${color0}${alignr}${offset -15}${color4}${execi 3600 wget -q -O /dev/stdout http://checkip.dyndns.org/ | cut -d : -f 2- | cut -d \< -f -1} | |
# Showing CPU Graph | |
${offset 15}${font weight:bold}${color4}CPU (${freq_g} GHz) ${font}${hr 2} | |
${offset 30}${cpugraph 73,320 FFFFFF FFFFFF} | |
${voffset -8}${offset 30}${color7}${cpubar cpu0 6,50 FFFFFF}${offset 4}${cpubar cpu1 6,50 FFFFFF}${offset 4}${cpubar cpu2 6,50 FFFFFF}${offset 4}${cpubar cpu3 6,50 FFFFFF}${offset 4}${color6}${cpubar cpu4 6,50 FFFFFF}${offset 4}${cpubar cpu5 6,50 FFFFFF} | |
# Showing TOP 7 CPU-consumers | |
${offset 30}${voffset 5}${color6}Total${alignr}${offset -15}${cpu}% | |
${offset 30}${color5}${top name 1}${alignr}${offset -15}${top cpu 1}% | |
${offset 30}${color1}${top name 2}${alignr}${offset -15}${top cpu 2}% | |
${offset 30}${color2}${top name 3}${alignr}${offset -15}${top cpu 3}% | |
${offset 30}${color2}${top name 4}${alignr}${offset -15}${top cpu 4}% | |
${offset 30}${color3}${top name 5}${alignr}${offset -15}${top cpu 5}% | |
${offset 30}${color3}${top name 6}${alignr}${offset -15}${top cpu 6}% | |
${offset 30}${color3}${top name 7}${alignr}${offset -15}${top cpu 7}% | |
# Showing memory part with TOP 7 | |
${offset 15}${font weight:bold}${color4}RAM (${memmax}) ${font}${hr 2} | |
${offset 30}${memgraph 73,320 FFFFFF FFFFFF} | |
${offset 30}${color6}Total${alignr}${offset -15}${memperc}% | |
${offset 30}${color5}${top_mem name 1}${alignr}${offset -15}${top_mem mem 1}% | |
${offset 30}${color1}${top_mem name 2}${alignr}${offset -15}${top_mem mem 2}% | |
${offset 30}${color2}${top_mem name 3}${alignr}${offset -15}${top_mem mem 3}% | |
${offset 30}${color2}${top_mem name 4}${alignr}${offset -15}${top_mem mem 4}% | |
${offset 30}${color3}${top_mem name 5}${alignr}${offset -15}${top_mem mem 5}% | |
${offset 30}${color3}${top_mem name 6}${alignr}${offset -15}${top_mem mem 6}% | |
${offset 30}${color3}${top_mem name 7}${alignr}${offset -15}${top_mem mem 7}% | |
# Showing disk partitions: root, home and Data | |
${offset 15}${font weight:bold}${color4}DISKS ${font}${hr 2} | |
${offset 30}${diskiograph 73,320 FFFFFF FFFFFF} | |
${offset 30}${font weight:bold}${color4}eMMC ${alignr}${offset -15}${fs_size /}${font} | |
${offset 30}${color6}${fs_bar 6,320 /} | |
${offset 30}${color0}Used: ${fs_used /}${alignr}${offset -15}Free: ${fs_free /} | |
${offset 30}${font weight:bold}${color4}SD ${alignr}${offset -15}${fs_size /home/jason/PBP_Home} ${font} | |
${offset 30}${color6}${fs_bar 6,320 /home/jason/PBP_Home} | |
${offset 30}${color0}Used: ${fs_used /home/jason/PBP_Home}${alignr}${offset -15}Free: ${fs_free /home/jason/PBP_Home} | |
# Network data (my desktop have only LAN). ETHERNET ring is mostly useless but looks pretty, main info is in the graphs | |
${offset 15}${font weight:bold}${color4}WIFI (wlan0) ${font}${hr 2} | |
${offset 30}${voffset 5}${color0}${wireless_essid wlan0}${alignr}${offset -15}${wireless_bitrate wlan0} | |
${offset 30}${color6}${wireless_link_bar 6,320 wlp0s20f0u2} | |
${offset 30}${upspeedgraph wlan0 40,320 FFFFFF FFFFFF 100 -l} | |
${offset 30}${color0}Upload: ${alignr}${offset -15}${color4}${upspeed wlan0} / ${totalup wlan0} | |
${offset 30}${downspeedgraph wlan0 40,320 FFFFFF FFFFFF 100 -l} | |
${offset 30}${color0}Download: ${alignr}${offset -15}${color5}${downspeed wlan0} / ${totaldown wlan0} | |
]]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment