Skip to content

Instantly share code, notes, and snippets.

@cemdrk
Last active January 24, 2020 13:58
Show Gist options
  • Save cemdrk/51d792ab5eb8ae82a8581e8e236a5637 to your computer and use it in GitHub Desktop.
Save cemdrk/51d792ab5eb8ae82a8581e8e236a5637 to your computer and use it in GitHub Desktop.
simple conkyrc
conky.config = {
background=true,
alignment='top_right',
use_xft = true,
font = 'DejaVu Sans Mono:size=10',
double_buffer=true,
own_window=true,
own_window_transparent=true,
own_window_argb_visual=true,
own_window_class='normal',
own_window_hints='undecorated,below,sticky,skip_taskbar,skip_pager'
}
conky.text = [[
Battery
$hr
Power: ${battery_percent}% $alignr${battery_bar BAT0}
Time:$alignr${battery_time BAT0}
RAM
$hr
$memperc% $alignr$mem/$memmax
Swap
$hr
$swapperc% $alignr$swap/$swapmax
CPU
$hr
${cpu cpu1}% $alignr${cpubar cpu1}
${cpu cpu2}% $alignr${cpubar cpu2}
${cpu cpu3}% $alignr${cpubar cpu3}
${cpu cpu4}% $alignr${cpubar cpu4}
${cpu cpu5}% $alignr${cpubar cpu5}
${cpu cpu6}% $alignr${cpubar cpu6}
${cpu cpu7}% $alignr${cpubar cpu7}
${cpu cpu8}% $alignr${cpubar cpu8}
File System
$hr
$fs_used_perc% $alignr$fs_used/$fs_size
Network
$hr
UP:$alignr${upspeed wlp5s0} ${totalup wlp5s0}
${upspeedgraph wlp5s0}
DOWN:$alignr${downspeed wlp5s0} ${totaldown wlp5s0}
${downspeedgraph wlp5s0}
Processes
$hr
Name PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${top name 5} ${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