Skip to content

Instantly share code, notes, and snippets.

@fenimore
Created December 18, 2017 16:52
Show Gist options
  • Save fenimore/e5b9acb7ab99382568e45ff1b0f36220 to your computer and use it in GitHub Desktop.
Save fenimore/e5b9acb7ab99382568e45ff1b0f36220 to your computer and use it in GitHub Desktop.
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 = 'desktop',
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 = 700,
border_inner_margin = 25,
border_outer_margin = 0,
alignment = 'bottom_right',
gap_x = 50,
gap_y = 50,
-- -- 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}
${hr 2}
${font}${distribution} - ${kernel}
${color #f8df58}${font Conky Icons by Carelli:size=14}i ${font}${exec curl ipinfo.io/ip}${color}
#${color #f8df58}${font Conky Icons by Carelli:size=14}E${goto 85}${font}UP${goto 225}${font}DOWN${color}
${goto 50}${font Conky Icons by Carelli:size=14}Ƃ ${font}${goto 85}${upspeed wlp58s0}${goto 200}${font Conky Icons by Carelli:size=14}Ɓ ${font}${downspeed wlp58s0}
${goto 50}${font Conky Icons by Carelli:size=14}h ${font}${goto 85}${addrs wlp58s0}
${goto 50}${font Conky Icons by Carelli:size=14}Ǘ ${font}${goto 85}${wireless_essid wlp58s0} : ${wireless_link_qual wlp58s0}%
#${goto 50}${font Conky Icons by Carelli:size=14}Ɓ ${font}${goto 85}${downspeed wlp58s0}${goto 225}${downspeed wlp58s0}
# Temp doesn't word for Nvme solid state drive
#${goto 50}${font Conky Icons by Carelli:size=14}ǘ ${font}${goto 85}sda: ${hddtemp} ºC sdb: ${hddtemp /dev/sdb} ºC
${color #f8df58}${font Conky Icons by Carelli:size=14}ň ${font}DISK${color}
${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}M ${font}${goto 85}Dados:${goto 140}${fs_bar 7,75 /mnt/Home}${goto 225}${fs_free_perc /mnt/Home}%
# Disk IO
${goto 50}nvme read: ${diskio_read /dev/nvme0n1p1}${goto 225} nvme write: ${diskio_write /dev/nvme0n1p1}
${goto 50}${diskiograph_read /dev/nvme0n1p1 20,80 2216e1 2216e1}${goto 225}${diskiograph_write /dev/nvme0n1p1 20,80 DD3A21 DD3A21}
${color #f8df58}${font Conky Icons by Carelli:size=14}Ŵ ${font}CPU${voffset -5.5}${goto 225}${font Conky Icons by Carelli:size=14}B ${font}MEMORY${color}${font}
${goto 50}${cpu cpu0}%${goto 92}${cpubar 7,80 cpu0}${goto 225}RAM:${goto 268}$memperc%${goto 302}${membar 7,80}
${goto 50}${cpu cpu1}%${goto 92}${cpubar 7,80 cpu1}${goto 225}SWAP:${goto 268}$swapperc%${goto 302}${swapbar 7,80}
${goto 50}${cpu cpu2}%${goto 92}${cpubar 7,80 cpu2}
${goto 50}${cpu cpu3}%${goto 92}${cpubar 7,80 cpu3}
${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