aboutsummaryrefslogtreecommitdiff
path: root/uninstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'uninstall.sh')
-rwxr-xr-xuninstall.sh12
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."