Skip to content

Commit f9076ec

Browse files
committed
add kdl v2 support
This adds v2 support with fallback to v1 for legacy configs. It might be a bit bumpy at first but I'm hoping it works ok. Probably worth treating as experimental for now.
1 parent 44c9797 commit f9076ec

File tree

3 files changed

+1402
-52
lines changed

3 files changed

+1402
-52
lines changed

Cargo.lock

+144-48
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

niri-config/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ repository.workspace = true
1010
[dependencies]
1111
bitflags.workspace = true
1212
csscolorparser = "0.7.0"
13+
kdl = { version = "6.3.3", features = ["v1-fallback"] }
1314
knuffel = "3.2.0"
14-
miette = { version = "5.10.0", features = ["fancy-no-backtrace"] }
15+
miette = { version = "7.5.0", features = ["fancy-no-backtrace"] }
1516
niri-ipc = { version = "25.1.0", path = "../niri-ipc" }
1617
regex = "1.11.1"
1718
smithay = { workspace = true, features = ["backend_libinput"] }
19+
thiserror = "2.0.11"
1820
tracing.workspace = true
1921
tracy-client.workspace = true
2022

0 commit comments

Comments
 (0)