Add waybar

This commit is contained in:
Hydroxycarbamide 2024-05-14 19:47:03 +02:00
parent e0c17f71e2
commit 1ff2d77058
19 changed files with 1043 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
pkg_updates() {
updates=$(pacman -Qu | wc -l)
aurupdates=$(paru -Qua | wc -l)
updates=$((updates + aurupdates))
if [ $updates -gt 0 ]; then
echo -n "$updates"
fi
}
pkg_updates