scripts/screenshot

12 lines
217 B
Bash
Executable File

#!/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}"