diff options
author | adam <56338480+adastx@users.noreply.github.com> | 2022-09-12 21:32:09 +0200 |
---|---|---|
committer | adam <56338480+adastx@users.noreply.github.com> | 2022-09-12 21:32:09 +0200 |
commit | 391a0adc5ad597835d6325ef87717fd27177c274 (patch) | |
tree | 3b99597bd486b29a2ad3d51da555e354c5566819 /.local/bin/polybar-launch | |
parent | 76457f29ccdab3fac17c410dee4cfa2e655f46d5 (diff) |
polybar: nicer launch script
Diffstat (limited to '.local/bin/polybar-launch')
-rwxr-xr-x | .local/bin/polybar-launch | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.local/bin/polybar-launch b/.local/bin/polybar-launch index 6e390a7..39e8936 100755 --- a/.local/bin/polybar-launch +++ b/.local/bin/polybar-launch @@ -1,5 +1,9 @@ #!/bin/sh -killall -q polybar -polybar bar1 -r 2>&1 | tee -a /tmp/polybar1.log & disown -polybar bar2 -r 2>&1 | tee -a /tmp/polybar2.log & disown +polybar-msg cmd quit + +echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log +polybar bar1 >> /tmp/polybar1.log 2>&1 & disown +polybar bar2 >> /tmp/polybar2.log 2>&1 & disown + +echo "Bars launched..." |