-
-
Notifications
You must be signed in to change notification settings - Fork 723
Closed
Description
When I run an external screen in mirrored mode (i.e. the same viewport as my main monitor), polybar no longer recognizes my main monitor and exits with:
◆ polybar -r example
error: Monitor "eDP-1" not found or disconnected
Here is the relevant part of my config:
[default]
monitor = ${env:MONITOR:eDP-1}
XRandR still lists the monitor with the exact same name:
◆ xrandr --listmonitors
Monitors: 2
0: +*eDP-1 2560/309x1440/174+0+0 eDP-1
1: +HDMI-2 2560/677x1440/381+0+0 HDMI-2
◆ xrandr -q
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192
eDP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
2560x1440 60.00*+
// ....
HDMI-2 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1920x1080 60.00*+ 50.00 59.94 30.00 25.00 24.00 29.97 23.98
// ...
... but polybar does not recognize it:
◆ polybar --list-monitors
HDMI-2: 2560x1440+0+0
I am running the latest Git master with WITH_XRANDR_MONITORS enabled:
◆ polybar -v
polybar 3.1.0-110-gff39c9d-git
Features: -alsa +curl -i3 -mpd +network +pulseaudio
Vincevrp, frabjous and tareefdev