mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
refactor: move screenshot to scripts
This commit is contained in:
parent
d45f6a9359
commit
1a899dc894
4 changed files with 21 additions and 25 deletions
3
modules/scripts/screenshot.bash
Normal file
3
modules/scripts/screenshot.bash
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
AREA=$(slurp -d)
|
||||
grim -t ppm -g "$AREA" - | satty -f - --initial-tool=arrow --early-exit --copy-command="wl-copy" --action-on-enter="save-to-clipboard" --disable-notifications
|
||||
Loading…
Add table
Add a link
Reference in a new issue