control spotifyd a bit from the command line
This commit is contained in:
parent
cec8531de8
commit
9b53883ad8
9
local/bin/spoticly
Executable file
9
local/bin/spoticly
Executable file
@ -0,0 +1,9 @@
|
||||
#!/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"
|
Loading…
Reference in New Issue
Block a user