Commit for generation 154

This commit is contained in:
2024-10-02 03:20:46 -04:00
parent f3755c7fe9
commit 14c2a79c2f

View File

@@ -185,7 +185,7 @@ safe_rm() {
# Perform the removal if no checks or confirmation is "y"
if [ "$check" = false ] || [ "$confirm" = "y" ]; then
check_sounds && (aplay ~/sound/sys/rm.wav > /dev/null 2>&1 &)
sounds_enabled && (aplay ~/sound/sys/rm.wav > /dev/null 2>&1 &)
/run/current-system/sw/bin/rm -rfv "$dir"
else
echo "Operation cancelled for '$dir'."