So many updates that I don't remember what I did since the last commit

This commit is contained in:
Gu://em_ 2025-05-04 23:53:29 +02:00
parent ec120f92ce
commit 7c718c80dc
21 changed files with 991 additions and 18 deletions

11
.local/bin/batterynotify Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
while true; do
battery=$(upower -i "$(upower -e | grep BAT)" | grep -E "percentage" | awk '{print $2}' | tr -d '%')
if [ "$battery" -le "20" ]; then
hyprctl notify 0 5000 0 " Low battery: ${battery}%"
sleep 240
else
sleep 120
fi
done