10 lines
206 B
Plaintext
10 lines
206 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
case "$1" in
|
||
|
pp) message="PlayPause" ;;
|
||
|
p) message="Previous" ;;
|
||
|
n) message="Next" ;;
|
||
|
esac
|
||
|
|
||
|
qdbus org.mpris.MediaPlayer2.spotifyd /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player."$message"
|