diff options
Diffstat (limited to '.config/xblank/active')
-rwxr-xr-x | .config/xblank/active | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/xblank/active b/.config/xblank/active index 8600831..f66f41a 100755 --- a/.config/xblank/active +++ b/.config/xblank/active @@ -1,3 +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 + xset dpms force on |