Fix some polybar stuff
This commit is contained in:
parent
be03e4d50e
commit
f2e9a4061f
2 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
[module/check-arch-updates]
|
||||
type = custom/script
|
||||
exec = cat $HOME/.cache/archlinux-updates.txt | wc -l | sed 's/^0$//'
|
||||
exec = wc -l $HOME/.cache/archlinux-updates.txt 2>/dev/null | sed 's/^0$//'
|
||||
interval = 30
|
||||
|
||||
format-prefix = " "
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
[module/bsp-layout]
|
||||
type = custom/script
|
||||
exec = bsp-layout get $(bspc query -D --names -d focused)
|
||||
exec = bsp-layout get $(bspc query -D --names -d focused) | sed -E 's/^(-|tiled)$//m'
|
||||
interval = 0.1
|
||||
|
||||
format-prefix = " "
|
||||
|
@ -40,11 +40,11 @@
|
|||
|
||||
[module/bsp-layout-primary]
|
||||
inherit = module/bsp-layout
|
||||
exec = bsp-layout get $(bspc query -D --names -d ${MONITOR_PRIMARY}:focused)
|
||||
exec = bsp-layout get $(bspc query -D --names -d ${MONITOR_PRIMARY}:focused) | sed -E 's/^(-|tiled)$//m'
|
||||
|
||||
[module/bsp-layout-secondary]
|
||||
inherit = module/bsp-layout
|
||||
exec = bsp-layout get $(bspc query -D --names -d ${MONITOR_SECONDARY}:focused)
|
||||
exec = bsp-layout get $(bspc query -D --names -d ${MONITOR_SECONDARY}:focused) | sed -E 's/^(-|tiled)$//m'
|
||||
|
||||
[module/openweather]
|
||||
type = custom/script
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
. "$HOME/.config/environment.local"
|
||||
. "$HOME/.config/environment"
|
||||
|
||||
get_icon() {
|
||||
case $1 in
|
||||
|
|
Loading…
Reference in a new issue