feat: inhibit poweroff button
This commit is contained in:
parent
f187e8d767
commit
b2f4277122
3 changed files with 483 additions and 737 deletions
|
|
@ -37,17 +37,19 @@ tokio = { version = "1", features = [
|
|||
"sync",
|
||||
"time",
|
||||
] }
|
||||
zbus_systemd = { version = "0.25600.0", optional = true, features = [
|
||||
zbus_systemd = { version = "0.25701.0", optional = true, features = [
|
||||
"systemd1",
|
||||
] }
|
||||
tokio-util = "0.7"
|
||||
tracing = "0.1"
|
||||
tracing-journald = { version = "0.3", optional = true }
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
zbus = { version = "4.3.0", default-features = false, features = ["tokio"] }
|
||||
zbus = { version = "5.7.0", default-features = false, features = ["tokio"] }
|
||||
cosmic-notifications-util = { git = "https://github.com/pop-os/cosmic-notifications" }
|
||||
logind-zbus = { version = "5.3.2", optional = true }
|
||||
|
||||
[features]
|
||||
systemd = ["dep:zbus_systemd", "dep:tracing-journald"]
|
||||
default = ["systemd"]
|
||||
logind = ["systemd", "logind-zbus"]
|
||||
default = ["logind"]
|
||||
autostart = ["dep:shell-words", "dep:dirs", "dep:freedesktop-desktop-entry"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue