aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/clear-dpms-state
diff options
context:
space:
mode:
authorkj_sh6042025-11-09 18:53:25 -0500
committerkj_sh6042025-11-09 18:53:25 -0500
commitf5e03894e96a9c652c39314a2575f52f9c47aac2 (patch)
tree070c9be188abfa1bf6f1b3bca44f2c7fb86b1b80 /.local/bin/clear-dpms-state
parent0e89adbd440b04e5432eb00614f654c9fed93687 (diff)
revert-to: a6675719f73a332f92c30ff5c4948cda26c0e6e3
Diffstat (limited to '.local/bin/clear-dpms-state')
-rwxr-xr-x.local/bin/clear-dpms-state14
1 files changed, 14 insertions, 0 deletions
diff --git a/.local/bin/clear-dpms-state b/.local/bin/clear-dpms-state
new file mode 100755
index 0000000..ce6c99a
--- /dev/null
+++ b/.local/bin/clear-dpms-state
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Check if xset is available
+if command -v xset > /dev/null; then
+ # Place all DPMS settings that you want
+ # to run on awesome-wm startup below:
+ xset s noblank
+ xset s noexpose
+ xset s off off
+ xset dpms 0 0 0
+ xset -dpms
+else
+ notify-send "error: xset binary not found."
+fi