Skip to content

Instantly share code, notes, and snippets.

@lig
Last active January 19, 2018 06:45
Show Gist options
  • Save lig/5969412 to your computer and use it in GitHub Desktop.
Save lig/5969412 to your computer and use it in GitHub Desktop.
Conky config. Gnome 3 compatible.
conky.config = {
alignment = 'tl',
background = true,
border_width = 1,
default_bar_width = 256, default_bar_height = 4,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'black',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = true,
use_xft = true,
font = 'Terminus:size=15',
gap_x = 1330, gap_y = 90,
no_buffers = true,
stippled_borders = 0,
update_interval = 2.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
own_window = true,
own_window_type = 'normal',
own_window_argb_visual = true,
own_window_argb_value = 255,
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_class = 'Conky',
};
conky.text = [[
$sysname $kernel $uptime
$freq_g ${hwmon 0 temp 1} ${hwmon 1 temp 1}
cpu ${cpubar} $running_processes/$processes
mem ${membar} $mem/$memmax
swp ${swapbar} $swap/$swapmax
/ ${fs_bar /} ${fs_used /}/${fs_size /}
/h. ${fs_bar /home} ${fs_used /home}/${fs_size /home}
$hr
sda ${diskiograph /dev/sda 18,256 333333 ffffff -t} ${diskio /dev/sda}
$hr
${top name 1} ${top pid 1} ${top time 1} ${top cpu 1}
${top name 2} ${top pid 2} ${top time 2} ${top cpu 2}
${top name 3} ${top pid 3} ${top time 3} ${top cpu 3}
${top name 4} ${top pid 4} ${top time 4} ${top cpu 4}
$hr
${top_mem name 1} ${top_mem pid 1} ${top_mem mem_vsize 1} ${top_mem mem_res 1}
${top_mem name 2} ${top_mem pid 2} ${top_mem mem_vsize 2} ${top_mem mem_res 2}
${top_mem name 3} ${top_mem pid 3} ${top_mem mem_vsize 3} ${top_mem mem_res 3}
${top_mem name 4} ${top_mem pid 4} ${top_mem mem_vsize 4} ${top_mem mem_res 4}
$hr
${wireless_essid wlp2s0} ${wireless_link_bar wlp2s0}
]];
[Desktop Entry]
Type=Application
Name=Conky
Comment=Start conky
Exec=conky -d
OnlyShowIn=GNOME;
X-GNOME-Autostart-Phase=Application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment