summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
authorAdam <adam@adast.xyz>2022-05-31 16:28:16 +0200
committerAdam <adam@adast.xyz>2022-06-02 11:21:35 +0200
commitc378c2e6190afbd9538f0a743e21949a98798056 (patch)
treebf22c8fc72ddc48eb923a54d8269ec6149437c24 /.local/bin
parent14d624ea44f3e112f613b858d380f560ffdaec87 (diff)
Moved polybar launch script to .local/bin
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/polybar-launch7
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/bin/polybar-launch b/.local/bin/polybar-launch
new file mode 100755
index 0000000..952950d
--- /dev/null
+++ b/.local/bin/polybar-launch
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+killall -q polybar
+
+for m in $(polybar --list-monitors | cut -d":" -f1); do
+ MONITOR=$m polybar --reload bar1 &
+done