clean up scripts
This commit is contained in:
9
.config/polybar/scripts/updates-flatpak.sh
Normal file
9
.config/polybar/scripts/updates-flatpak.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
updates=$(flatpak update 2>/dev/null | tail -n +5 | grep -Ecv "^$|^Proceed|^Nothing")
|
||||
|
||||
if [ "$updates" -gt 0 ]; then
|
||||
echo "flatpak: $updates"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
Reference in New Issue
Block a user