Instead of getting the primary monitor from xrandr we can use the output of polybars `--list-monitors` that we get already. This results in a slight performance boost.
1011 B
Executable File
1011 B
Executable File