aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-11-29 14:07:54 +0300
committereug-vs <eugene@eug-vs.xyz>2022-11-29 14:07:54 +0300
commit64fbda41591c42e662a75875f905f5b9a3a28bd8 (patch)
tree3dd236c73f8d443a10842b02a22b39798695cf93 /env
parent7319f1c472551c2cd04152553434d8f513578805 (diff)
downloaddotfiles-64fbda41591c42e662a75875f905f5b9a3a28bd8.tar.gz
feat(wayland): support screenshots
Diffstat (limited to 'env')
-rwxr-xr-xenv/.local/bin/screenshot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/.local/bin/screenshot.sh b/env/.local/bin/screenshot.sh
index 5acf77b..7071b5c 100755
--- a/env/.local/bin/screenshot.sh
+++ b/env/.local/bin/screenshot.sh
@@ -6,4 +6,4 @@ SCREENSHOTS_DIR=$HOME/Pictures/Screenshots
FILENAME=$SCREENSHOTS_DIR/$(date +%F_%H-%M-%S).png
mkdir -p $SCREENSHOTS_DIR
-import $@ $FILENAME && xclip -selection clipboard -target image/png -i < $FILENAME
+grim $@ $FILENAME && wl-copy < $FILENAME