aboutsummaryrefslogtreecommitdiff
path: root/rm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rm.sh')
-rwxr-xr-xrm.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/rm.sh b/rm.sh
index 7d694ee..59a07fc 100755
--- a/rm.sh
+++ b/rm.sh
@@ -4,5 +4,8 @@
folder="$HOME/litter/"
[ -d "$folder" ] || mkdir "$folder"
-mv "$1" "$folder"
+for file in "$@"
+do
+ mv "$file" "$folder"
+done
pkill -SIGRTMIN+14 i3blocks