summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdotfiles/hyprland/.local/bin/screenshot4
1 files changed, 2 insertions, 2 deletions
diff --git a/dotfiles/hyprland/.local/bin/screenshot b/dotfiles/hyprland/.local/bin/screenshot
index 3e61291..c5803c8 100755
--- a/dotfiles/hyprland/.local/bin/screenshot
+++ b/dotfiles/hyprland/.local/bin/screenshot
@@ -17,7 +17,7 @@ CHOICE=$(printf '󰅍 Copy Path\n󰋩 Copy Image\n󰏫 Annotate' | \
fuzzel --dmenu --prompt "Screenshot: " --width 20 --lines 3)
case "$CHOICE" in
- *"Copy Path"*) echo -n "$FILE" | wl-copy ;;
- *"Copy Image"*) wl-copy < "$FILE" ;;
+ *"Copy Path"*) echo -n "$FILE" | wl-copy --type text/plain ;;
+ *"Copy Image"*) wl-copy --type image/png < "$FILE" ;;
*"Annotate"*) satty --filename "$FILE" --output-filename "$FILE" --copy-command wl-copy ;;
esac