summaryrefslogtreecommitdiff
path: root/.config/i3/custom/screenshot
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-25 18:25:52 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-25 18:25:52 +0200
commit726277d20d8ededbe44aa4560b1ec7e3413b7a3c (patch)
tree593c84b3652aaf31177ab650c75420c5537b219d /.config/i3/custom/screenshot
parent52cb0aca8707b00e2bb6fd4dff7ff788f508fe4d (diff)
Screenshot script now also copies to clipboard
Diffstat (limited to '.config/i3/custom/screenshot')
-rwxr-xr-x.config/i3/custom/screenshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/i3/custom/screenshot b/.config/i3/custom/screenshot
index a3bae84..9a443b1 100755
--- a/.config/i3/custom/screenshot
+++ b/.config/i3/custom/screenshot
@@ -1,4 +1,4 @@
#!/bin/sh
sleep 0.2
-scrot -sfe 'mv $f ~/Pictures/screenshots/'
+scrot -sfe 'xclip -selection c -t image/png < $f; mv $f ~/Pictures/screenshots/'