mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-09 17:54:22 +02:00
polybar: optimize the case with one monitor
This commit is contained in:
parent
97d59dd795
commit
1db91fb0eb
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ PRIMARY=${PRIMARY:-${MONITORS%% *}}
|
|||
|
||||
case $(echo $MONITORS | wc -w) in
|
||||
1)
|
||||
MONITOR=$PRIMARY polybar --reload alone &
|
||||
MONITOR=$PRIMARY exec polybar --reload alone
|
||||
;;
|
||||
*)
|
||||
MONITOR=$PRIMARY polybar --reload primary &
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue