mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-29 11:52:50 +01:00
fix(cli): tag enum arg for ws layout rule cmd
This commit ensures that the final argument of the 'workspace-layout-rule' command, which takes a variant of the DefaultLayout enum, is properly labelled with the #[arg_enum] tag so that serialization and deserialization works as expected with other commands that take a DefaultLayout enum variant as an arg. fix #171
This commit is contained in:
1 parent
b982021573
commit
ebcd7ce224
2 files changed
+3
-2
No files matched your search
@@ -212,6 +212,7 @@ pub struct WorkspaceLayoutRule {
|
||||
/// The number of window containers on-screen required to trigger this layout rule
|
||||
at_container_count: usize,
|
||||
|
||||
#[clap(arg_enum)]
|
||||
layout: DefaultLayout,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user