Skip to content

Instantly share code, notes, and snippets.

@GrapsasFilippos
Created June 17, 2019 14:17
Show Gist options
  • Save GrapsasFilippos/98aef2c334fa40cbe2652f3cfa76593f to your computer and use it in GitHub Desktop.
Save GrapsasFilippos/98aef2c334fa40cbe2652f3cfa76593f to your computer and use it in GitHub Desktop.
conky.config = {
minimum_width = 1350,
minimum_height = 15,
double_buffer = true,
own_window = true,
own_window_argb_visual = true,
own_window_class = 'ConkyAbove',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_transparent = true,
own_window_type = 'dock',
alignment = 'top_right',
gap_x = 0,
gap_y = 0,
update_interval = 1.0,
pad_percents = 0,
use_spacer = left,
font = 'Droid Sans Mono:size=2'
}
conky.text = [[
${execi 3600 id -u -n}@$color${nodename} | \
${color grey}CPU (${execi 3600 /usr/bin/nproc}): $color$cpu% ${cpugraph 10,50 ffffff ffffff} | \
${color grey}Load: $color$loadavg | \
${color grey}Procs.: $color$running_processes/$processes | \
${color grey}CPU/GPU@Fan: $color${execi 5 /usr/bin/sh -c '/usr/bin/sensors | sed -n "s/Tdie:\s*\([^°]*°C\)\s*(h.*/\1/p"'} / \
${execi 5 /usr/bin/sh -c '/usr/bin/sensors | sed -n "s/temp1:\s*\([^°]*°C\)\s*(c.*/\1/p"'} @ \
${execi 5 /usr/bin/sh -c '/usr/bin/sensors | sed -n "s/fan1:\s*\([0-9]*\).*/\1/p"'}RPM |\
${color grey}RAM: $color$memperc% | \
${color grey}Swap: $color$swapperc% | \
${color gray}Down: $color${downspeed enp37s0} ${downspeedgraph enp37s0 10,50 ffffff ffffff} | ${color gray}Up: $color${upspeed enp37s0} ${upspeedgraph enp37s0 10,50 ffffff ffffff} | \
${time %H:%M:%S %d.%m.%Y}
]]
#!/bin/bash
/usr/bin/conky --daemonize --pause=10 -c /home/username/.conkyrc-above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment