This commit is contained in:
2026-01-26 17:03:18 +01:00
parent cd1b7cc874
commit 1fe5d48f1b
110 changed files with 12381 additions and 224 deletions

20
local/bin/noblank Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
case "$LANG" in
pl*)
DISABLED="Wygaszanie monitora jest WYŁĄCZONE"
ENABLED="Wygaszanie monitora jest WŁĄCZONE"
;;
*)
DISABLED="Monitor blanking is DISABLED"
ENABLED="Monitor blanking is ENABLED"
;;
esac
if (xset q|grep --quiet "DPMS is Enabled");
then
xset s off -dpms
notify-send -i monitor -t 5000 "DPMS" "$DISABLED"
else
xset s on +dpms
notify-send -i monitor -t 5000 "DPMS" "$ENABLED"
fi