blob: 03a1e1ccacb8e116a45c27aeed06c291dd8198b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/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
# Use full speed in Transmission
transmission-remote localhost --no-alt-speed
# Pause dunst
pkill -USR1 -x dunst
# Force monitors off
xset dpms force off
|