baskerville / bspwm

A tiling window manager based on binary space partitioning
BSD 2-Clause "Simplified" License
7.73k stars 414 forks source link

initial_polarity doesn't respect monitor selector #1383

Closed BrotifyPacha closed 2 years ago

BrotifyPacha commented 2 years ago

Steps to repoduce:

Thanks in advance

emanuele6 commented 2 years ago

It's not a bug. intial_polarity is a "Global Setting", it can only be set globally.

You can't just set any setting per-monitor, per-desktop, and/or per-node.

You can read the manual page to see the list of all the settings and you will see that they are divided in four categories: "Global Settings", "Monitor and Desktop Settings", "Desktop Settings", "Node Settings".

There actually very few setting that are not global-only; only 6:

   Monitor and Desktop Settings
       top_padding, right_padding, bottom_padding, left_padding
           Padding space added at the sides of the monitor or desktop.

   Desktop Settings
       window_gap
           Size of the gap that separates windows.

   Node Settings
       border_width
           Window border width.

You can use -[ndm] SELECTOR only with these six settings. If you specify a selector for a global setting, that is just ignored.

Setting initial_polarity per-monitor is not supported.

BrotifyPacha commented 2 years ago

Oh, okay, thanks for clarification.