dotfiles/bspwm/spotifykeys.sh
2016-01-07 18:05:13 +11:00

19 lines
243 B
Bash
Executable file

#!/bin/sh
case $1 in
"play")
playerctl play-pause
;;
"next")
playerctl next
;;
"prev")
playerctl previous
;;
*)
echo "Usage: $0 play|next|prev"
exit 1
;;
esac
exit 0