From 726ab3c8446a1c34e6cdb47e45926f34e55b0b3e Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Mon, 23 Nov 2026 16:01:09 +0100 Subject: modules/river/keymap: Make the previous tags mapping easier to access Unfortunately, that means that we lose access to the nice Super-l combi for locking, but it's now bound to the dvorak mapped Super-l. --- modules/by-name/ri/river/keymap.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/by-name/ri/river/keymap.nix b/modules/by-name/ri/river/keymap.nix index 914f2e48..c51e5f06 100644 --- a/modules/by-name/ri/river/keymap.nix +++ b/modules/by-name/ri/river/keymap.nix @@ -134,7 +134,9 @@ in { "N" = ["focus-output" "previous"]; "0" = ["set-focused-tags" (builtins.toString ((extra_lib.math.pow 2 32) - 1))]; - "p" = ["focus-previous-tags"]; + "p" = { + command = ["focus-previous-tags"]; + }; "1" = mkTagCommand "set-focused-tags" 1; "2" = mkTagCommand "set-focused-tags" 2; @@ -149,7 +151,10 @@ in { }; # Screen locking - "" = self."".x.l; + "" = self."".x.l; + + # There is a special key on my keyboard (f11+fn), that sends Super-l + "" = self."".f.p // {once = true;}; # Audio "" = -- cgit v1.3.1