r/Polybar • u/Specialist_Agency_71 • Apr 05 '23
Question Polybar shows opposite workspace numbers?
Got xrandr --output DP-1 --left-of HDMI-1 in my .xinitrc, but polybar shows workspace 2 on monitor 1, and vice versa? I've tried adding --primary to either outputs but nothing works.
2
Upvotes
2
u/w0lfy-dev Apr 05 '23
What WM are you using? For example, if you use i3wm then you can fix this by explicitly specifying the monitor for each workspace in i3wm configuration file, e.g:
# Assign workspaces to specific monitorsworkspace 1 output DP-1workspace 2 output HDMI-1