scripts/screenshot

12 lines
217 B
Plaintext
Raw Normal View History

2023-06-09 12:29:19 +00:00
#!/bin/bash
area="${1}"
output="${HOME}/Pictures/screenshots/$(date +'%Y%m%d%H%M%S').jpeg"
grim -g "${area}" \
-t jpeg \
-q 100 \
- > "${output}"
notify-send "Screenshot saved to ${output}"