dotfiles/bin/dot-bin/screenshot.sh

4 lines
174 B
Bash
Raw Normal View History

location="$HOME/ocis/Personal/screenshots"
scrot "$location/%Y-%m-%d-%T-screenshot.png" && notify-send "Screenshot saved to $location/$(date +"%Y-%m-%d-%T")-screenshot.png"