dotfiles/bin/screenshot
2024-11-04 20:23:14 +00:00

9 lines
186 B
Plaintext

set -x
filename=$(date +"%d:%m:%Y-%H:%M:%S-screenshot.png")
touch $HOME/Screenshots/$filename
grim -g "$(slurp)" "$HOME/Screenshots/$filename"
wl-copy < "$HOME/Screenshots/$filename"