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"