aboutsummaryrefslogtreecommitdiff
path: root/SXHkD
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-03-12 03:27:00 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-03-12 03:27:00 +0000
commite55660a67dca7b1ddb0111de73eae8d9b80209ff (patch)
treef346f81888bf12bca2deac560d901e1ddb5d3c65 /SXHkD
parent8234c66729cc3f223d31459b9a60de4768525be0 (diff)
downloaddotfiles-e55660a67dca7b1ddb0111de73eae8d9b80209ff.tar.gz
dotfiles-e55660a67dca7b1ddb0111de73eae8d9b80209ff.tar.bz2
dotfiles-e55660a67dca7b1ddb0111de73eae8d9b80209ff.zip
(SXHkD)~bindings related to music should use spotify
Diffstat (limited to 'SXHkD')
-rw-r--r--SXHkD/.config/sxhkd/sxhkdrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/SXHkD/.config/sxhkd/sxhkdrc b/SXHkD/.config/sxhkd/sxhkdrc
index d15357a..5ef697f 100644
--- a/SXHkD/.config/sxhkd/sxhkdrc
+++ b/SXHkD/.config/sxhkd/sxhkdrc
@@ -53,18 +53,18 @@ super + F12
# Music and volume
super + F{6,7,8}
- playerctl -a {previous,play-pause,next};
+ playerctl --player=spotify {previous,play-pause,next};
XF86Audio{Prev,Play,Next}
- playerctl -a {previous,play-pause,next};
+ playerctl --player=spotify {previous,play-pause,next};
{_,shift + }XF86Audio{Lower,Raise}Volume
- kill -44 $(pidof dwmblocks); \
- {pactl set-sink-volume 0,$HOME/.local/scripts/spotify_volume} {-,+}5%;
+ kill -43 $(pidof dwmblocks); \
+ {pactl set-sink-volume 42,$HOME/.local/scripts/spotify_volume} {-,+}5%;
XF86AudioMute
- kill -44 $(pidof dwmblocks); \
- pactl set-sink-mute 0 toggle;
+ kill -43 $(pidof dwmblocks); \
+ pactl set-sink-mute 42 toggle;
XF86MonBrightness{Down,Up}
light -{U,A} 15; \