diff options
author | Patrick Spek <p.spek@tyil.nl> | 2022-05-08 13:46:53 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2022-05-08 13:47:10 +0200 |
commit | cc6fb709e0288099b923ad557ead9d925dff8b3d (patch) | |
tree | 1378316d0fe62a950156d5ad9b5448cbf61bdbe9 | |
parent | d4b334117a1bfc43663158b6894af233e31e1424 (diff) |
Don't interact with mpd
-rwxr-xr-x | .config/xblank/active | 10 | ||||
-rwxr-xr-x | .config/xblank/idle_150 | 10 |
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 |