configuration.nix/home/wm/addon/conky/conky.conf

77 lines
2.6 KiB
Text

conky.config = {
alignment = 'top_right',
background = false,
border_width = 0,
border_inner_margin = 6,
border_outer_margin = 6,
cpu_avg_samples = 1,
default_color = 'white',
default_outline_color = 'black',
default_shade_color = 'black',
draw_borders = true,
draw_graph_borders = true,
draw_outline = true,
draw_shades = true,
use_xft = true,
font = 'FiraCode Nerd Font:size=12',
gap_x = 24,
gap_y = 48,
minimum_height = 9,
minimum_width = 16,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = false,
out_to_wayland = true,
extra_newline = false,
own_window = true,
own_window_argb_visual = true,
own_window_class = 'Conky',
own_window_transparent = false,
own_window_type = 'desktop',
own_window_argb_visual = true,
own_window_argb_value = 150,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
double_buffer = true,
}
conky.text = [[
$hr
${font FiraCode Nerd Font Medium:size=16}System${font}$alignr$color$nodename ($machine)
${color grey}Distribution$alignr$color$distribution
${color grey}Kernel$alignr$color$sysname $kernel
$hr
${font FiraCode Nerd Font Medium:size=16}Battery${font}$alignr$color${battery_short}
${color grey}Full/Empty In$alignr$color$battery_time
${color grey}Uptime$alignr$color$uptime_short
$hr
${font FiraCode Nerd Font Medium:size=16}Resources${font}
${color grey}RAM${alignr}$color$mem ($memwithbuffers)${color grey} used of $color$memmax
${color grey}SWAP$alignr$color$swap${color grey} used of $color$swapmax
${color grey}CPU$alignr$color${cpu cpu0}%
${cpubar cpu1 6,100} ${cpubar cpu2 6,100} ${cpubar cpu3 6,100} ${cpubar cpu4 6,100}
${cpubar cpu5 6,100} ${cpubar cpu6 6,100} ${cpubar cpu7 6,100} ${cpubar cpu8 6,100}
$hr
${font FiraCode Nerd Font Medium:size=16}Storage${font}
${color grey}/boot$alignr$color${fs_free /boot}${color grey} free of $color${fs_size /boot}
${fs_bar 6 /boot}
${color grey}/mnt/system$alignr$color${fs_free /mnt/system}${color grey} free of $color${fs_size /mnt/system}
${fs_bar 6 /mnt/system}
$hr
${font FiraCode Nerd Font:size=14}I/O${font}$alignr${font FiraCode Nerd Font:size=8}(Read/Write)${font}
${color grey}/dev/nvme0n1 $alignr$color${diskio_read /dev/nvme0n1} / ${diskio_write /dev/nvme0n1}
$hr
${font FiraCode Nerd Font:size=14}Network${font}$alignr${font FiraCode Nerd Font:size=8}(Total/Rate)${font}
${color}WiFi
${color grey}Rx: ${alignr}$color${totaldown wlan0} (${downspeedf wlan0}KiB/s)
${color grey}Tx: ${alignr}$color${totalup wlan0} (${upspeedf wlan0}KiB/s)
$hr
]]