From 9932a24001e292ed2fe66c32dabc3078514bb80b Mon Sep 17 00:00:00 2001 From: turret Date: Sat, 11 Nov 2023 16:31:43 -0600 Subject: local/bin: add utility scripts on my main box --- .local/bin/screenshot | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .local/bin/screenshot (limited to '.local/bin/screenshot') diff --git a/.local/bin/screenshot b/.local/bin/screenshot new file mode 100755 index 0000000..085c47d --- /dev/null +++ b/.local/bin/screenshot @@ -0,0 +1,6 @@ +#!/bin/sh +FILE=~/Pictures/$(date --iso-8601=seconds).png +scrot -izfps -F - > $FILE +xclip -in -selection clipboard -target image/png < $FILE +# | xclip -in -selection clipboard -target image/png \ +# && xclip -out > $(echo -n ~/Pictures/$(date --iso-8601=seconds).png) -- cgit v1.2.3