Many updates

This commit is contained in:
2025-06-18 15:27:54 +02:00
parent 8d34189147
commit 52e58f79ca
36 changed files with 616 additions and 7 deletions
+1 -1
View File
@@ -6,5 +6,5 @@ bat_lvl=$(grep "" /sys/class/power_supply/BAT0/capacity )
bat_status=$(grep Discharging /sys/class/power_supply/BAT0/status )
if (( $bat_lvl < $bat_alert_lvl )) && [ $bat_status == "Discharging" ]; then
notify-send -a low_battery -u critical "Low Battery" "Connect Power Adapter" -i battery-low -r $notif_id -t 60000
notify-send -a low_battery -u critical "Low Battery" "Connect Power Adapter" -i battery-low -r $notif_id -t 1000
fi