flake update and add screenshotter

This commit is contained in:
2026-05-05 18:49:35 +02:00
parent 113834a397
commit 6f63018f30
4 changed files with 40 additions and 37 deletions

View File

@@ -259,7 +259,8 @@ binds {
// Mod+Space { switch-layout "next"; }
// Mod+Shift+Space { switch-layout "prev"; }
Print { screenshot; }
//Print { screenshot; }
Mod+Shift+P { spawn-sh "set -e; grim -t ppm -g \"$(slurp -o -d -F monospace)\" - | satty --filename - --copy-command=wl-copy --annotation-size-factor 2.0 --output-filename=\"$(xdg-user-dir PICTURES)/Screenshots/Screenshot from %Y-%m-%d %H:%M:%S.png\" --actions-on-enter=\"save-to-clipboard,exit\" --brush-smooth-history-size=5 --disable-notifications"; }
Ctrl+Print { screenshot-screen; }
Alt+Print { screenshot-window; }
@@ -279,5 +280,5 @@ binds {
// Powers off the monitors. To turn them back on, do any input like
// moving the mouse or pressing any other key.
Mod+Shift+P { power-off-monitors; }
//Mod+Shift+P { power-off-monitors; }
}