feat(config): load cosmic-randr output Lists

This commit is contained in:
Ashley Wulber 2025-08-20 17:59:06 -04:00 • committed by Ashley Wulber
parent 416b66b776
commit bb8e066d6d
18 changed files with 270 additions and 34 deletions

View file

@ -5,6 +5,8 @@ edition = "2021"
[dependencies]
cosmic-config = { git = "https://github.com/pop-os/libcosmic/" }
cosmic-randr-shell = { git = "https://github.com/pop-os/cosmic-randr/", branch = "kdl-command", optional = true }
# cosmic-randr-shell = { path = "../../cosmic-randr/shell", optional = true }
input = "0.9.0"
libdisplay-info = { version = "0.2.0", optional = true }
serde = { version = "1", features = ["derive"] }
@ -15,5 +17,7 @@ tracing = { version = "0.1.37", features = [
], optional = true }
[features]
default = ["output"]
# XXX before merging remove defaults
default = ["output", "randr"]
output = ["ron", "tracing"]
randr = ["cosmic-randr-shell", "output"]