Skip to content

Instantly share code, notes, and snippets.

@u8sand
Created August 26, 2016 15:58
Show Gist options
  • Save u8sand/1e5b63054c291e085c14f7e031b00dc8 to your computer and use it in GitHub Desktop.
Save u8sand/1e5b63054c291e085c14f7e031b00dc8 to your computer and use it in GitHub Desktop.
My conky configuration
background yes
font Inconsolata:size=9
use_xft yes
xftalpha 0.8
update_interval 2.5
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_class conky
double_buffer yes
minimum_size 220 5
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color ffffff
default_shade_color 000000
alignment middle_right
gap_x 12
gap_y 15
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
TEXT
${color white}SYSTEM ${hr 1}${color}
Hostname: $alignr$nodename
Kernel: $alignr$kernel
Uptime: $alignr$uptime
CPU: ${alignr}${freq} MHz
GPU: ${alignr} ${nvidia gpufreq} MHz
Temp: ${alignr}${execi 8 sensors | perl -lan -e'if(/^Core \d: +\+(\d+.\d)/) { $s+=$1; $c++; } END { printf("%.0f", $s/$c) }'}C
GPU Temp: ${alignr} ${nvidia temp}C
Processes: ${alignr}${processes}
Load: ${alignr}${loadavg}
CPU1 ${cpu cpu1}% ${alignr}CPU7 ${cpu cpu7}%
${cpugraph cpu1 25,97 00ff00 ff0000 -t}${alignr}${cpugraph cpu7 25,97 00ff00 ff0000 -t}
CPU2 ${cpu cpu2}% ${alignr}CPU8 ${cpu cpu8}%
${cpugraph cpu2 25,97 00ff00 ff0000 -t} ${alignr}${cpugraph cpu8 25,97 00ff00 ff0000 -t}
CPU3 ${cpu cpu3}% ${alignr}CPU9 ${cpu cpu9}%
${cpugraph cpu3 25,97 00ff00 ff0000 -t} ${alignr}${cpugraph cpu9 25,97 00ff00 ff0000 -t}
CPU4 ${cpu cpu4}% ${alignr}CPU10 ${cpu cpu10}%
${cpugraph cpu4 25,97 00ff00 ff0000 -t} ${alignr}${cpugraph cpu10 25,97 00ff00 ff0000 -t}
CPU5 ${cpu cpu5}% ${alignr}CPU11 ${cpu cpu11}%
${cpugraph cpu5 25,97 00ff00 ff0000 -t} ${alignr}${cpugraph cpu11 25,97 00ff00 ff0000 -t}
CPU6 ${cpu cpu6}% ${alignr}CPU12 ${cpu cpu12}%
${cpugraph cpu6 25,97 00ff00 ff0000 -t} ${alignr}${cpugraph cpu12 25,97 00ff00 ff0000 -t}
Ram ${alignr}$mem / $memmax ($memperc%)
${membar}
Swap ${alignr}$swap / $swapmax ($swapperc%)
${swapbar}
/tmp ${alignr}${fs_used /tmp} / ${fs_size /tmp} (${fs_used_perc /tmp}%)
${fs_bar /tmp}
Highest CPU $alignr CPU% MEM%
${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 3}${top mem 3}
${top name 4}$alignr${top cpu 4}${top mem 4}
${top name 5}$alignr${top cpu 5}${top mem 5}
Highest MEM $alignr CPU% MEM%
${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}
${top_mem name 4}$alignr${top_mem cpu 4}${top_mem mem 4}
${top_mem name 5}$alignr${top_mem cpu 5}${top_mem mem 5}
${color white}Filesystem ${hr 1}${color}
/ ${alignr} ${fs_free /}
${fs_bar /}
${alignc}${fs_used /} / ${fs_size /} (${fs_used_perc /}%)
/boot ${alignr} ${fs_free /boot}
${fs_bar /boot}
${alignc}${fs_used /boot} / ${fs_size /boot} (${fs_used_perc /boot}%)
/home ${alignr}${fs_free /home}
${fs_bar /home}
${alignc}${fs_used /home} / ${fs_size /home} (${fs_used_perc /home}%)
${color white}NETWORK ${hr 1}${color}
IP: ${addr eth0}$alignr${wireless_bitrate eth0}
Down ${downspeed eth0}${alignr}Up ${upspeed eth0}
${downspeedgraph eth0 25,97 00ff00 ff0000 10000 -l -t}${alignr}${upspeedgraph eth0 25,97 00ff00 ff0000 10000 -l -t}
Total ${totaldown eth0}${alignr}Total ${totalup eth0}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment