diff options
author | ache <ache@ache.one> | 2021-09-09 08:35:38 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2021-09-09 08:35:38 +0200 |
commit | c6cda95669738cf20b075067c9e344375d88afc9 (patch) | |
tree | bb0c26bfc45244fc6455702a5bb17a1052e0d9e7 | |
parent | Set autoMMS as a script (diff) |
autoWall: Delete current wallpaper
-rwxr-xr-x | autoWall.sh | 5 |
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 |