10 lines
206 B
Bash
Executable File
10 lines
206 B
Bash
Executable File
#!/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"
|