summaryrefslogtreecommitdiff
path: root/.local/bin/statusbar
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-16 15:05:46 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-16 15:05:46 +0100
commita285a64feee467d211744665f9b9b33568f117ab (patch)
treef68cc264c48a77501cf5f381b2bd3641dd4034c3 /.local/bin/statusbar
parentb0552979200bda4f2006977d8b7baef0599e74e3 (diff)
Add popupgrade script
Diffstat (limited to '.local/bin/statusbar')
-rwxr-xr-x.local/bin/statusbar/sb-popupgrade9
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/bin/statusbar/sb-popupgrade b/.local/bin/statusbar/sb-popupgrade
new file mode 100755
index 0000000..dd5322f
--- /dev/null
+++ b/.local/bin/statusbar/sb-popupgrade
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+printf "Beginning upgrade.\\n"
+
+paru -Syu
+pkill -RTMIN+8 "${STATUSBAR:-dwmblocks}"
+
+printf "\\nUpgrade complete.\\nPress <Enter> to exit window.\\n\\n"
+read -r _