JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Do screenshots and add example script for it.
[spectrwm.git] / screenshot.sh
1 #!/bin/sh
2 screenshot() {
3         case $1 in
4         full)
5                 scrot -m
6                 ;;
7         window)
8                 sleep 1
9                 scrot -s
10                 ;;
11         *)
12                 ;;
13         esac;
14 }
15
16 screenshot $1