From 71bf6170c458bcd3faead904be51f7c5c635f9f5 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Mon, 11 Jul 2022 12:04:28 +0100 Subject: polybar: cleaner modules --- .config/polybar/config.ini | 6 +++--- .config/polybar/extra/updates-pacman-aurhelper.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 43bc27e..b92911e 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -46,7 +46,7 @@ font-4 = MaterialIcons:size=18;7 modules-left = i3 xwindow modules-center = -modules-right = weather updates-pacman-aurhelper xkeyboard pulseaudio battery date +modules-right = updates-pacman-aurhelper weather xkeyboard pulseaudio battery date tray-maxsize = 22 tray-position = right @@ -186,14 +186,14 @@ type = custom/script exec = /home/adam/.config/polybar/extra/updates-pacman-aurhelper.sh interval = 600 format-foreground = ${root.foreground} -; format-background = ${colors.background-module} +format-background = ${colors.background-module} [module/weather] type = custom/script exec = busctl --user -j get-property io.ntfd /weather openweathermap.strings RenderedTemplate | jq -r .data interval = 60 - +format-background = ${colors.background-module} [settings] screenchange-reload = true diff --git a/.config/polybar/extra/updates-pacman-aurhelper.sh b/.config/polybar/extra/updates-pacman-aurhelper.sh index 9a11302..20d5a8f 100755 --- a/.config/polybar/extra/updates-pacman-aurhelper.sh +++ b/.config/polybar/extra/updates-pacman-aurhelper.sh @@ -16,7 +16,7 @@ fi updates=$((updates_arch + updates_aur)) if [ "$updates" -gt 0 ]; then - echo "  $updates " + echo "  $updates " else echo "" fi -- cgit v1.2.3-70-g09d2