summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorAdam <adam.moloney.stuck@gmail.com>2021-10-25 18:25:52 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2021-10-26 08:52:22 +0200
commitc8ebd37fefd22f83505ad0f7d3147057618d7235 (patch)
treea77705310dc2b5a376b338a2a1db151681f637b9 /.config
parent490bc31ef20e6a25c8b24e9da45413899481c427 (diff)
Screenshot script now also copies to clipboard
Diffstat (limited to '.config')
-rwxr-xr-x.config/i3/custom/screenshot3
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/i3/custom/screenshot b/.config/i3/custom/screenshot
index 0e22b5d..9a443b1 100755
--- a/.config/i3/custom/screenshot
+++ b/.config/i3/custom/screenshot
@@ -1,5 +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/'