aboutsummaryrefslogtreecommitdiffstats
path: root/polybar/.config/herbstluftwm/autostart.d/polybar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'polybar/.config/herbstluftwm/autostart.d/polybar.sh')
-rw-r--r--polybar/.config/herbstluftwm/autostart.d/polybar.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/polybar/.config/herbstluftwm/autostart.d/polybar.sh b/polybar/.config/herbstluftwm/autostart.d/polybar.sh
new file mode 100644
index 0000000..57ea1e3
--- /dev/null
+++ b/polybar/.config/herbstluftwm/autostart.d/polybar.sh
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+pgrep polybar || { polybar "$(hostname)" 2>/dev/null & }