add dir, change launch script and update config

This commit is contained in:
Jeff Lance 2023-04-26 19:53:57 +02:00
parent 64f6bc342f
commit ea4e1c0124
2 changed files with 14 additions and 1 deletions

View File

@ -42,7 +42,7 @@ alert = #bd2c40
[bar/saitama]
[bar/main]
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 27

View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
# Terminate already running bar instances
# If all your bars have ipc enabled, you can use
polybar-msg cmd quit
# Otherwise you can use the nuclear option:
# killall -q polybar
# Launch bar1 and bar2
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
polybar main 2>&1 | tee -a /tmp/polybar1.log & disown
on