Skip to content

Instantly share code, notes, and snippets.

@nrobinson2000
Last active October 1, 2018 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nrobinson2000/1c44675eecb42896a2a1b119fbdccc31 to your computer and use it in GitHub Desktop.
Save nrobinson2000/1c44675eecb42896a2a1b119fbdccc31 to your computer and use it in GitHub Desktop.
My .conkyrc
# Conky configuration
background no
use_xft yes
xftfont Monospace:size=9
xftalpha 0
out_to_console no
update_interval 1
total_run_times 0
own_window yes
own_window_type desktop
own_window_argb_visual yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 0
border_width 1
default_color white
default_shade_color white
default_outline_color white
alignment top_right
gap_x 15
gap_y 40
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer none
TEXT
${color}$alignc$sysname $kernel on $machine
${color white}$alignc${exec whoami} @ $nodename
$color$stippled_hr
${color}Date: ${color white}${time %A,%d %B}
${color}Time: ${color white}${time %k:%M:%S}${alignr}${color}Uptime: ${color white}$uptime
$color$stippled_hr
${color}CPU:${color white} ${cpu cpu1}% ${cpubar cpu1}
${color}RAM:${color white} $memperc% $mem/$memmax $membar
${color}Swap: ${color white}$swapperc% $swap/$swapmax ${swapbar}
$color$stippled_hr
${color}${alignc}Processes
${color white}Total:$color $processes ${color white}Running:$color $running_processes
${color white} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color white} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color white} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color white} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 3} ${top_mem mem 3}
${color white} ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
$color$stippled_hr
${alignc}${color}Partitions
${color}SSD: ${color white} ${fs_used_perc /}% ${fs_used /}/${fs_size /} ${fs_bar /}
$color$stippled_hr
${alignc}${color}Temperatures
${alignc}${color}CPU: ${hwmon 1 temp 1}°C
${alignc}${color}GPU: ${execi 5 nvidia-settings -query [gpu:0]/GPUCoreTemp -t}°C
${color}$stippled_hr
${alignc}${color}Power
${alignc}${color}BATT: ${execi 5 cat /sys/class/power_supply/BAT0/capacity}%
${alignc}${color}STATUS: ${execi 5 cat /sys/class/power_supply/BAT0/status}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment