-
-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add command to programatically run all on-window-detected callbacks #107
Comments
Nice. I like the suggestion. The hardest part here is to come up with a good name for the command Brainstorming:
Right now, 2 and 3 are my favorite. IMO, they are the most clear. Ideas are welcome
Right now. it's not possible, but probably it'd be nice to have. What is your use case? I'm curious if it were possible to run The hardest part is to come up with a good syntax Brainstorming: # (a)
default-root-container-layout = 'tiles'
workspace.1.default-root-container-layout = 'tiles'
# (b)
[default-root-container-layout]
workspace.1 = 'tiles'
workspace.2 = 'accordion'
workspace.all = 'tiles' # 'all' will be a reserved name for workspaces since 0.8.0, anyway
# (c)
[default-root-container-layout]
workspace.1 = 'tiles'
workspace.2 = 'accordion'
other = 'tiles' |
Regarding the command name, I think the second option is good:
The use case is to fast switch maximised apps in the same workspace. E.g I like to have a workspace for IDEs where I have multiple instances (different folders/projects opened) and I like a stacked/accordion layout for that.
Yes sort of, but when using different apps I would need a rule for each of them to set the layout. It feels more natural to set the layout at the workspace configuration level. Regarding the syntax, I like your options (a) and (b).
|
+1 for this feature request |
Hi,
It's possible to have a command that runs all the
on-window-detected
callbacks?Use-case:
I have the apps <> workspaces affinities setup like:
Sometimes I move apps between workspaces and then have the need to reposition them back to the initial workspaces. So it would be useful to have a command like
aerospace force-window-detected
to run all the rules the move the windows back to their original workspace.Also a different request/question, it's possible to assign layouts to workspaces in the config file? e.g(UPD: resolved in the comments)workspace 1
to start with theh_accordion
layout.The text was updated successfully, but these errors were encountered: