1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | background no
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1
total_run_times 0
own_window no
double_buffer yes
minimum_size 100 100
maximum_width 400
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
#default_shade_color black
default_outline_color white
alignment top_right
gap_x 10
gap_y 10
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
# lua_load /home/juanjo/conky/draw_bg.lua
# lua_draw_hook_pre draw_bg
TEXT
${font sans-serif:bold:size=8}${color eee}Time ${hr 2}${font sans-serif:normal:size=8}
$alignc${font sans-serif:bold:size=25}${color eee}${time %H:%M }${font sans-serif:normal:size=8}
${font sans-serif:bold:size=8}${color eee}Date ${hr 2}${font sans-serif:normal:size=8}
$alignc${font sans-serif:bold:size=17}${color eee}${time %d.%m.%y }${font sans-serif:normal:size=8}
${font sans-serif:bold:size=8}${color eee}CPU ${hr 2}${font sans-serif:normal:size=8}
CPU0: ${cpu cpu0}% ${cpubar cpu0}
CPU1: ${cpu cpu1}% ${cpubar cpu1}
CPU2: ${cpu cpu2}% ${cpubar cpu2}
CPU3: ${cpu cpu3}% ${cpubar cpu3}
Temperatur ${execi 8 sensors | grep 'Core 0' | cut -c16-24 | sed '/^$/d'}
${font sans-serif:bold:size=8}${color eee}MEMORY ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar
${font sans-serif:bold:size=8}${color eee}DISK ${hr 2}
${font sans-serif:normal:size=8}Root $alignc ${fs_used /} / ${fs_size /} $alignr${fs_used_perc /}%
${fs_bar /}
${font sans-serif:normal:size=8}Home $alignc ${fs_used /home} / ${fs_size /home} $alignr${fs_used_perc /home}%
${fs_bar /home}
${font sans-serif:normal:size=8}Backup $alignc ${fs_used /media/malte/Backup} / ${fs_size /media/malte/Backup} $alignr${fs_used_perc /media/malte/Backup}%
${fs_bar /media/malte/Backup}
${font sans-serif:bold:size=8}${color eee}Battery ${hr 2}
${font sans-serif:normal:size=8}Time: $alignc ${battery_time BAT1} $alignr${battery_percent BAT1}%
${battery_bar BAT1}
${font sans-serif:bold:size=8}${color eee}CMUS ${hr 2}
Titel : ${alignr}${execi 2 cmus-remote -Q 2>/dev/null | grep -w title | cut -d " " -f 3- }
Artist : ${alignr}${execi 2 cmus-remote -Q 2>/dev/null | grep -w artist | cut -d " " -f 3- }
Album : ${alignr}${execi 2 cmus-remote -Q 2>/dev/null | grep -w album | cut -d " " -f 3- }
|
x
Notes
some easy conky config, hope you like it