init
This commit is contained in:
commit
626beb569f
87
conky.conf
Normal file
87
conky.conf
Normal file
@ -0,0 +1,87 @@
|
||||
-- Conky, a system monitor https://github.com/brndnmtthws/conky
|
||||
--
|
||||
-- This configuration file is Lua code. You can write code in here, and it will
|
||||
-- execute when Conky loads. You can use it to generate your own advanced
|
||||
-- configurations.
|
||||
--
|
||||
-- Try this (remove the `--`):
|
||||
--
|
||||
-- print("Loading Conky config")
|
||||
--
|
||||
-- For more on Lua, see:
|
||||
-- https://www.lua.org/pil/contents.html
|
||||
--
|
||||
-- Conky Lua API: https://conky.cc/lua
|
||||
|
||||
-- Configuration settings: https://conky.cc/config_settings
|
||||
conky.config = {
|
||||
alignment = 'top_left',
|
||||
background = true,
|
||||
border_width = 2,
|
||||
cpu_avg_samples = 2,
|
||||
default_color = 'white',
|
||||
default_outline_color = 'white',
|
||||
default_shade_color = 'white',
|
||||
double_buffer = true,
|
||||
draw_borders = false,
|
||||
draw_graph_borders = true,
|
||||
draw_outline = false,
|
||||
draw_shades = false,
|
||||
extra_newline = false,
|
||||
font = 'SourceCodePro-Regular:size=12',
|
||||
gap_x = 60,
|
||||
gap_y = 60,
|
||||
minimum_height = 600,
|
||||
minimum_width = 500,
|
||||
net_avg_samples = 2,
|
||||
no_buffers = true,
|
||||
out_to_console = false,
|
||||
out_to_ncurses = false,
|
||||
out_to_stderr = false,
|
||||
out_to_wayland = false,
|
||||
out_to_x = true,
|
||||
own_window = true,
|
||||
own_window_class = 'Conky',
|
||||
own_window_type = 'override',
|
||||
own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
|
||||
own_window_transparent = true,
|
||||
show_graph_range = false,
|
||||
show_graph_scale = false,
|
||||
stippled_borders = 0,
|
||||
update_interval = 1.0,
|
||||
uppercase = false,
|
||||
use_spacer = 'none',
|
||||
use_xft = true,
|
||||
xinerama_head = 2,
|
||||
}
|
||||
|
||||
-- Variables: https://conky.cc/variables
|
||||
conky.text = [[
|
||||
|
||||
${color #88C0D0}$nodename
|
||||
|
||||
${color #88C0D0}Uptime:$color $uptime
|
||||
${color #4C566A}$hr
|
||||
${color #EBCB8B}CPU
|
||||
${color #EBCB8B}Usage:$color $cpu% ${cpubar 4}
|
||||
${color #4C566A}$hr
|
||||
${color #88C0D0}RAM:
|
||||
${color #88C0D0}Usage:$color $mem/$memmax - $memperc% ${membar 4}
|
||||
${color #4C566A}$hr
|
||||
${color #BF616A}File systems:
|
||||
/ $color${fs_used /}/${fs_size /} ${fs_bar 3 /}
|
||||
${color #BF616A}/home $color${fs_used /home}/${fs_size /home} ${fs_bar 3 /home}
|
||||
${color #4C566A}$hr
|
||||
${color #A3BE8C}Networking:
|
||||
Up:$color ${upspeed} ${color grey} - ${color #A3BE8C} Down:$color ${downspeed}
|
||||
${color #4C566A}$hr
|
||||
${if_match "${execi 1 playerctl metadata title}" != ""}
|
||||
${color #BF616A}
|
||||
${color #BF616A}${execi 1 playerctl metadata title | awk -v len=56 '{ if (length($0) > len) print substr($0, 1, len-3) "..."; else print; }'}
|
||||
${color #4C566A}by ${color #ECEFF4} ${execi 1 playerctl metadata artist | awk -v len=56 '{ if (length($0) > len) print substr($0, 1, len-3) "..."; else print; }'}
|
||||
${color #4C566A}from ${color #ECEFF4} ${execi 1 playerctl metadata album}
|
||||
${else}
|
||||
${color #4C566A}Not Playing
|
||||
${endif}
|
||||
|
||||
]]
|
Loading…
Reference in New Issue
Block a user