From 01ced0b7ce47d279789efb2dc70d1cd009ac56ad Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 9 Oct 2021 22:20:41 +0100 Subject: initial commit --- scripts/.scripts/screenshot | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 scripts/.scripts/screenshot (limited to 'scripts/.scripts/screenshot') diff --git a/scripts/.scripts/screenshot b/scripts/.scripts/screenshot new file mode 100755 index 0000000..3aa7f47 --- /dev/null +++ b/scripts/.scripts/screenshot @@ -0,0 +1,4 @@ +#!/bin/bash +#sleep 0.2 +#scrot -s '/home/david/pics/screenshot/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f' +maim -su /dev/stdout | tee >(xclip -selection clipboard -t image/png) > $(date +"/home/david/pics/screenshot/%F_%T.png") -- cgit v1.2.1