Skip to content

Instantly share code, notes, and snippets.

@rsdiaz
Created September 5, 2020 14:46
Show Gist options
  • Save rsdiaz/ceb444f4bc4d87ec7488b01e10fb9926 to your computer and use it in GitHub Desktop.
Save rsdiaz/ceb444f4bc4d87ec7488b01e10fb9926 to your computer and use it in GitHub Desktop.
conky.config = {
gap_x = 15,
gap_y = 60,
alignment = 'top_right',
xinerama_head = 2,
background = false,
border_width = 0,
cpu_avg_samples = 4,
default_color = 'white',
default_outline_color = 'grey',
default_shade_color = 'black',
draw_borders = true,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=8',
maximum_width = 200,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
double_buffer = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_colour = '000000',
own_window_class = 'Conky',
own_window_argb_visual = true,
own_window_type = 'desktop',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
stippled_borders = 0,
text_buffer_size = 1024,
update_interval = 1,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
short_units = true,
color1 = '00618d',
}
conky.text = [[
${scroll 35 1 ${font Open Sans:Bold:size=8}Roberto Serrano | @Rovbeat | ${color1} https://www.robertoserrano.pro }
${color}${font Open Sans:Bold:size=8}SISTEMA ${color1} ${hr 3}$color
${voffset 8}${font}SYSTEM: ${font Open Sans:Bold:size=8}${alignr}Ubuntu 20.04
${voffset 3}${font}KERNEL: ${font Open Sans:Bold:size=8}$alignr $kernel
${voffset 3}${font}UPTIME: ${font Open Sans:Bold:size=8}$alignr $uptime_short
${color}${font Open Sans:Bold:size=8}INTEL i5-4300U${color1} ${hr 3}$color
${voffset 8}${font}FREQ: $alignr ${font Open Sans:Bold:size=8}${offset 1}${freq_g cpu0}GHz
${voffset 3}${voffset -2}${font}CPU1: ${cpu cpu1}%${color1}${alignc 35}${cpubar cpu1}${color}
${voffset 3}${voffset -2}${font}CPU2: ${cpu cpu2}%${color1}${alignc 35}${cpubar cpu2}${color}
${voffset 3}${voffset -2}${font}CPU3: ${cpu cpu3}%${color1}${alignc 35}${cpubar cpu3}${color}
${voffset 3}${voffset -2}${font}CPU4: ${cpu cpu4}%${color1}${alignc 35}${cpubar cpu4}${color}
TEMP: $alignr ${font Open Sans:Bold:size=8}${acpitemp}°C
${color}${font Open Sans:Bold:size=8}MEMORIA RAM${color1} ${hr 3}$color${font}
${voffset 8}${voffset -2}RAM:${goto 65}${font Open Sans:Bold:size=8}${mem} / ${memmax}${alignr}${memperc}%${font}
${color1}${membar}{$color}
${voffset 2}LIBRE:$alignr${font Open Sans:Bold:size=8}$memeasyfree${font}
${voffset 2}BUFFERS:$alignr${font Open Sans:Bold:size=8}$buffers${font}
${voffset 2}SWAP:${goto 65}${font Open Sans:Bold:size=8}${swapfree} / $cached${alignr}${swapperc}%${font}
${color1}${swapbar}
${color}${font Open Sans:Bold:size=8}SSD KINGSTON A400 256GB${color1} ${hr 3}$color${font}
${voffset 8}HOME:${goto 65}${font Open Sans:Bold:size=8}${fs_used /home/} / ${fs_size /home}${alignr}${fs_used_perc /home/}%${font}
${color1}${fs_bar /home/}${color}
${voffset 2}RAIZ:${goto 65}${font Open Sans:Bold:size=8}${fs_used /root/} / ${fs_size /root}${alignr}${fs_used_perc /root/}%${font}
${color1}${fs_bar /root/}${color}
${color}${font Open Sans:Bold:size=8}RED${color1} ${hr 3}$color${font}
${voffset 8}WLAN ESSID:${font Open Sans:Bold:size=8}${alignr}${wireless_essid wlp3s0}${font}
${voffset 2}WLAN SEÑAL:${font Open Sans:Bold:size=8}${alignr}${wireless_link_qual_perc wlp3s0}%${font}
${voffset 2}WLAN IP:${font Open Sans:Bold:size=8}${alignr}${addr wlp3s0}${font}
${voffset 2}SUBIDA: ${font Open Sans:Bold:size=8}${upspeedf wlp3s0}KB${font}${alignr}BAJADA: ${font Open Sans:Bold:size=8}${downspeedf wlp3s0}KB${font}
${upspeedgraph wlp3s0 32,90 00618d ffffff -l}${goto 110}${downspeedgraph wlp3s0 32,90 00618d ffffff -l}
${voffset 2}LAN IP:${font Open Sans:Bold:size=8}${alignr}${addr enp0s25}${font}
${color}${font Open Sans:Bold:size=8}PROCESOS${color1} ${hr 3}$color${font}
${voffset 8}${font Open Sans:Bold:size=8}Nombre ${font}${alignr}PID CPU% MEM%
${voffset 2}${top name 1}${alignr}${top pid 1} ${top cpu 1}${top mem 1}
${voffset 2}${top name 2}${alignr}${top pid 2} ${top cpu 2}${top mem 2}
${voffset 2}${top name 3}${alignr}${top pid 3} ${top cpu 3}${top mem 3}
${voffset 2}${top name 4}${alignr}${top pid 4} ${top cpu 4}${top mem 4}
${voffset 2}${top name 5}${alignr}${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