Add conky config
This commit is contained in:
parent
e3c1dc8ff8
commit
e5452f3724
1 changed files with 91 additions and 0 deletions
91
dot_config/conky/conky.config
Normal file
91
dot_config/conky/conky.config
Normal file
|
@ -0,0 +1,91 @@
|
|||
conky.config = {
|
||||
alignment = 'top_right',
|
||||
own_window = true,
|
||||
own_window_type = 'override',
|
||||
own_window_transparent = false, own_window_colour = "black",
|
||||
own_window_argb_visual = true,
|
||||
own_window_argb_value = 200,
|
||||
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
|
||||
double_buffer = true,
|
||||
background = false,
|
||||
border_width = 1,
|
||||
cpu_avg_samples = 2,
|
||||
default_color = 'white',
|
||||
default_outline_color = 'white',
|
||||
default_shade_color = 'grey50',
|
||||
draw_borders = true,
|
||||
draw_graph_borders = true,
|
||||
draw_outline = false,
|
||||
draw_shades = false,
|
||||
extra_newline = false,
|
||||
format_human_readable = true,
|
||||
gap_x = 15,
|
||||
gap_y = 45,
|
||||
font = 'FiraCode Nerd Font:style=Regular:size=9',
|
||||
use_xft = true,
|
||||
minimum_height = 5,
|
||||
minimum_width = 5,
|
||||
net_avg_samples = 2,
|
||||
no_buffers = true,
|
||||
out_to_console = false,
|
||||
out_to_stderr = false,
|
||||
extra_newline = false,
|
||||
stippled_borders = 0,
|
||||
update_interval = 5.0,
|
||||
uppercase = false,
|
||||
use_spacer = 'none',
|
||||
show_graph_scale = false,
|
||||
show_graph_range = false,
|
||||
if_up_strictness = 'address'
|
||||
};
|
||||
|
||||
conky.text = [[
|
||||
# Time and date
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=11}${color #88cc88} ${time %H:%M:%S}${alignr}${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=11}${color #88cc88} ${time %d/%m/%Y}
|
||||
${color orange}${voffset 2}${hr 1}${color}
|
||||
# System information
|
||||
${color #ad1a26}${font FiraCode Nerd Font:style=Regular:size=12}System${font}${color #ffffff}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} Kernel: ${kernel}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} Uptime: ${uptime}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} IP: ${if_up wlp4s0}${addr wlp4s0}${else}${if_up eno1}${addr eno1}${else}Offline${endif}${endif}
|
||||
${color orange}${voffset 2}${hr 1}${color}
|
||||
${color #ad1a26}${font FiraCode Nerd Font:style=Regular:size=12}CPU${font}${color #ffffff}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} Usage: ${cpu cpu0}%${alignr}${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} Temp: ${hwmon 5 temp 1}°C
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} Load: ${loadavg 1}${alignr}${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} Processes: ${processes}/${running_processes}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${cpugraph cpu0 40,0 000000 ff0000}${font}${color #88cc88}
|
||||
${color orange}${voffset 2}${hr 1}${color}
|
||||
# GPU
|
||||
${color #ad1a26}${font FiraCode Nerd Font:style=Regular:size=12}GPU${font}${color #ffffff}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} Usage: ${nvidia gpuutil}%${alignr}${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} Temp: ${nvidia temp}°C
|
||||
${color orange}${voffset 2}${hr 1}${color}
|
||||
# Memory
|
||||
${color #ad1a26}${font FiraCode Nerd Font:style=Regular:size=12}Memory${font}${color #ffffff}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} RAM: $memperc% ${membar 4}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${memgraph 40,0 000000 ff0000}${font}${color #88cc88}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} Swap: $swapperc% ${swapbar 4}
|
||||
${color orange}${voffset 2}${hr 1}${color}
|
||||
# Storage
|
||||
${color #ad1a26}${font FiraCode Nerd Font:style=Regular:size=12}Storage${font}${color #ffffff}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} ${fs_used_perc /}%
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} ${fs_used /} / ${fs_size /}
|
||||
${color orange}${voffset 2}${hr 1}${color}
|
||||
# Network
|
||||
${color #ad1a26}${font FiraCode Nerd Font:style=Regular:size=12}Network${font}${color #ffffff}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} Down: ${downspeed eno1} k/s
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${downspeedgraph eno1 30,0 000000 ff0000}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} Up: ${upspeed eno1} k/s
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${upspeedgraph eno1 30,0 000000 ff0000}
|
||||
${color orange}${voffset 2}${hr 1}${color}
|
||||
# Battery
|
||||
${color #ad1a26}${font FiraCode Nerd Font:style=Regular:size=12}Battery${font}${color #ffffff}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} ${battery_percent BAT0}%${alignr}${battery_time BAT0}
|
||||
${color orange}${voffset 2}${hr 1}${color}
|
||||
# Weather
|
||||
${color #ad1a26}${font FiraCode Nerd Font:style=Regular:size=12}Weather${font}${color #ffffff}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${execi 3000 curl -s wttr.in/Offenbach%20an%20der%20Queich?qFmT0}${font}${color #ffffff}
|
||||
${color orange}${voffset 2}${hr 1}${color}
|
||||
# Music
|
||||
${color #ad1a26}${font FiraCode Nerd Font:style=Regular:size=12}Music${font}${color #ffffff}
|
||||
${color #88cc88}${font FiraCode Nerd Font:style=Regular:size=9}${font}${color #88cc88} ${scroll 30 3 ${execi 1 playerctl metadata title} - ${execi 1 playerctl metadata artist}}
|
||||
${color orange}${voffset 2}${hr 1}${color}
|
||||
]];
|
Loading…
Add table
Add a link
Reference in a new issue