From 12cb5f8fbbcf207eccebfb92f3df0e8ac7854380 Mon Sep 17 00:00:00 2001 From: elwrcl Date: Sun, 19 Apr 2026 18:21:54 +0300 Subject: [PATCH] keybinds and hotcorner fix Signed-off-by: elwrcl --- home/niri/niri/general.nix | 4 ++++ home/niri/niri/keybinds.nix | 19 +++++++++---------- machine.nix | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/home/niri/niri/general.nix b/home/niri/niri/general.nix index 8bff258..38cc63a 100644 --- a/home/niri/niri/general.nix +++ b/home/niri/niri/general.nix @@ -75,4 +75,8 @@ curve "ease-out-expo" } } + + overview { + hotcorner-trigger-distance 0 + } '' diff --git a/home/niri/niri/keybinds.nix b/home/niri/niri/keybinds.nix index 2742b64..5a44ee8 100644 --- a/home/niri/niri/keybinds.nix +++ b/home/niri/niri/keybinds.nix @@ -3,11 +3,15 @@ Mod+Space { spawn "noctalia-shell" "ipc" "call" "launcher" "toggle"; } // Workspace navigation - Mod+Up { focus-workspace-up; } - Mod+Down { focus-workspace-down; } + Ctrl+Mod+Up { focus-workspace-up; } + Ctrl+Mod+Down { focus-workspace-down; } + + // Column/Sütun focus (same workspace) + Ctrl+Mod+Left { focus-column-left; } + Ctrl+Mod+Right { focus-column-right; } // Interface - Mod+Tab { spawn "noctalia-shell" "ipc" "call" "launcher" "windows"; } + Mod+Tab { toggle-overview; } Mod+P { spawn "noctalia-shell" "ipc" "call" "bar" "toggle"; } Ctrl+Alt+Delete { spawn "noctalia-shell" "ipc" "call" "sessionMenu" "toggle"; } @@ -31,13 +35,8 @@ Mod+Q { close-window; } Mod+F { fullscreen-window; } Mod+D { maximize-column; } - // togglefloating ve pin Niri'de yok - // Focus - Mod+Left { focus-column-left; } - Mod+Right { focus-column-right; } - - // Move windows + // Move windows (Shift+Super) Mod+Shift+Left { move-column-left; } Mod+Shift+Right { move-column-right; } Mod+Shift+Up { move-window-up; } @@ -55,7 +54,7 @@ Mod+9 { focus-workspace 9; } Mod+0 { focus-workspace 10; } - // Move window to workspace + // Move column to workspace Mod+Shift+1 { move-column-to-workspace 1; } Mod+Shift+2 { move-column-to-workspace 2; } Mod+Shift+3 { move-column-to-workspace 3; } diff --git a/machine.nix b/machine.nix index b711554..1777a3d 100644 --- a/machine.nix +++ b/machine.nix @@ -17,7 +17,7 @@ in zramSwap = { enable = true; - memoryPercent = 25; + memoryPercent = 100; algorithm = "zstd"; priority = 100; };