diff --git a/.xbindkeysrc b/.xbindkeysrc new file mode 100644 index 0000000..82cd4ea --- /dev/null +++ b/.xbindkeysrc @@ -0,0 +1,27 @@ +# Keyboard controls for music player +"exec playerctl --player=ncspot next" + m:0x40 + c:114 + Mod4 + Right +"exec playerctl --player=ncspot previous" + m:0x40 + c:113 + Mod4 + Left +"exec playerctl --player=ncspot pause" + m:0x40 + c:116 + Mod4 + Down +"exec playerctl --player=ncspot play" + m:0x40 + c:111 + Mod4 + Up + +# Headphone controls for music player +"exec playerctl --player=ncspot next" + m:0x0 + c:171 + XF86AudioNext +"exec playerctl --player=ncspot previous" + m:0x0 + c:173 + XF86AudioPrev +"exec playerctl --player=ncspot pause" + m:0x0 + c:209 + XF86AudioPause +"exec playerctl --player=ncspot play" + m:0x0 + c:208 + XF86AudioPlay