fuhsjr00 / bug.n

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

anyway to disable tiling functionality? #272

Closed junguler closed 1 year ago

junguler commented 3 years ago

i like the option to not have borders in any programs but i'm not really a fan of the tiling option, is there anyway to disable only that part of bug.n?

joten commented 3 years ago

You may disable dynamic tiling by setting the line Config_dynamicTiling=0 in Config.ini; it leaves bug.n with manual tiling.

junguler commented 3 years ago

thank you

junguler commented 3 years ago

hi again, i noticed when i close bug.n it tiles every open window and exits, is there anyway to disable this behavior? i'm using the .exe version btw, if it makes any difference.

joten commented 3 years ago

Nope, not while using the executable; you would need to alter the code. The tiling on exit is done in line 167 of bug.n/Manager.ahk and insures that all windows are accessible in case bug.n did some misplacement when the monitor configuration was flawed.

In an no-tiling version one could have the following code

;; Restore window positions and sizes.
If (Config_dynamicTiling == 1) {
  Loop, % Manager_monitorCount
  {
    m := A_Index
    Monitor_#%m%_showBar := False
    Monitor_#%m%_showTaskBar := True
    Monitor_getWorkArea(m)
    Loop, % Config_viewCount
    {
      View_arrange(m, A_Index, True)
    }
  }
}
junguler commented 3 years ago

thank you for the detailed response, feel free to close this issue whenever you like.