From 63411060958b24889cf15bb2bb8bf6eefbfba2a4 Mon Sep 17 00:00:00 2001 From: elwrcl Date: Tue, 9 Jun 2026 22:51:36 +0300 Subject: [PATCH] anotha niri changes --- modules/home/niri/niri/general.nix | 12 +++++++++--- modules/home/niri/niri/keybinds.nix | 3 ++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/modules/home/niri/niri/general.nix b/modules/home/niri/niri/general.nix index dbf5b2d..478f21f 100644 --- a/modules/home/niri/niri/general.nix +++ b/modules/home/niri/niri/general.nix @@ -12,7 +12,7 @@ }; mouse = { accel-speed = 0.0; - accel-profile = "adaptive"; + accel-profile = "flat"; }; touchpad = { tap = true; @@ -21,11 +21,9 @@ click-method = "clickfinger"; }; }; - animations = { slowdown = 0.8; }; - layout = { gaps = 5; struts = { @@ -52,5 +50,13 @@ enable = false; }; }; + layer-rules = [ + { + matches = [ + { namespace = "^noctalia-backdrop"; } + ]; + place-within-backdrop = true; + } + ]; }; } diff --git a/modules/home/niri/niri/keybinds.nix b/modules/home/niri/niri/keybinds.nix index 8038245..435ca08 100644 --- a/modules/home/niri/niri/keybinds.nix +++ b/modules/home/niri/niri/keybinds.nix @@ -26,7 +26,7 @@ "Mod+Space".action.spawn-sh = "noctalia msg panel-toggle launcher"; "Mod+P".action.spawn-sh = "noctalia msg panel-toggle control-center"; "Mod+Tab".action.toggle-overview = [ ]; - "Ctrl+Alt+Delete".action.spawn-sh = "noctalia msg settings-toggle"; + "Ctrl+Alt+Delete".action.spawn-sh = "noctalia msg panel-toggle session"; # --- Launchers --- "Mod+Return".action.spawn = [ "ghostty" ]; @@ -36,6 +36,7 @@ "Mod+Alt+V".action.spawn = [ "pavucontrol" ]; "Mod+Shift+V".action.spawn-sh = "noctalia msg panel-toggle clipboard"; "Mod+Shift+L".action.spawn-sh = "noctalia msg lock"; + "Mod+Shift+S".action.spawn-sh = "noctalia msg screenshot-region"; "Ctrl+Shift+Escape".action.spawn = [ "ghostty" "-e"