-
-
Notifications
You must be signed in to change notification settings - Fork 723
Description
Describe the issue
Expected behavior:
My setup is 1080p monitor + 2160p Monitor/TV over HDMI, I use bspwm on Arch and polybar-git from the AUR, when I use the xworkspaces and set pin-workspaces to true, it doesn't show the workspaces on the right monitor, instead the xworkspace module on monitor 1 shows half of the WSs and the one on monitor 2 the rest
WS 1-11 on Monitor 1 as defined in my bspwmrc
WS 12 on Monitor 2 as defined in my bspwmrc
Actual behavior:
xworkspace module on monitor 1 shows WS 1-6
xworkspace module on monitor 2 shows WS 7-12
To Reproduce
A minimal but complete config with which the problem occurs:
[module/workspaces]
type = internal/xworkspaces
pin-workspaces = true
enable-click = true
enable-scroll = true
icon-0 = 一
icon-1 = 二
icon-2 = 三
icon-3 = 四
icon-4 = 五
icon-5 = 六
icon-6 = 七
icon-7 = 八
icon-8 = 九
icon-9 = 十
icon-10 = 十一
icon-11 = 〇
icon-default = 一
format = <label-state>
format-padding = 0
label-monitor = %name%
label-active = %name%
label-active-foreground = ${color.ac}
label-active-background = ${color.bg}
label-active-overline = ${color.ac}
label-occupied = %name%
label-occupied-underline = ${color.fg}
label-urgent = %name%
label-urgent-foreground = ${color.red}
label-urgent-background = ${color.bg}
label-empty = %name%
label-empty-foreground = ${color.fg}
label-active-padding = 2
label-urgent-padding = 2
label-occupied-padding = 2
label-empty-padding = 2Screenshots
If applicable, add screenshots to help explain your problem.
https://i.imgur.com/sTtaAJs.png
Environment:
- WM: bspwm
- Distro: Arch
- Output of
polybar -vvv:
polybar 3.3.0-85-g9103d232
Features: +alsa +curl -i3 -mpd +network(libnl) +pulseaudio +xkeyboard
X extensions: +randr (+monitors) -render -damage -sync +composite +xkb +xrm +xcursor
Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
Am I doing anything wrong is that a bug? It seems like on a multimonitor setup polybar/xworkspaces doesn't recognise which workspace belongs on what monitor and just assumes a 50:50 split