Skip to content

Instantly share code, notes, and snippets.

@pleonex
Created August 21, 2017 07:50
Show Gist options
  • Save pleonex/8f57552abb55ca23ea395b4d30f74737 to your computer and use it in GitHub Desktop.
Save pleonex/8f57552abb55ca23ea395b4d30f74737 to your computer and use it in GitHub Desktop.
My conky configuration tested in Fedora 26 with KDE
conky.config = {
-- -- Conky settings -- #
background = true,
update_interval = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 32768,
imlib_cache_size = 0,
-- -- Window specifications -- #
own_window = true,
own_window_type = 'normal',
own_window_argb_visual = true,
own_window_argb_value = 120,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_colour = '#000000',
minimum_width = 370,
minimum_height = 0,
border_inner_margin = 25,
border_outer_margin = 0,
alignment = 'bottom_right',
gap_x = 50,
gap_y = 75,
-- -- Graphics settings -- #
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
-- Conky on second monitor
xinerama_head = 2,
-- -- Text settings -- #
-- Ícones: ${font Conky Icons by Carelli:size=14}
use_xft = true,
font = 'Ubuntu Mono:size=12',
xftalpha = 0.8,
uppercase = false,
default_color = '#FFFFFF',
-- format_human_readable = true,
};
conky.text = [[
${color #000000}${font Conky Icons by Carelli:size=30}ƃ ${color}${font Conky Icons by Carelli:size=14}ǒ${font}${uptime} ${font FontAwesome}${font} ${time %d/%m/%y} ${font FontAwesome}${font} ${time %H:%M}
${hr 2}
${font}Fedora 26 | Battery: ${battery BAT1} ${battery_time BAT1} ${acpiacadapter}
${color #f8df58}${font Conky Icons by Carelli:size=14}E${goto 85}${font}WLAN${goto 225}${font}ETH${color}
${goto 50}${font Conky Icons by Carelli:size=14}Ƃ ${font}${goto 85}${upspeed wlp5s0}${goto 225}${upspeed enp3s0}
${goto 50}${font Conky Icons by Carelli:size=14}Ɓ ${font}${goto 85}${downspeed wlp5s0}${goto 225}${downspeed enp3s0}
${goto 50}${font Conky Icons by Carelli:size=14}h ${font}${goto 85}${addrs wlp5s0}${goto 225}${addrs enp3s0}
${goto 50}${font Conky Icons by Carelli:size=14}Ǘ ${font}${goto 85}${wireless_essid wlp5s0} : ${wireless_link_qual wlp5s0}%
${color #f8df58}${font Conky Icons by Carelli:size=14}i ${font}${curl ipinfo.io/ip 300}${color}
${color #f8df58}${font Conky Icons by Carelli:size=14}ň ${font}DISK sda${color}
${goto 50}${font Conky Icons by Carelli:size=14}ǘ ${font}${goto 85}${hddtemp} ºC
${goto 50}${font Conky Icons by Carelli:size=14}Ǒ ${font}${goto 85}Root:${goto 140}${fs_bar 7,75 /}${goto 225}${fs_free_perc /}%
${goto 50}${font Conky Icons by Carelli:size=14}Ǒ ${font}${goto 85}Lab:${goto 140}${fs_bar 7,75 /lab}${goto 225}${fs_free_perc /lab}%
${goto 50}${font Conky Icons by Carelli:size=14}Ǒ ${font}${goto 85}Store:${goto 140}${fs_bar 7,75 /store}${goto 225}${fs_free_perc /store}%
${goto 50}${font Conky Icons by Carelli:size=14}M ${font}${goto 85}Home:${goto 140}${fs_bar 7,75 /home}${goto 225}${fs_free_perc /home}%
${goto 50}Read: ${diskio_read /dev/sda}${goto 225} Write: ${diskio_write /dev/sda}
${goto 50}${diskiograph_read /dev/sda 20,80 2216e1 2216e1}${goto 225}${diskiograph_write /dev/sda 20,80 DD3A21 DD3A21}
${color #f8df58}${font Conky Icons by Carelli:size=14}Ŵ ${font}CPU${color}
${goto 50}${font Conky Icons by Carelli:size14}ǘ ${font}${goto 85}${acpitemp} ºC
${goto 50}${cpu cpu0}%${goto 92}${cpubar 7,80 cpu0}${goto 225}${cpu cpu0}%${goto 267}${cpubar 7,80 cpu4}
${goto 50}${cpu cpu1}%${goto 92}${cpubar 7,80 cpu1}${goto 225}${cpu cpu0}%${goto 267}${cpubar 7,80 cpu5}
${goto 50}${cpu cpu2}%${goto 92}${cpubar 7,80 cpu2}${goto 225}${cpu cpu0}%${goto 267}${cpubar 7,80 cpu6}
${goto 50}${cpu cpu3}%${goto 92}${cpubar 7,80 cpu3}${goto 225}${cpu cpu0}%${goto 267}${cpubar 7,80 cpu7}
${color #f8df58}${font Conky Icons by Carelli:size=14}B ${font}MEMORY${color}${font}
${goto 50}RAM:${goto 92}$memperc%${goto 126}${membar 7,80}
${goto 50}SWAP:${goto 92}$swapperc%${goto 126}${swapbar 7,80}
${color #f8df58}${font Conky Icons by Carelli:size=14}Ŷ ${font}PROCESSES
${goto 40}Name ${goto 170}PID${goto 225}CPU${goto 280}MEM${color}
${goto 40}${top name 1} ${goto 170}${top pid 1}${goto 225}${top cpu 1}${goto 280}${top mem 1}
${goto 40}${top name 2} ${goto 170}${top pid 2}${goto 225}${top cpu 2}${goto 280}${top mem 2}
${goto 40}${top name 3} ${goto 170}${top pid 3}${goto 225}${top cpu 3}${goto 280}${top mem 3}
${goto 40}${top name 4} ${goto 170}${top pid 4}${goto 225}${top cpu 4}${goto 280}${top mem 4}
${goto 40}${top name 5} ${goto 170}${top pid 5}${goto 225}${top cpu 5}${goto 280}${top mem 5}
]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment