Skip to content

Instantly share code, notes, and snippets.

@darkodemic
Last active August 29, 2015 14:20
Show Gist options
  • Save darkodemic/e325ec926d113ae4cf9e to your computer and use it in GitHub Desktop.
Save darkodemic/e325ec926d113ae4cf9e to your computer and use it in GitHub Desktop.
Conky Setup
background yes
use_xft yes
xftfont Ubuntu:pixelsize=12
xftalpha 0.5
update_interval 1
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 260 5
maximum_width 260
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color grey
default_shade_color red
default_outline_color green
alignment top_right
gap_x 14
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
TEXT
System Info ${hr 2 }
${color #55aaff}$nodename$color - $sysname $kernel on $machine
${color #55aaff}Uptime:$color $uptime ${color lightgrey}${color #55aaff}
Load:$color $loadavg${color lightgrey}
${color #55aaff}CPU: ${color lightgrey}Intel Core i7-4790K @ $color${freq_g} GHz
Core 1: ${cpubar cpu1 6,160}$alignr ${execi 10 sensors | grep 'Core 0' | cut -c18-21}${iconv_start UTF-8 ISO_8859-1} °${iconv_stop}C
Core 2: ${cpubar cpu2 6,160}$alignr ${execi 10 sensors | grep 'Core 1' | cut -c18-21}${iconv_start UTF-8 ISO_8859-1} °${iconv_stop}C
Core 3: ${cpubar cpu3 6,160}$alignr ${execi 10 sensors | grep 'Core 2' | cut -c18-21}${iconv_start UTF-8 ISO_8859-1} °${iconv_stop}C
Core 4: ${cpubar cpu4 6,160}$alignr ${execi 10 sensors | grep 'Core 3' | cut -c18-21}${iconv_start UTF-8 ISO_8859-1} °${iconv_stop}C
GPU temp: $alignr ${execi 10 sensors | grep 'temp1' | cut -c16-19}${iconv_start UTF-8 ISO_8859-1} °${iconv_stop}C
CPU utilisation$alignr ${cpu cpu0}%
${cpubar cpu0}
${cpugraph 000000 ffffff}
Memory $alignc $mem / 8GiB $alignr $memperc%
$membar
Network ${hr 2}
Local IP: $alignr ${addr enp3s0}
External IP: $alignr ${execi 60 curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}
Download $alignr ${downspeed enp3s0} kb/s
${downspeedgraph enp3s0}
Upload $alignr ${upspeed enp3s0} kb/s
${upspeedgraph enp3s0}
Processes ${hr 2}
$processes processes ($running_processes running)
NAME ${alignr} PID CPU MEM
${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment