add option to set xkb config from file (#1062)

* add option to set xkb config from file

* Apply suggestions from code review

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
This commit is contained in:
may
2025-01-30 14:50:05 +01:00
committed by GitHub
parent fb5fedbf24
commit e412a0fc6b
3 changed files with 65 additions and 5 deletions
+2
View File
@@ -136,6 +136,8 @@ pub struct Xkb {
pub variant: String,
#[knuffel(child, unwrap(argument))]
pub options: Option<String>,
#[knuffel(child, unwrap(argument))]
pub file: Option<String>,
}
impl Xkb {