Skip to content

Instantly share code, notes, and snippets.

@Zauberfisch
Created May 18, 2017 20:38
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 Zauberfisch/b79ff450fa1dcd27b6c645200eb821c4 to your computer and use it in GitHub Desktop.
Save Zauberfisch/b79ff450fa1dcd27b6c645200eb821c4 to your computer and use it in GitHub Desktop.
easy script to display system stats using inxi and conky
conky.config = {
alignment = 'bottom_left',
background = true,
color2 = '588078',
cpu_avg_samples = 2,
default_color = '80FFF9',
double_buffer = true,
font = 'Droid Sans Mono:size=12',
draw_shades = false,
gap_x = 25,
gap_y = 45,
minimum_width = 200,
no_buffers = true,
own_window = true,
own_window_type = 'override',
own_window_transparent = true,
update_interval = 2.0,
use_xft = true,
}
conky.text = [[
${execpi 60 inxi -F -c 3 | sed 's@\x03@__COLOR__@g'| sed 's@__COLOR__12@\${color2}@g' | sed -r 's@__COLOR__(04)?@\${color}@g' | sed 's@Battery\s@Battery:@' }
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment