removed -n flag from echo

This commit is contained in:
Mohammad Reza 2022-04-10 20:47:26 +04:30
parent 4f84b6a4d6
commit 63cc559e81

View File

@ -20,7 +20,7 @@ do
"f") "f")
convert -flop "$file" "$file" ;; convert -flop "$file" "$file" ;;
"y") "y")
echo -n "$file" | tr -d '\n' | xclip -selection clipboard && echo "$file" | tr -d '\n' | xclip -selection clipboard &&
notify-send "$file copied to clipboard" & ;; notify-send "$file copied to clipboard" & ;;
"Y") "Y")
readlink -f "$file" | tr -d '\n' | xclip -selection clipboard && readlink -f "$file" | tr -d '\n' | xclip -selection clipboard &&