control spotifyd a bit from the command line
This commit is contained in:
parent
cec8531de8
commit
9b53883ad8
1 changed files with 9 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue