figs/bin/screenshot.sh

5 lines
183 B
Bash
Raw Permalink Normal View History

2021-04-13 09:20:34 +00:00
#!/bin/sh
# screenshot.sh: use maim+slop to take a screenshot
TIMESTAMP=$(date +"%m-%d-%Y-%T");
notify-send -t 0 "image captured" "$(maim -m 10 -g $(slop) ~/Pictures/$TIMESTAMP.jpg)"