瀏覽代碼

~/.bin/capture: take screenshots by selecting the area/window.

and naming them.
Lucas Stadler 11 年之前
父節點
當前提交
fb2cb77de3
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      .bin/capture

+ 9 - 0
.bin/capture

@ -0,0 +1,9 @@
1
#!/bin/bash
2
3
if [ "$1" = "" ]; then
4
	prefix=""
5
else
6
	prefix="$1-"
7
fi
8
9
scrot -s -e "mv \$f ~/m/pictures/$prefix\$f"