diff options
author | turret <turret@duck.com> | 2023-11-11 16:31:43 -0600 |
---|---|---|
committer | turret <turret@duck.com> | 2023-11-11 16:31:43 -0600 |
commit | 9932a24001e292ed2fe66c32dabc3078514bb80b (patch) | |
tree | 91b998e5894bb6c2fddbabed228f82f13779fdd0 /.local/bin/screenshot | |
parent | 952f0f8c87f2af900b53d5afe4c9dbc566b03ef4 (diff) | |
download | skel-9932a24001e292ed2fe66c32dabc3078514bb80b.tar.gz skel-9932a24001e292ed2fe66c32dabc3078514bb80b.tar.bz2 skel-9932a24001e292ed2fe66c32dabc3078514bb80b.zip |
local/bin: add utility scripts on my main box
Diffstat (limited to '.local/bin/screenshot')
-rwxr-xr-x | .local/bin/screenshot | 6 |
1 files changed, 6 insertions, 0 deletions
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) |