dotfiles/bin/dot-bin/screenshot.sh

4 lines
174 B
Bash
Executable File

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"