hyprland workspace: ss and save

This commit is contained in:
Ferit Yiğit BALABAN 2023-05-25 07:36:03 +03:00
parent 473f4efd2d
commit 7a9f503017
Signed by: fyb
GPG Key ID: E21FEB2C244CB7EB

8
wl_ss.sh Normal file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
#
# Ferit Yiğit BALABAN, <fybalaban@fybx.dev>
#
# Select an area with slurp, ss with grim
# and copy to clipboard.
export GRIM_DEFAULT_DIR="$HOME/items/ss"
grim -g "$( slurp )" - | wl-copy --type image/png