diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-23 16:01:09 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-23 19:09:02 +0100 |
| commit | 726ab3c8446a1c34e6cdb47e45926f34e55b0b3e (patch) | |
| tree | 33df78f47ef833111f385177f0ebd7b2fc400a8a | |
| parent | modules/river/keymap: Include keymapping for toggling swayidle (diff) | |
| download | nixos-config-726ab3c8446a1c34e6cdb47e45926f34e55b0b3e.zip | |
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.
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/ri/river/keymap.nix | 9 |
1 files changed, 7 insertions, 2 deletions
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 - "<Super-l>" = self."<LEFT_SUPER>".x.l; + "<Super-n>" = self."<LEFT_SUPER>".x.l; + + # There is a special key on my keyboard (f11+fn), that sends Super-l + "<Super-l>" = self."<LEFT_SUPER>".f.p // {once = true;}; # Audio "<MEDIA_RAISEVOLUME>" = |
