fuhsjr00 / bug.n

Tiling Window Manager for Windows
GNU General Public License v3.0
3.36k stars 214 forks source link

Default layout fo each view #181

Open spadino opened 6 years ago

spadino commented 6 years ago

Hi! I'm trying to understand if there's a way to define a default layout for each views. I would like to have all views from 1 to 6 tiled, and from 7 to 9 monocle, by default. There's some way to achieve this?

Thanks for the marvelous program!

joten commented 6 years ago

By default, bug.n saves this information with the current session; therefor, if you set the layout for each view as defined, the configuration should be restored, when bug.n restarts.

But you may also set the layout directly by adding the following lines to your Config.ini (This only regards the first monitor.):

View_#1_#1_layout_#1=1
View_#1_#2_layout_#1=1
View_#1_#3_layout_#1=1
View_#1_#4_layout_#1=1
View_#1_#5_layout_#1=1
View_#1_#6_layout_#1=1
View_#1_#7_layout_#1=2
View_#1_#8_layout_#1=2
View_#1_#9_layout_#1=2
spadino commented 6 years ago

That's awesome, thank you so much! ;)