spawn small fixes

This commit is contained in:
ackman678
2023-09-28 22:52:04 -04:00
parent d328524cd9
commit d5a281d3b3
4 changed files with 10 additions and 15 deletions

View File

@@ -18,7 +18,7 @@ if [ $PERCENT -le "23" ]; then
notify-send --urgency=critical "Low battery $PERCENT%"
fi
if [ $PERCENT -le "7" ]; then
if [ $PERCENT -le "3" ]; then
echo "powering down..."
systemctl suspend
fi