diff options
author | adam <56338480+adastx@users.noreply.github.com> | 2022-10-09 00:49:29 +0200 |
---|---|---|
committer | adam <56338480+adastx@users.noreply.github.com> | 2022-10-09 00:49:29 +0200 |
commit | 4f652d1c49dcf0cb963404308bc4521918b3a292 (patch) | |
tree | ebc1da660c96900a0dd23a382aca3df66fbd6ff8 /.local/bin/polybar-launch | |
parent | c67588de6c97f2182fd87e3f7cc139e055385963 (diff) |
scripts: minor cleanup
Diffstat (limited to '.local/bin/polybar-launch')
-rwxr-xr-x | .local/bin/polybar-launch | 10 |
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 |