aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2021-09-09 08:35:38 +0200
committerache <ache@ache.one>2021-09-09 08:35:38 +0200
commitc6cda95669738cf20b075067c9e344375d88afc9 (patch)
treebb0c26bfc45244fc6455702a5bb17a1052e0d9e7
parentSet autoMMS as a script (diff)
autoWall: Delete current wallpaper
-rwxr-xr-xautoWall.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoWall.sh b/autoWall.sh
index 36432cb..f5fc628 100755
--- a/autoWall.sh
+++ b/autoWall.sh
@@ -28,6 +28,11 @@ do
done
echo
fi
+
+ if [ ${action} = "del" -o ${action} = "delete" ]
+ then
+ rm $(cat ~/.actWall)
+ fi
if [ ${action} = "save" ]
then
cp ~/.actWall ~/.savedWall