commit 9058cfda63852d165b862e761afcad68d2148d60 parent cdef4a2be263d0a86687f367651d8797e2163e28 Author: tongong <tongong@gmx.net> Date: Sat, 11 Sep 2021 15:54:51 +0200 changed screenshot naming scheme Diffstat:
M | scripts/screenshot-current | | | 2 | +- |
M | scripts/screenshot-select | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/screenshot-current b/scripts/screenshot-current @@ -2,6 +2,6 @@ mkdir ~/screenshots -imagepath=~/screenshots/$(date +%s).png +imagepath=~/screenshots/$(date +%Y-%m-%d-%H-%M-%S).png maim -i $(xdotool getactivewindow) $imagepath -u echo -n $imagepath | xsel -ib diff --git a/scripts/screenshot-select b/scripts/screenshot-select @@ -2,6 +2,6 @@ mkdir ~/screenshots -imagepath=~/screenshots/$(date +%s).png +imagepath=~/screenshots/$(date +%Y-%m-%d-%H-%M-%S).png maim -s $imagepath -u echo -n $imagepath | xsel -ib