mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
workspace-layout and workspace-layout-rule expect different naming schemes
#105
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vbarrancos on GitHub (Jul 3, 2022).
Originally assigned to: @LGUG2Z on GitHub.
Hello!
While setting up Komorebi, I was trying to troubleshoot an issue where my simple layout rules weren't being applied. Pretty much just:
I was already successfully calling
WorkspaceLayout(0, 1, "ultrawide-vertical-stack")for another workspace, so I couldn't figure out what I was doing wrong until I started manually feeding commands into my terminal one by one, at which point I noticed the following error.I noticed that in default_layout.rs, layout names are set to be serialized using snake case, so I gave
ultrawide_vertical_stacka shot and sure enough that worked. However, it does not work forworkspace-layout, which seems to want kebab case...My Rust-fu is woefully inadequate so I can't identify where this discrepancy is occurring. Both commands seem to accept a
DefaultLayoutas input, so I would expect them to use the same serialization strategy, be itultrawide-vertical-stackorultrawide_vertical_stack.@LGUG2Z commented on GitHub (Jul 3, 2022):
@vbarrancos Thanks for finding and reporting this so clearly! I have pushed tested and pushed a fix for this to the master branch. 🎉