1 2 3 4 5 6 7
#!/bin/sh # Wrapper script for screenshots [ -d ~/Pictures/screenshots ] || mkdir -p ~/Pictures/screenshots maim ~/Pictures/screenshots/$(date +%s).png