Add keyboard & headphone control bindings for ncspot

master
Hektor Misplon 2021-05-17 14:10:31 +02:00
parent 46bc785e0a
commit 5224246374
1 changed files with 27 additions and 0 deletions

27
.xbindkeysrc Normal file
View File

@ -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