Move wayland scripts
This commit is contained in:
parent
07eac39788
commit
d3b14d2698
6 changed files with 1 additions and 1 deletions
9
home-manager/wayland/scripts/screenshot-slurp
Executable file
9
home-manager/wayland/scripts/screenshot-slurp
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
if region="$(slurp)"; then
|
||||
grim -g "$region" - | wl-copy
|
||||
notify-send "Screenshot saved to clipboard" \
|
||||
-a grim -c screenshot -u low -t 3000
|
||||
else
|
||||
notify-send "Screenshot cancelled" \
|
||||
-a grim -c screenshot -u low -t 3000
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue