Commit f8c7cd9

HPCesia <me@hpcesia.com>
2025-12-08 12:13:15
feat: update niri keybinds
1 parent 6aa3ba4
Changed files (3)
modules
desktop
desktop-environment
discrete
shell
noctalia
keybindings
wm
modules/desktop/desktop-environment/discrete/shell/noctalia/keybindings/niri.nix
@@ -12,14 +12,14 @@
           action = noctalia "launcher" "toggle";
           hotkey-overlay.title = "Toggle Application Launcher";
         };
+        "Mod+V" = lib.mkIf (!(config.services.vicinae.enable or false)) {
+          action = noctalia "launcher" "clipboard";
+          hotkey-overlay.title = "Open Clipboard History";
+        };
         "Super+Alt+L" = {
           action = noctalia "lockScreen" "lock";
           hotkey-overlay.title = "Toggle Lock Screen";
         };
-        "Mod+Escape" = {
-          action = noctalia "settings" "toggle";
-          hotkey-overlay.title = "Toggle Settings Menu";
-        };
         "Mod+X" = {
           action = noctalia "controlCenter" "toggle";
           hotkey-overlay.title = "Toggle Control Center";
modules/desktop/desktop-environment/discrete/wm/niri/keybinding.nix
@@ -4,7 +4,7 @@
       # Mod-Shift-/, which is usually the same as Mod-?,
       # shows a list of important hotkeys.
       "Mod+Shift+Slash".action = show-hotkey-overlay;
-      "Mod+Tab".action = toggle-overview;
+      "Mod+Escape".action = toggle-overview;
 
       "Mod+Shift+E".action = quit;
       "Ctrl+Alt+Delete".action = quit;
@@ -65,7 +65,7 @@
 
       "Mod+F".action = maximize-column;
       "Mod+Shift+F".action = fullscreen-window;
-      "Mod+Ctrl+F".action = expand-column-to-available-width;
+      "Mod+Ctrl+F".action = {maximize-window-to-edges = [];};
 
       "Mod+BracketLeft".action = consume-or-expel-window-left;
       "Mod+BracketRight".action = consume-or-expel-window-right;
modules/desktop/desktop-environment/discrete/wm/niri/recent-windows.nix
@@ -31,8 +31,8 @@
           (plain "binds" [
             (plain "Alt+Tab" [(flag "next-window")])
             (plain "Alt+Shift+Tab" [(flag "previous-window")])
-            (plain "Alt+grave" [(leaf "next-window" {filter = "app-id";})])
-            (plain "Alt+Shift+grave" [(leaf "previous-window" {filter = "app-id";})])
+            (plain "Mod+Tab" [(flag "next-window")])
+            (plain "Mod+Shift+Tab" [(flag "previous-window")])
           ])
         ])
       ]);