Clean up monitor-setup
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
7f0114dae6
commit
5f170c2db6
2 changed files with 9 additions and 7 deletions
|
@ -38,7 +38,9 @@ MONITORS=(
|
|||
)
|
||||
|
||||
for monitor in "${MONITORS[@]}"; do
|
||||
export POLYBAR_MONITOR="${monitor}"
|
||||
polybar top &
|
||||
polybar bottom &
|
||||
if is-connected "${monitor}"; then
|
||||
export POLYBAR_MONITOR="${monitor}"
|
||||
polybar top &
|
||||
polybar bottom &
|
||||
fi
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue