From e88acdea18983b4e405098accef9ad0b21e73a4a Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 15 Apr 2019 10:46:09 +0200 Subject: Minor upgrades. --- rm.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 rm.sh (limited to 'rm.sh') diff --git a/rm.sh b/rm.sh new file mode 100755 index 0000000..7d694ee --- /dev/null +++ b/rm.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# Moves an element to a litter folder instead of permanently removing it + +folder="$HOME/litter/" +[ -d "$folder" ] || mkdir "$folder" +mv "$1" "$folder" +pkill -SIGRTMIN+14 i3blocks -- cgit v1.2.1