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_fs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 scripts/.scripts/screenshot_fs (limited to 'scripts/.scripts/screenshot_fs') diff --git a/scripts/.scripts/screenshot_fs b/scripts/.scripts/screenshot_fs new file mode 100755 index 0000000..827eb9f --- /dev/null +++ b/scripts/.scripts/screenshot_fs @@ -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 -u /dev/stdout | tee >(xclip -selection clipboard -t image/png) > $(date +"/home/david/pics/screenshot/%F_%T.png") -- cgit v1.2.1