diff options
author | Archie Hilton (thytom) <archie.hilton1@gmail.com> | 2019-10-22 23:08:33 +0100 |
---|---|---|
committer | Archie Hilton (thytom) <archie.hilton1@gmail.com> | 2019-10-22 23:08:33 +0100 |
commit | e9a3867a4f39e30a2b94625428770f56d45580aa (patch) | |
tree | 33c9da22b7f0e9c1822274fe66347587175157cc /uninstall.sh | |
parent | 6de7a8e0a7b2f19d4430b9e23584e6cda7933908 (diff) |
Added uninstall script and tweaked install.sh
Diffstat (limited to 'uninstall.sh')
-rwxr-xr-x | uninstall.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/uninstall.sh b/uninstall.sh new file mode 100755 index 0000000..37f1322 --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +if [ "$EUID" -ne 0 ] + then echo "Please run as root" + exit 1 +fi + +rm -rf "/usr/share/dwmbar" +rm -f "/usr/bin/dwmbar" + +echo "Completed." +echo "Please delete ~/.config/dwmbar manually, if desired." |