#is there any way to toggle "window_based_work_area_offset" ?

1 messages · Page 1 of 1 (latest)

candid fiber
#

I have this config in my komorebi.json but I would like to be able to toggle this in anyway, is there a workaround?

"monitors": [ { "window_based_work_area_offset": { "left": 200, "right": 400, "top": 0, "bottom": 0 }, "workspaces": [ { "name": "1", "layout": "BSP", "initial_workspace_rules": [ { "kind": "Exe", "matching_strategy": "Contains", "id": "zen" }, { "kind": "Exe", "matching_strategy": "Contains", "id": "idea64" } ], "apply_window_based_work_area_offset": true }

candid fiber
#

just for context, in case anyone can suggest a workaround, the use case is the following: I have the browser on workspace 1. while it is the single container, I'd like it to have less width and be more centered. this config does it, but I would like to be able to opt out of it/make it full width through a keybinding.

tender yarrow
#

I believe you can do that with "window_based_work_area_offset_limit" : 1.

#

That means it will only be applied while there is only one window open

#
candid fiber
tender yarrow
#

Ah, my bad, didn't read correctly

median oxideBOT
#

GG @tender yarrow, you just advanced to level 1!

tender yarrow
#

#1257449573979525190 message , #1257449573979525190 message . In this thread they were discussing something similar, I believe the conclusion was to use a different workspace with offset off and not change the workspace on the fly

candid fiber
#

yup, that makes sense. not perfect but its understandable

#

thank you for the help @tender yarrow

candid fiber
#

maybe if container padding was not global and we could have the four coordinates...

median oxideBOT
#

GG @candid fiber, you just advanced to level 3!

verbal atlas
#

You can always maximize the window though with win+uparrow

median oxideBOT
#

GG @verbal atlas, you just advanced to level 1!

odd field