From baa7a7eabb7a457d40c3b2ea4c6d5f44d82ade32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Mon, 18 Nov 2024 09:33:26 +0100 Subject: [PATCH] feat(river): add passthrough mode --- modules/programs/river/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/programs/river/default.nix b/modules/programs/river/default.nix index 7b3692c..48c6f72 100644 --- a/modules/programs/river/default.nix +++ b/modules/programs/river/default.nix @@ -66,6 +66,9 @@ in open = "spawn 'wlr-randr --output eDP-1 --on'"; }; map = { + passthrough = { + "Super F11" = "enter-mode normal"; + }; normal = { "Super Q" = "close"; "Super Return" = "spawn '${config.my.terminal.package}'"; @@ -103,6 +106,8 @@ in "None XF86AudioNext" = "spawn 'playerctl -p spotifyd,firefox next'"; "None XF86AudioPlay" = "spawn 'playerctl -p spotifyd,firefox play-pause'"; "None XF86AudioPrev" = "spawn 'playerctl -p spotifyd,firefox previous'"; + + "Super F11" = "enter-mode passthrough"; } // # tags (