From 1bcad8d1c5859f4a94ffc2430f7c01062828673e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 11 Nov 2026 03:14:56 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(niri):=20region=20and=20live?= =?UTF-8?q?=20annotate=20binds=20for=20noctalia,=20include=20noctalia.kdl?= =?UTF-8?q?=20last?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/niri/config.kdl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index 562092c..d278570 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -241,6 +241,10 @@ binds { // region: clipboard only, never saved Shift+Print { spawn-sh "grim -t png -g \"$(slurp)\" - | wl-copy -t image/png"; } Mod+Print { spawn-sh "noctalia msg screenshot-annotate"; } + // region into noctalia's editor; slurp cancel (Esc) aborts + Mod+Shift+Print { spawn-sh "f=\"$XDG_RUNTIME_DIR/noctalia-region.png\"; g=\"$(slurp)\" && grim -t png -g \"$g\" \"$f\" && noctalia msg annotate \"$f\""; } + // live draw over apps; F freezes background + Mod+P { spawn-sh "noctalia msg annotate"; } Ctrl+Print { screenshot-screen; } Alt+Print { screenshot-window; } @@ -381,7 +385,6 @@ binds { Mod+Ctrl+T { toggle-column-tabbed-display; } } -include "noctalia.kdl" // Noctalia glass panels: blur the real windows behind, not just the wallpaper (xray). layer-rule { @@ -390,3 +393,5 @@ layer-rule { xray false } } + +include "noctalia.kdl"