feat(river): add passthrough mode

This commit is contained in:
Moritz Böhme 2024-11-18 09:33:26 +01:00
parent e05684c279
commit baa7a7eabb
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -66,6 +66,9 @@ in
open = "spawn 'wlr-randr --output eDP-1 --on'"; open = "spawn 'wlr-randr --output eDP-1 --on'";
}; };
map = { map = {
passthrough = {
"Super F11" = "enter-mode normal";
};
normal = { normal = {
"Super Q" = "close"; "Super Q" = "close";
"Super Return" = "spawn '${config.my.terminal.package}'"; "Super Return" = "spawn '${config.my.terminal.package}'";
@ -103,6 +106,8 @@ in
"None XF86AudioNext" = "spawn 'playerctl -p spotifyd,firefox next'"; "None XF86AudioNext" = "spawn 'playerctl -p spotifyd,firefox next'";
"None XF86AudioPlay" = "spawn 'playerctl -p spotifyd,firefox play-pause'"; "None XF86AudioPlay" = "spawn 'playerctl -p spotifyd,firefox play-pause'";
"None XF86AudioPrev" = "spawn 'playerctl -p spotifyd,firefox previous'"; "None XF86AudioPrev" = "spawn 'playerctl -p spotifyd,firefox previous'";
"Super F11" = "enter-mode passthrough";
} // } //
# tags # tags
( (