diff options
author | Patrick Spek <p.spek@tyil.nl> | 2021-03-18 09:37:23 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-08-14 12:01:17 +0200 |
commit | 4fbab1b6c91581f8b82e7a767d30fb5c5857eaf1 (patch) | |
tree | 932147d7f64f05cfa0e51139494ecabfcd944f8c /.config/xblank/active | |
parent | f002870d12ccc58e9b2177250df684cb5aa49fd9 (diff) |
Alter mpc interaction in xblank
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 |