JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fix move_to_ws as fallout from killing cur_focus
[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