diff options
Diffstat (limited to 'polybar')
-rw-r--r-- | polybar/config.ini | 1 | ||||
-rwxr-xr-x | polybar/launch.sh | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/polybar/config.ini b/polybar/config.ini index b2352b6..7b90932 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -17,6 +17,7 @@ secondary = #e60053 alert = #bd2c40 [bar/top] +monitor = ${env:MONITOR:} width = 100% height = 30 offset-x = 0% diff --git a/polybar/launch.sh b/polybar/launch.sh index e39b321..11e6018 100755 --- a/polybar/launch.sh +++ b/polybar/launch.sh @@ -2,4 +2,6 @@ killall -q polybar -polybar --config=$HOME/.config/polybar/config.ini top +MONITOR=DP-2 polybar --config=$HOME/.config/polybar/config.ini top +sleep 1 +MONITOR=DP-0 polybar --config=$HOME/.config/polybar/config.ini top |