]> code.delx.au - spectrwm/blob - screenshot.sh
add initial stack mode at start-of-day. this really could use some
[spectrwm] / 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