aboutsummaryrefslogtreecommitdiff
path: root/env/.local/bin/screenshot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'env/.local/bin/screenshot.sh')
-rwxr-xr-xenv/.local/bin/screenshot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/env/.local/bin/screenshot.sh b/env/.local/bin/screenshot.sh
index 7071b5c..a3a6b1b 100755
--- a/env/.local/bin/screenshot.sh
+++ b/env/.local/bin/screenshot.sh
@@ -6,4 +6,5 @@ SCREENSHOTS_DIR=$HOME/Pictures/Screenshots
FILENAME=$SCREENSHOTS_DIR/$(date +%F_%H-%M-%S).png
mkdir -p $SCREENSHOTS_DIR
-grim $@ $FILENAME && wl-copy < $FILENAME
+
+import $@ $FILENAME && xclip -selection clipboard -target image/png -i < $FILENAME