-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
Load custom layouts from file #50
Comments
Work on this issue has been started here: https://github.com/LGUG2Z/komorebi/tree/feature/custom-layouts
Anyone can now build from this branch and load custom layouts with the Example of a valid custom layout JSON file: [
{
"column": "Secondary",
"configuration": {
"Horizontal": 3
}
},
{
"column": "Primary"
},
{
"column": "Tertiary",
"configuration": "Horizontal"
}
] |
This commit adds a ColumnWidth for Column::Primary which can optionally be given as a percentage of the total work area of a monitor. The remaining columns will have their widths calculated by dividing the remaining work area space evenly. This commit also fixes a bug with the Promote command, which was not calculating the primary container index of custom layouts properly, and was also not using this value to update the focused container index at the end of the promotion handler. re #50
This commit adds support for loading custom layouts from yaml files, and also moves the custom layout loading and validating logic into the komorebi-core crate. re #50
Support for YAML files has also been added, example: - column: Secondary
configuration:
Horizontal: 2
- column: Primary
configuration:
WidthPercentage: 50
- column: Tertiary
configuration: Horizontal |
This commit adds some documentation around custom layouts as well as a YAML example. The load-layout command has been renamed to load-custom-layout for consistency. re #50
This commit adds a ColumnWidth for Column::Primary which can optionally be given as a percentage of the total work area of a monitor. The remaining columns will have their widths calculated by dividing the remaining work area space evenly. This commit also fixes a bug with the Promote command, which was not calculating the primary container index of custom layouts properly, and was also not using this value to update the focused container index at the end of the promotion handler. re #50
This commit adds support for loading custom layouts from yaml files, and also moves the custom layout loading and validating logic into the komorebi-core crate. re #50
This commit adds some documentation around custom layouts as well as a YAML example. The load-layout command has been renamed to load-custom-layout for consistency. resolve #50
The default layouts do not always provide for a nice experience on ultrawide monitors and allowing custom layouts to be defined and loaded on the fly would be a big improvement in this area.
The text was updated successfully, but these errors were encountered: