summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/ri/river/keymap.nix9
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>" =