figs/bin/screenshot.sh
2021-04-16 05:36:00 -05:00

4 lines
183 B
Bash
Executable file

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