Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Define sub-layouts for layouts in configuration file #187

Open
ctruett opened this issue Mar 21, 2024 · 1 comment
Open

Comments

@ctruett
Copy link

ctruett commented Mar 21, 2024

It would be helpful to be able to define layouts in the configuration that would be restore on launch or that could be triggered by a hotkey.

The layout definitions could look like this:

[layout]
name = 'main_workspace'
mode = 'tiling'
monitor = 1

[main_workspace.calendar] # layout_name.sub-layout_name
type = 'v_accordion' # sub-layout type
apps = ['com.microsoft.Outlook2', 'com.apple.mail'] # List of app-ids
position = [8, 33] # percentages?
size = [582, 1758] # percentages?

[main_workspace.browser]
type = 'static'
apps = ['com.apple.Safari']
position = [602, 33]
size = [1492, 1758]

[main_workspace.terminal]
type = 'tiles'
apps = ['com.googlecode.iTerm2']
position = [2106, 33]
size = [1086, 873]

[main_workspace.teams]
type = 'tiles'
apps = ['com.microsoft.teams2']
position = [2106, 918]
size = [1086, 873]
@ctruett
Copy link
Author

ctruett commented Apr 15, 2024

Updated with a better configuration suggestion.

@ctruett ctruett changed the title Define layouts in configuration file [feature request] Define sub-layouts for layouts in configuration file Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant