aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.config/xblank/active5
-rwxr-xr-x.config/xblank/idle_1504
2 files changed, 8 insertions, 1 deletions
diff --git a/.config/xblank/active b/.config/xblank/active
index f66f41a..a5ca082 100755
--- a/.config/xblank/active
+++ b/.config/xblank/active
@@ -4,8 +4,11 @@
if [ -f "$XBLANK_STATESD/mpd" ]
then
rm -f -- "$XBLANK_STATESD/mpd"
-
mpc play
fi
+# Resume dunst
+pkill -USR2 -x dunst
+
+# Force monitors on
xset dpms force on
diff --git a/.config/xblank/idle_150 b/.config/xblank/idle_150
index 0994761..c125fed 100755
--- a/.config/xblank/idle_150
+++ b/.config/xblank/idle_150
@@ -7,4 +7,8 @@ then
touch "$XBLANK_STATESD/mpd"
fi
+# Pause dunst
+pkill -USR1 -x dunst
+
+# Force monitors off
xset dpms force off