Trash file instead of rm.

This commit is contained in:
dabruh 2022-06-03 20:25:27 +02:00
parent eb8f87339d
commit cd25fb4c85
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ FILE="$(get_field file)"
ACTION="$1"
if [ "$ACTION" == "rm" ]; then
rm -vI "$FILE"
trash -v "$FILE"
cmus-remote --next
elif [ "$ACTION" == "mv" ]; then
TARGET_DIR="${2}"