Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- OUTPUT_FILE="Desktop/$(date +"Image %Y-%m-%d at %I.%M.%S %p.png")"
- case $1 in
- 4)
- gnome-screenshot -a -f "$OUTPUT_FILE"
- ;;
- 3)
- gnome-screenshot -wb -f "$OUTPUT_FILE"
- ;;
- 2) gnome-screenshot -f "$OUTPUT_FILE"
- ;;
- *)
- exit 1
- ;;
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement