aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/dpms.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/awesome/dpms.sh')
-rwxr-xr-x.config/awesome/dpms.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/awesome/dpms.sh b/.config/awesome/dpms.sh
new file mode 100755
index 0000000..192c002
--- /dev/null
+++ b/.config/awesome/dpms.sh
@@ -0,0 +1,11 @@
+#!/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 +dpms
+ xset s 10
+else
+ notify-send "Error: DPMS command not found."
+fi