Advertisement
Guest User

Untitled

a guest
Oct 24th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #!/bin/bash
  2. OUTPUT_FILE="Desktop/$(date +"Image %Y-%m-%d at %I.%M.%S %p.png")"
  3.  
  4. case $1 in
  5. 4)
  6. gnome-screenshot -a -f "$OUTPUT_FILE"
  7. ;;
  8. 3)
  9. gnome-screenshot -wb -f "$OUTPUT_FILE"
  10. ;;
  11. 2) gnome-screenshot -f "$OUTPUT_FILE"
  12. ;;
  13. *)
  14. exit 1
  15. ;;
  16. esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement