diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-02-08 14:17:04 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-02-08 14:17:04 +0300 |
commit | f8f6cec4e5fa6027c9e3b401a00dbaf0f036eeeb (patch) | |
tree | 5607c7a217e6bb888ed3e329d329b18a1bd69b70 | |
parent | 35ab9aa4ef14391b8c99cadc37f8bbd858f35e97 (diff) | |
download | dotfiles-f8f6cec4e5fa6027c9e3b401a00dbaf0f036eeeb.tar.gz |
feat(env): restore X screenshotting
-rwxr-xr-x | env/.local/bin/screenshot.sh | 3 |
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 |