1 2 3 4 5 6 7
#!/bin/sh set -e mkdir -p ~/Screenshots f="$HOME/Screenshots/shot-$(date +%s).png" scrot -o -s "$f" feh "$f"