Monitor config as calloop source; use for screen_off_time

Still not sure best way to configure multiple idle times.
This commit is contained in:
Ian Douglas Scott 2024-10-17 18:51:29 -07:00
parent 6d15d0f3c9
commit f2c83714c0
4 changed files with 112 additions and 61 deletions

View file

@ -9,10 +9,10 @@ rustix = { version = "0.38.34", features = ["fs"] }
wayland-client = "0.31.5"
wayland-protocols = { version = "0.32.3", features = ["client", "staging"] }
wayland-protocols-wlr = { version = "0.3.3", features = ["client"] }
cosmic-config = { git = "https://github.com/pop-os/libcosmic" }
cosmic-config = { git = "https://github.com/pop-os/libcosmic", features = ["calloop"] }
cosmic-idle-config = { path = "./cosmic-idle-config" }
calloop = "0.13.0"
calloop-wayland-source = "0.3.0"
calloop = "0.14.0"
calloop-wayland-source = "0.4.0"
[workspace]
members = [