2020-02-22 14:45:08 +00:00
|
|
|
[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}
|
2021-04-09 17:14:53 +00:00
|
|
|
format-underline = ${colors.pink}
|
2020-02-22 14:45:08 +00:00
|
|
|
format = <label>
|
|
|
|
|
|
|
|
label = %output:4%
|
|
|
|
|
2020-08-28 10:53:09 +00:00
|
|
|
[module/check-arch-updates]
|
2020-02-22 14:45:08 +00:00
|
|
|
type = custom/script
|
2023-02-11 12:09:03 +00:00
|
|
|
exec = cat $HOME/.cache/archlinux-updates.txt | wc -l 2>/dev/null | sed 's/^0$//'
|
2020-09-03 09:23:42 +00:00
|
|
|
interval = 30
|
2020-02-22 14:45:08 +00:00
|
|
|
|
|
|
|
format-prefix = " "
|
2021-03-30 20:53:39 +00:00
|
|
|
format-prefix-foreground = ${colors.foreground}
|
2021-04-09 17:14:53 +00:00
|
|
|
format-underline = ${colors.cyan}
|
2020-02-22 14:45:08 +00:00
|
|
|
format = <label>
|
|
|
|
|
2022-04-08 13:18:39 +00:00
|
|
|
click-left = alacritty -e sh -c "archlinux-update; checkupdates > $HOME/.cache/archlinux-updates.txt; read" &
|
2020-03-04 11:47:35 +00:00
|
|
|
|
2020-02-22 14:45:08 +00:00
|
|
|
label = %output%
|
2021-04-16 08:20:05 +00:00
|
|
|
|
|
|
|
[module/bsp-layout]
|
|
|
|
type = custom/script
|
2023-01-28 17:31:46 +00:00
|
|
|
exec = bsp-layout get $(bspc query -D --names -d focused) | sed -E 's/^(-|tiled)$//m'
|
2021-04-16 08:20:05 +00:00
|
|
|
interval = 0.1
|
|
|
|
|
|
|
|
format-prefix = " "
|
|
|
|
format-prefix-foreground = ${colors.foreground}
|
|
|
|
format-underline = ${colors.red}
|
|
|
|
format = <label>
|
|
|
|
|
|
|
|
click-left = bsp-layout cycle --layouts tall,wide,grid,rgrid,monocle
|
|
|
|
|
|
|
|
label = %output%
|
2021-04-30 14:31:30 +00:00
|
|
|
|
|
|
|
[module/bsp-layout-primary]
|
|
|
|
inherit = module/bsp-layout
|
2023-01-28 17:31:46 +00:00
|
|
|
exec = bsp-layout get $(bspc query -D --names -d ${MONITOR_PRIMARY}:focused) | sed -E 's/^(-|tiled)$//m'
|
2021-04-30 14:31:30 +00:00
|
|
|
|
|
|
|
[module/bsp-layout-secondary]
|
|
|
|
inherit = module/bsp-layout
|
2023-01-28 17:31:46 +00:00
|
|
|
exec = bsp-layout get $(bspc query -D --names -d ${MONITOR_SECONDARY}:focused) | sed -E 's/^(-|tiled)$//m'
|
2021-07-09 22:52:01 +00:00
|
|
|
|
|
|
|
[module/openweather]
|
|
|
|
type = custom/script
|
|
|
|
exec = $HOME/.config/polybar/scripts/openweather.sh
|
|
|
|
interval = 600
|
|
|
|
|
|
|
|
format-prefix-foreground = ${colors.foreground}
|
|
|
|
format-underline = ${colors.green}
|
2022-03-02 15:58:03 +00:00
|
|
|
|
|
|
|
[module/player-mpris-simple]
|
|
|
|
type = custom/script
|
|
|
|
exec = $HOME/.config/polybar/scripts/player-mpris-simple.sh
|
|
|
|
interval = 3
|
2022-08-13 11:23:01 +00:00
|
|
|
click-left = playerctl -p spotifyd previous &
|
|
|
|
click-right = playerctl -p spotifyd next &
|
|
|
|
click-middle = playerctl -p spotifyd play-pause &
|
2022-03-02 15:58:03 +00:00
|
|
|
|
|
|
|
format-prefix-foreground = ${colors.foreground}
|
|
|
|
format-underline = ${colors.green}
|