Moves i3 to LEGACY

This commit is contained in:
Jonathan Hodgson 2019-07-30 15:10:03 +01:00
parent 3797371054
commit 7033add60b
20 changed files with 0 additions and 0 deletions

22
LEGACY/i3/blocks/pacmanUpdates Executable file
View file

@ -0,0 +1,22 @@
#!/usr/bin/sh
if ! command -v checkupdates > /dev/null; then
echo "You need to install checkupdates";
echo "";
echo "#FF0000"
else
count=$(checkupdates | wc -l)
if [ "$count" = "0" ]; then
echo ""
echo ""
echo ""
exit 0
fi
echo "$label $count"
echo "$label $count"
if [ "$count" -gt "5" ]; then
echo "#FFOOOO"
else
echo "#FF8000"
fi
fi