From baf44e0e00e830033c083eb4d09a4b109899a79d Mon Sep 17 00:00:00 2001 From: imxyy_soope_ Date: Tue, 24 Feb 2026 16:50:17 +0800 Subject: [PATCH] chore(niri): update config --- modules/desktop/wm/niri/config.nix | 11 ++++++++--- modules/desktop/wm/niri/default.nix | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/desktop/wm/niri/config.nix b/modules/desktop/wm/niri/config.nix index a47cbac..6eee11d 100644 --- a/modules/desktop/wm/niri/config.nix +++ b/modules/desktop/wm/niri/config.nix @@ -95,7 +95,7 @@ in draw-border-with-background = false; } { - matches = [ { app-id = "kitty|foot|Alacritty|ghostty|chromium-browser|zen-beta|wofi"; } ]; + matches = [ { app-id = "kitty|foot|Alacritty|ghostty|wofi"; } ]; opacity = 0.8; } { @@ -171,6 +171,7 @@ in "Mod+R".action.spawn = noctalia "launcher toggle"; "Mod+V".action.spawn = noctalia "launcher clipboard"; "Mod+W".action.spawn = noctalia "launcher windows"; + "Ctrl+Alt+Escape".action.spawn = [ "missioncenter" ]; "XF86AudioRaiseVolume" = { allow-when-locked = true; @@ -284,9 +285,13 @@ in "Mod+Shift+Minus".action.set-window-height = "-10%"; "Mod+Shift+Equal".action.set-window-height = "+10%"; - "Ctrl+Alt+A".action.screenshot = [ ]; + "Ctrl+Alt+A".action.screenshot = { + show-pointer = false; + }; # "Ctrl+Alt+A".action = screenshot; - "Print".action.screenshot-screen = [ ]; + "Print".action.screenshot-screen = { + show-pointer = false; + }; "Alt+Print".action.screenshot-window = [ ]; # "Alt+Print".action = screenshot-window; diff --git a/modules/desktop/wm/niri/default.nix b/modules/desktop/wm/niri/default.nix index 00f62e6..26417c2 100644 --- a/modules/desktop/wm/niri/default.nix +++ b/modules/desktop/wm/niri/default.nix @@ -67,6 +67,7 @@ in brightnessctl nautilus + mission-center noctalia-shell xdg-terminal-exec