aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-09-01 00:14:43 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-09-01 00:14:43 +0200
commitb0541707b1331146dd510b582adb5fce15896ab7 (patch)
tree55ac9d2bdda86ea352040c17bd20b447a3ba88da
parent9e5b14b338fa07a0da3c8799125dc217d0c8f5e5 (diff)
downloaddotfiles-b0541707b1331146dd510b582adb5fce15896ab7.tar.gz
launch_polybar.sh
-rwxr-xr-xscripts/launch_polybar.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/launch_polybar.sh b/scripts/launch_polybar.sh
new file mode 100755
index 0000000..a72da57
--- /dev/null
+++ b/scripts/launch_polybar.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+killall polybar
+
+for m in $(polybar --list-monitors | cut -d":" -f1); do
+ MONITOR=$m polybar --reload jonny &
+done