This commit is contained in:
end-4
2024-02-22 15:35:06 +07:00
commit 8db26e9707
4220 changed files with 208544 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
plugged=0
swaybg -i images/wallpaper/wallpaper-cultured &
while true; do
STATE=$(cat /sys/class/power_supply/BATT/status)
if [[ "$STATE" = "Charging" ]]; then
if [ "$plugged" -eq "0" ]; then
plugged=1
notify-send 'Aghh~~~~'
play scripts/supersecretsettings/culture.mp3
fi
else
plugged=0
fi
sleep 1
done