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