.dotfiles/.config/polybar/custom.ini

26 lines
700 B
INI
Raw Normal View History

[module/fan-speed]
type = custom/script
exec = $HOME/.config/polybar/scripts/fan-speed.sh
interval = 1
format-prefix = " "
2021-03-30 20:53:39 +00:00
format-prefix-foreground = ${colors.foreground}
format-underline = #8bf
format = <label>
label = %output:4%
2020-08-28 10:53:09 +00:00
[module/check-arch-updates]
type = custom/script
2020-12-23 15:37:11 +00:00
exec = cat $HOME/.cache/archlinux-updates.txt | wc -l | sed 's/^0$//'
interval = 30
format-prefix = " "
2021-03-30 20:53:39 +00:00
format-prefix-foreground = ${colors.foreground}
format-underline = #1794D1
format = <label>
2020-12-23 15:37:11 +00:00
click-left = alacritty -e sh -c "$HOME/.local/bin/archlinux-update; checkupdates > $HOME/.cache/archlinux-updates.txt; read" &
2020-03-04 11:47:35 +00:00
label = %output%