12 lines
217 B
Plaintext
12 lines
217 B
Plaintext
|
#!/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}"
|