summaryrefslogtreecommitdiff
path: root/.local/bin/polybar-launch
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-09 00:49:29 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-10-09 00:49:29 +0200
commit4f652d1c49dcf0cb963404308bc4521918b3a292 (patch)
treeebc1da660c96900a0dd23a382aca3df66fbd6ff8 /.local/bin/polybar-launch
parentc67588de6c97f2182fd87e3f7cc139e055385963 (diff)
scripts: minor cleanup
Diffstat (limited to '.local/bin/polybar-launch')
-rwxr-xr-x.local/bin/polybar-launch10
1 files changed, 2 insertions, 8 deletions
diff --git a/.local/bin/polybar-launch b/.local/bin/polybar-launch
index 7dfde7a..a23059e 100755
--- a/.local/bin/polybar-launch
+++ b/.local/bin/polybar-launch
@@ -2,11 +2,5 @@
polybar-msg cmd quit
-for m in $(polybar --list-monitors | cut -d":" -f1); do
- MONITOR=$m
- LOG_FILE="/tmp/polybar.$m.log"
- echo "---" >> $LOG_FILE
- polybar bar1 >> $LOG_FILE 2>&1 & disown
-done
-
-echo "Bars launched..."
+echo "---" >> /tmp/polybar.log
+polybar bar1 --reload >> /tmp/polybar.log 2>&1 & disown