From cc6fb709e0288099b923ad557ead9d925dff8b3d Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Sun, 8 May 2022 13:46:53 +0200 Subject: Don't interact with mpd --- .config/xblank/active | 10 +++++----- .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 -- cgit v1.1