river(playerctl): fix mpris controls not working

This commit is contained in:
Khaïs COLIN 2024-07-29 11:30:25 +02:00
parent bcd7b6a804
commit 414dc707af

View file

@ -77,11 +77,12 @@ in
"Super+Shift ccedilla" = "set-view-tags 256"; "Super+Shift ccedilla" = "set-view-tags 256";
"Super+Shift agrave" = "set-view-tags 512"; "Super+Shift agrave" = "set-view-tags 512";
# music player control # music player control
"XF86AudioPlay" = "spawn 'playerctl play-pause'"; # We have to specify None as the modifier, else riverctl complains that XF86Etc is not a valid modifier
"XF86Bluetooth" = "spawn 'playerctl play-pause'"; "None XF86AudioPlay" = "spawn 'playerctl play-pause'";
"XF86Tools" = "spawn 'playerctl previous'"; "None XF86Bluetooth" = "spawn 'playerctl play-pause'";
"XF86Keyboard" = "spawn 'playerctl next'"; "None XF86Tools" = "spawn 'playerctl previous'";
"XF86Favorites" = "spawn 'cmus-remote -C player-next-album'"; "None XF86Keyboard" = "spawn 'playerctl next'";
"None XF86Favorites" = "spawn 'cmus-remote -C player-next-album'";
}; };
}; };
map-pointer = { map-pointer = {