diff options
-rw-r--r-- | .config/polybar/config.ini | 4 | ||||
-rwxr-xr-x | .local/bin/updates (renamed from .config/polybar/extra/updates-pacman-aurhelper.sh) | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 05bd2c6..f77024e 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -164,14 +164,14 @@ label-maxlen = 50 [module/updates-pacman-aurhelper] type = custom/script -exec = /home/adam/.config/polybar/extra/updates-pacman-aurhelper.sh +exec = ~/.local/bin/updates interval = 600 format-foreground = ${colors.orange} format-padding = 2 [module/weather] type = custom/script -exec = /home/adam/.local/bin/forecast +exec = ~/.local/bin/forecast interval = 600 format-foreground = ${colors.purple} format-padding = 2 diff --git a/.config/polybar/extra/updates-pacman-aurhelper.sh b/.local/bin/updates index c74ff0d..7af054a 100755 --- a/.config/polybar/extra/updates-pacman-aurhelper.sh +++ b/.local/bin/updates @@ -19,6 +19,4 @@ updates=$((updates_arch + updates_aur - $aur_ignored)) if [ "$updates" -gt 0 ]; then echo " $updates" -else - echo "" fi |