aboutsummaryrefslogtreecommitdiff
path: root/src/sh/undocked/undocked_20polybar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sh/undocked/undocked_20polybar.sh')
-rwxr-xr-xsrc/sh/undocked/undocked_20polybar.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sh/undocked/undocked_20polybar.sh b/src/sh/undocked/undocked_20polybar.sh
new file mode 100755
index 0000000..aeaced5
--- /dev/null
+++ b/src/sh/undocked/undocked_20polybar.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env zsh
+
+SCRIPT_DIR=$(dirname $(realpath $0))
+
+pkill -9 polybar
+i3-msg exec $SCRIPT_DIR/_undocked_polybar.sh # _ prevents from running in loop