diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-07-09 15:04:46 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-07-09 15:04:46 +0530 |
commit | 018007d1a293b7a33dd90b239de36a6b23dd1f03 (patch) | |
tree | dc68951bf960436a7a099c78fadcc270afd7ccc1 /.config/sxhkd | |
parent | 39619fbcc097a43a00f73db46d69d4f0ac44f9d0 (diff) |
playerctl spotify universal play/pause prev/next keybindings
Diffstat (limited to '.config/sxhkd')
-rw-r--r-- | .config/sxhkd/sxhkdrc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index de06c13..9a29cb7 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -25,8 +25,14 @@ XF86Audio{Raise,Lower}Volume #Toggle play/pause in spotify (universal) -#super + F4 -# playerctl -p spotify play-pause +XF86AudioPlay + playerctl -p spotify play-pause + +# Change tracks spotify only + +XF86Audio{Prev,Next} +playerctl -p spotify {previous,next} + #super + ; #dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause @@ -36,11 +42,6 @@ XF86Audio{Raise,Lower}Volume #super + {F3,F5} #spotifyvol{inc,dec}.py -# Change tracks spotify only - -#super + ctrl {Left,Right} -#playerctl -p spotify {previous,next} - ################ # Applications # |