Fix magick related actions in nsxiv

This commit is contained in:
aartoni 2025-01-25 18:50:42 +01:00
parent c43f390f07
commit ec4c899d49

View File

@ -14,11 +14,11 @@ do
mv "$file" "$destdir" && notify-send -i "$(readlink -f "$file")" "$file moved to $destdir." & mv "$file" "$destdir" && notify-send -i "$(readlink -f "$file")" "$file moved to $destdir." &
;; ;;
"r") "r")
magick -rotate 90 "$file" "$file" ;; magick "$file" -rotate 90 "$file" ;;
"R") "R")
magick -rotate -90 "$file" "$file" ;; magick "$file" -rotate -90 "$file" ;;
"f") "f")
magick -flop "$file" "$file" ;; magick "$file" -flop "$file" ;;
"y") "y")
printf "%s" "$file" | tr -d '\n' | xclip -selection clipboard && printf "%s" "$file" | tr -d '\n' | xclip -selection clipboard &&
notify-send "$file copied to clipboard" & ;; notify-send "$file copied to clipboard" & ;;