aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-05-08 13:46:53 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-05-08 13:47:10 +0200
commitcc6fb709e0288099b923ad557ead9d925dff8b3d (patch)
tree1378316d0fe62a950156d5ad9b5448cbf61bdbe9
parentd4b334117a1bfc43663158b6894af233e31e1424 (diff)
Don't interact with mpd
-rwxr-xr-x.config/xblank/active10
-rwxr-xr-x.config/xblank/idle_15010
2 files changed, 10 insertions, 10 deletions
diff --git a/.config/xblank/active b/.config/xblank/active
index a304340..b87c97e 100755
--- a/.config/xblank/active
+++ b/.config/xblank/active
@@ -1,11 +1,11 @@
#!/bin/sh
# Resume mpd if it was paused through an xblank script
-if [ -f "$XBLANK_STATESD/mpd" ]
-then
- rm -f -- "$XBLANK_STATESD/mpd"
- mpc play
-fi
+#if [ -f "$XBLANK_STATESD/mpd" ]
+#then
+# rm -f -- "$XBLANK_STATESD/mpd"
+# mpc play
+#fi
# Use slower speeds in Transmission
transmission-remote localhost --alt-speed
diff --git a/.config/xblank/idle_150 b/.config/xblank/idle_150
index 03a1e1c..7440dc9 100755
--- a/.config/xblank/idle_150
+++ b/.config/xblank/idle_150
@@ -1,11 +1,11 @@
#!/bin/sh
# Pause mpd if its playing
-if mpc | head -n 2 | tail -n 1 | grep -Fq '[playing]'
-then
- mpc pause
- touch "$XBLANK_STATESD/mpd"
-fi
+#if mpc | head -n 2 | tail -n 1 | grep -Fq '[playing]'
+#then
+# mpc pause
+# touch "$XBLANK_STATESD/mpd"
+#fi
# Use full speed in Transmission
transmission-remote localhost --no-alt-speed