Skip to content

Instantly share code, notes, and snippets.

@JuanjoSalvador
Last active December 1, 2016 01:11
Show Gist options
  • Select an option

  • Save JuanjoSalvador/208370969bb83bc8db88 to your computer and use it in GitHub Desktop.

Select an option

Save JuanjoSalvador/208370969bb83bc8db88 to your computer and use it in GitHub Desktop.
Utils Conky. Place it in /home/your-user/
# Minimal Conky conf
# By Juanjo Salvador (http://juanjosalvador.es)
background no
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1
total_run_times 0
own_window yes
own_window_title conky
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 128
double_buffer yes
minimum_size 100 100
maximum_width 220
draw_shades yes
draw_outline yes
draw_borders no
draw_graph_borders yes
default_color black
default_shade_color red
default_outline_color black
alignment top_right
gap_x 1140
gap_y 30
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
TEXT
${font sans-serif:bold:size=8}${color eee}SISTEMA ${hr 2}${font sans-serif:normal:size=8}
Distro: ${exec lsb_release -d | cut -f 2}
Kernel: ${exec uname -s} ${exec uname -r}
Uptime: ${exec uptime -p | cut -c 3-}
${font sans-serif:bold:size=8}${color eee}PROCESADORES ${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}
Temperatura ${execi 8 sensors | grep 'Core 0' | cut -c18-24 | sed '/^$/d'}
${font sans-serif:bold:size=8}${color eee}MEMORIA ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar
${font sans-serif:bold:size=8}${color eee}DISCOS ${hr 2}
${font sans-serif:normal:size=8}Raíz $alignc ${fs_used /} / ${fs_size /} $alignr${fs_used_perc /}%
${fs_bar /}
Home $alignc ${fs_used /home/YOUR-USER} / ${fs_size /home/YOUR-USER} $alignr ${fs_used_perc /home/YOUR-USER}%
${fs_bar /home/YOUR-USER}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment