From 0dc93d5e8a450d63fc5f3403158863be16653e42 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sat, 9 Jul 2022 15:35:59 +0530 Subject: spotify mpris volume control --- .config/sxhkd/sxhkdrc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to '.config/sxhkd') diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 9a29cb7..5b4bec5 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -31,15 +31,16 @@ XF86AudioPlay # Change tracks spotify only XF86Audio{Prev,Next} -playerctl -p spotify {previous,next} + playerctl -p spotify {previous,next} +# Change spotify volume only +XF86{HomePage,Mail} + playerctl -p spotify volume 0.05{+,-} +# #super + ; #dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause -# Change spotify volume only -#super + ctrl + {Up,Down} -#playerctl -p spotify volume -#super + {F3,F5} +super + {F3,F5} #spotifyvol{inc,dec}.py @@ -86,7 +87,7 @@ super + shift + t # Launch spotify super + shift + m - spotify + sp # Launch discord super + shift + d -- cgit v1.2.3