river: add music play controls

This commit is contained in:
Khaïs COLIN 2024-07-29 11:03:43 +02:00
parent a77796db99
commit f17fcedbfe
2 changed files with 7 additions and 1 deletions

View file

@ -18,7 +18,7 @@ in {
# nixvim
inputs.nixvim-flake.packages.${system}.default
# wm river utils
kitty swaylock fuzzel
kitty swaylock fuzzel playerctl
# dev tools
gitu
# music

View file

@ -76,6 +76,12 @@ in
"Super+Shift underscore" = "set-view-tags 128";
"Super+Shift ccedilla" = "set-view-tags 256";
"Super+Shift agrave" = "set-view-tags 512";
# music player control
"XF86AudioPlay" = "spawn 'playerctl play-pause'";
"XF86Bluetooth" = "spawn 'playerctl play-pause'";
"XF86Tools" = "spawn 'playerctl previous'";
"XF86Keyboard" = "spawn 'playerctl next'";
"XF86Favorites" = "spawn 'cmus-remote -C player-next-album'";
};
};
map-pointer = {