forge
Explore
Log in

Don't you dare go Hollow

Region and live annotate binds for noctalia, include noctalia.kdl last

Browse files at this commit

1bcad8d1c5859f4a94ffc2430f7c01062828673eAhmet Kaan GümüşParent: bc4dda7
  • feat
    • region and live annotate binds for noctalia, include noctalia.kdl last
Show full message
✨ feat(niri): region and live annotate binds for noctalia, include noctalia.kdl last
.config/niri/config.kdlmodified+6 -1
@@ -241,6 +241,10 @@ binds {
241 // region: clipboard only, never saved241 // region: clipboard only, never saved
242 Shift+Print { spawn-sh "grim -t png -g \"$(slurp)\" - | wl-copy -t image/png"; }242 Shift+Print { spawn-sh "grim -t png -g \"$(slurp)\" - | wl-copy -t image/png"; }
243 Mod+Print { spawn-sh "noctalia msg screenshot-annotate"; }243 Mod+Print { spawn-sh "noctalia msg screenshot-annotate"; }
244+ // region into noctalia's editor; slurp cancel (Esc) aborts
245+ Mod+Shift+Print { spawn-sh "f=\"$XDG_RUNTIME_DIR/noctalia-region.png\"; g=\"$(slurp)\" && grim -t png -g \"$g\" \"$f\" && noctalia msg annotate \"$f\""; }
246+ // live draw over apps; F freezes background
247+ Mod+P { spawn-sh "noctalia msg annotate"; }
244 Ctrl+Print { screenshot-screen; }248 Ctrl+Print { screenshot-screen; }
245 Alt+Print { screenshot-window; }249 Alt+Print { screenshot-window; }
246 250
@@ -381,7 +385,6 @@ binds {
381 Mod+Ctrl+T { toggle-column-tabbed-display; }385 Mod+Ctrl+T { toggle-column-tabbed-display; }
382 }386 }
383 387
384-include "noctalia.kdl"
385 388
386 // Noctalia glass panels: blur the real windows behind, not just the wallpaper (xray).389 // Noctalia glass panels: blur the real windows behind, not just the wallpaper (xray).
387 layer-rule {390 layer-rule {
@@ -390,3 +393,5 @@ layer-rule {
390 xray false393 xray false
391 }394 }
392 }395 }
396+
397+include "noctalia.kdl"