nixos-config/scripts/screenshot-slurp

5 lines
130 B
Bash
Executable file

#!/usr/bin/env bash
grim -g "$(slurp)" - | wl-copy
notify-send "Screenshot saved to clipboard" \
-a grim -c screenshot -u low