summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-07-11 12:04:28 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2022-07-11 12:04:28 +0100
commit71bf6170c458bcd3faead904be51f7c5c635f9f5 (patch)
tree44f4e174ad0d72d0e074a5c02d227a6d34cb903c
parente712ab1381f53b9d85577907d7c82f6c36a41430 (diff)
polybar: cleaner modules
-rw-r--r--.config/polybar/config.ini6
-rwxr-xr-x.config/polybar/extra/updates-pacman-aurhelper.sh2
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