ソースを参照

~/.bin/shot: Take a screenshot and maybe name it

Uses `scrot -s`, but makes the names actually readable/useful later.
Lu Stadler 7 年 前
コミット
4f167cd2cf
共有1 個のファイルを変更した8 個の追加0 個の削除を含む
  1. 8 0
      .bin/shot

+ 8 - 0
.bin/shot

@ -0,0 +1,8 @@
1
#!/bin/bash
2
3
suffix=""
4
if [ -n "$1" ]; then
5
	suffix="_$1"
6
fi
7
8
scrot -s "%Y-%m-%dT%H:%M:%S${suffix}.png"