Use launch script for #polybar
This commit is contained in:
@ -28,7 +28,7 @@ secondary = #e60053
|
||||
alert = #bd2c40
|
||||
|
||||
[bar/primary]
|
||||
;monitor = ${env:MONITOR:HDMI-1}
|
||||
monitor = ${env:MONITOR:}
|
||||
width = 100%
|
||||
height = 24
|
||||
;offset-x = 1%
|
||||
|
||||
7
polybar/.config/polybar/launch.sh
Executable file
7
polybar/.config/polybar/launch.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
pkill polybar
|
||||
|
||||
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||||
MONITOR=$m polybar --reload primary &
|
||||
done
|
||||
Reference in New Issue
Block a user