.dotfiles/.config/polybar/custom.ini

26 lines
712 B
INI

[module/fan-speed]
type = custom/script
exec = $HOME/.config/polybar/scripts/fan-speed.sh
interval = 1
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #8bf
format = <label>
label = %output:4%
[module/check-arch-updates]
type = custom/script
exec = cat $HOME/.cache/archlinux-updates.txt
interval = 30
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #1794D1
format = <label>
click-left = alacritty -e sh -c "$HOME/.local/bin/archlinux-update; $HOME/.local/bin/archlinux-check-updates > $HOME/.cache/archlinux-updates.txt; read" &
label = %output%