aboutsummaryrefslogtreecommitdiff
path: root/niri-config/src
diff options
context:
space:
mode:
authormay <63159454+m4rch3n1ng@users.noreply.github.com>2025-01-30 14:50:05 +0100
committerGitHub <noreply@github.com>2025-01-30 13:50:05 +0000
commite412a0fc6bc0e04b4238b3d6de4962c2e19ea4ec (patch)
tree290eb88c9d7c86e4f579e05f5181cda53bbf680a /niri-config/src
parentfb5fedbf24aa66909bb9d112856f27ceb04766a8 (diff)
downloadniri-e412a0fc6bc0e04b4238b3d6de4962c2e19ea4ec.tar.gz
niri-e412a0fc6bc0e04b4238b3d6de4962c2e19ea4ec.tar.bz2
niri-e412a0fc6bc0e04b4238b3d6de4962c2e19ea4ec.zip
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>
Diffstat (limited to 'niri-config/src')
-rw-r--r--niri-config/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs
index b70499d1..dbf3756d 100644
--- a/niri-config/src/lib.rs
+++ b/niri-config/src/lib.rs
@@ -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 {