JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Make tags all the same.
[spectrwm.git] / screenshot.sh
1 #!/bin/sh
2 #
3 # $scrotwm$
4
5 screenshot() {
6         case $1 in
7         full)
8                 scrot -m
9                 ;;
10         window)
11                 sleep 1
12                 scrot -s
13                 ;;
14         *)
15                 ;;
16         esac;
17 }
18
19 screenshot $1