bug.n icon indicating copy to clipboard operation
bug.n copied to clipboard

anyway to disable tiling functionality?

Open junguler opened this issue 4 years ago • 5 comments

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?

junguler avatar Jan 09 '21 03:01 junguler

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

joten avatar Jan 09 '21 19:01 joten

thank you

junguler avatar Jan 09 '21 20:01 junguler

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.

junguler avatar Jan 10 '21 13:01 junguler

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)
    }
  }
}

joten avatar Jan 13 '21 18:01 joten

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

junguler avatar Jan 13 '21 19:01 junguler