Last active
November 3, 2021 07:48
-
-
Save marcandreuf/a9df9fc8297f25fe98be4568c66b590a to your computer and use it in GitHub Desktop.
My conky configuration.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Based on https://gist.github.com/arturjnt | |
conky.config ={ | |
-- CONKY SETTINGS | |
background = true, | |
update_interval = 1, | |
total_run_times = 0, | |
cpu_avg_samples = 2, | |
net_avg_samples = 2, | |
override_utf8_locale = true, | |
double_buffer = true, | |
no_buffers = true, | |
text_buffer_size = 32768, | |
-- CONKY: WINDOW SPECIFICATIONS | |
own_window = true, | |
own_window_argb_value = 192, | |
own_window_argb_visual = true, | |
own_window_class = 'conky-semi', | |
own_window_colour = '#0b0d18', | |
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', | |
-- own_window_transparent = true, | |
own_window_transparent = false, | |
own_window_type = 'normal', | |
-- own_window_type = 'desktop', | |
border_inner_margin = 6, | |
border_width = 5, | |
minimum_height = 630, | |
minimum_width = 280, | |
maximum_width = 280, | |
alignment = 'top_right', | |
gap_x = 300, | |
gap_y = 40, | |
-- GRAPHICS SETTINGS | |
draw_shades = false, | |
draw_outline = true, | |
draw_borders = false, | |
draw_graph_borders = true, | |
-- draw_graph_borders = false, | |
-- TEXT SETTINGS | |
use_xft = true, | |
font = 'Montserrat Regular:size=10', | |
xftalpha = 0.2, | |
uppercase = false, | |
-- Pad percentages to this many decimals (0 = no padding) | |
pad_percents = 2, | |
-- COLOUR SETTINGS | |
default_color = 'AAAAAA', | |
default_shade_color = '333333', | |
-- default_outline_color = '111111', | |
default_outline_color = '010101', | |
color1 = '999999', | |
color2 = 'CCCCCC', | |
color3 = 'EEEEEE', | |
color4 = '444444', | |
color5 = '555555', | |
color6 = '666666', | |
color7 = '3b71a1', | |
}; | |
conky.text = [[ | |
${alignc}${color1}${font Montserrat Bold:size=18}${tztime Asia/Seoul %T} KST${font}${color}${alignc} | |
${alignc}${color1}${font Montserrat Bold:size=15}${tztime CET %T} CET${font}${color}${alignc} | |
${alignc}${color1}${font Montserrat Bold:size=12}${tztime GMT %T} GMT${font}${color}${alignc} | |
${voffset -9} | |
${alignc}${font Montserrat Light:size=10}${time %A %d %B %Y}${font}${alignc} | |
${voffset -6} | |
${font Montserrat Light:size=8}${color1}KERNEL:${color}${font} ${alignr}$kernel ${voffset 5} | |
${font :size=11}${color}CPUs ${color}${hr 2}${color} | |
${voffset -15} | |
${font Montserrat Light:size=9}${color1}01 - 04:${color}${font} ${goto 100}${cpu cpu1}% ${goto 150}${cpu cpu2 }% ${goto 200}${cpu cpu3 }% ${goto 250}${cpu cpu4 }% | |
${voffset -8} | |
${font Montserrat Light:size=9}${color1}CPU TEMP:${color}${font} ${font :size=10}${alignr}${hwmon 1 temp 1}°${color4}C${color}${voffset 5} | |
${font :size=11}${color}Network ${color}${hr 2}${color} | |
${voffset -15} | |
${font Montserrat Light:size=10}${color1}External IP:$color}${font} ${alignr}${execi 1000 wget -q -O- http://ipecho.net/plain; echo} | |
${font Montserrat Light:size=10}${color1}ETH IP ADRSS:${color}${font} ${alignr}${addr enp0s25} | |
${font Montserrat Light:size=10}${color1}WIFI IP ADRSS:${color}${font} ${alignr}${addr wlp3s0} | |
${if_match "${addr enp0s25}"!="No Address"}${voffset 5}${font Montserrat Light:size=10}${font}ETH Download ${alignr}${downspeedf enp0s25}k/s (${totaldown enp0s25}) | |
${color3}${downspeedgraph enp0s25 50,280 ADFF2F 32CD32 -t} | |
${font Montserrat Light:size=10}${font}ETH Upload ${alignr}${upspeedf enp0s25}k/s (${totalup enp0s25}) | |
${color3}${upspeedgraph enp0s25 50,280 FF0000 8B0000 -t} | |
${else} | |
${if_match "${addr wlp3s0}"!="No Address"}${voffset 5}${font Montserrat Light:size=10}${font}WIFI Download ${alignr}${downspeedf wlp3s0}k/s (${totaldown wlp3s0}) | |
${color3}${downspeedgraph wlp3s0 50,280 ADFF2F 32CD32 -t} | |
${font Montserrat Light:size=10}${font}WIFI Upload ${alignr}${upspeedf wlp3s0}k/s (${totalup wlp3s0}) | |
${color3}${upspeedgraph wlp3s0 50,280 FF0000 8B0000 -t} | |
${endif}${endif}${voffset 5}${font :size=11}${color}HDD ${color}${hr 2}${color} | |
${color1}Used: ${color3}${fs_used /}${color1}${goto 200}Free:${goto 250}${color3}${fs_free /} | |
${color2}${fs_bar /} | |
${font :size=11}${color}Memory ${color}${hr 2}${color}${voffset 2} | |
$font${color DimGray}RAM $alignc $mem / $memmax $alignr ${color 188f18}$memperc% | |
${color 188f18}$membar${voffset 1} | |
${voffset 3}${font :size=11}${color}Processes ${color}${hr 2}${color} | |
${voffset -15} | |
${font :size=10}${font Montserrat Light:size=8}${color1}TOTAL:${color}${font} ${alignr}${processes} | |
${voffset -10} | |
${font Montserrat Light:size=9}${color1}APP NAME: ${goto 160}MEMORY: ${goto 245}CPU: ${color}${font} | |
${voffset -16} | |
${font Montserrat Light:size=9}${color1}${top_mem name 1} ${color}${font} ${goto 160}${top mem 1} % ${goto 235}${top cpu 1} % | |
${font Montserrat Light:size=9}${color1}${top_mem name 2} ${color}${font} ${goto 160}${top mem 2} % ${goto 235}${top cpu 2} % | |
${font Montserrat Light:size=9}${color1}${top_mem name 3} ${color}${font} ${goto 160}${top mem 3} % ${goto 235}${top cpu 3} % | |
${font Montserrat Light:size=9}${color1}${top_mem name 4} ${color}${font} ${goto 160}${top mem 4} % ${goto 235}${top cpu 4} % | |
]]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment