aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsxiv/.config/sxiv/exec/key-handler2
1 files changed, 1 insertions, 1 deletions
diff --git a/sxiv/.config/sxiv/exec/key-handler b/sxiv/.config/sxiv/exec/key-handler
index 77e4a45..a182a84 100755
--- a/sxiv/.config/sxiv/exec/key-handler
+++ b/sxiv/.config/sxiv/exec/key-handler
@@ -9,7 +9,7 @@ do
"C-r")
convert -rotate 90 "$file" "$file" ;;
"C-c")
- echo -n "$file" | xclip -selection clipboard ;;
+ xclip -selection clipboard -target image/png -i < "$file" ;;
"C-w")
ln -sf "$file" "$WALLPAPER_LOCATION" && xwallpaper --zoom "$file" ;;
esac