diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index bf64c6e..7598a8c 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -33,7 +33,8 @@ alert = ${xrdb:color9:} [bar/example] ; Use xrandr -q | grep " connected" | cut -d ' ' -f1 ; for a list of connected monitors -monitor = VGA-1 +; Set the monitor by configuring the env variable MONITOR. e.g MONITOR=HDMI +monitor = ${env:MONITOR:} ; Use the specified monitor as a fallback if the main one is not found. monitor-fallback = LVDS1