spectrwm/screenshot.sh

19 lines
131 B
Bash
Raw Normal View History

#!/bin/sh
2009-01-27 16:16:20 +00:00
#
screenshot() {
case $1 in
full)
scrot -m
;;
window)
sleep 1
scrot -s
;;
*)
;;
esac;
}
screenshot $1