summaryrefslogtreecommitdiffstats
path: root/toggle
blob: 75625b358704711201056a7ded22c46e74a4362c (plain)
1
2
3
4
#!/bin/bash
MPSOCKET=/tmp/mplayer.fif
[[ -e $LOCKDIR/mplayer ]] && pidof mplayer &>/dev/null  && echo "pausing get_file_name" > $MPSOCKET 
mpc toggle