From f8f6cec4e5fa6027c9e3b401a00dbaf0f036eeeb Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 8 Feb 2023 14:17:04 +0300 Subject: feat(env): restore X screenshotting --- env/.local/bin/screenshot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'env') 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 -- cgit v1.2.3