feat: keep the screensaver off while music is playing
Holds org.freedesktop.ScreenSaver.Inhibit, the call Electron apps such as VacuumTube use to stay awake in Steam's Game Mode, and the XDG portal's idle inhibit, from play until pause, stop or quit. zbus 6 cannot connect through Flatpak's D-Bus proxy, so this uses zbus 5.
This commit is contained in:
+2
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "remus"
|
||||
version = "0.4.0"
|
||||
version = "0.5.0"
|
||||
edition = "2024"
|
||||
license = "MIT"
|
||||
|
||||
@@ -21,6 +21,7 @@ serde_json = "1.0.154"
|
||||
slint = "1.18.1"
|
||||
tokio = { version = "1.54.1", features = ["rt-multi-thread", "sync", "macros", "time"] }
|
||||
toml = "1.1.8"
|
||||
zbus = { version = "5.19.0", default-features = false, features = ["tokio"] }
|
||||
|
||||
[build-dependencies]
|
||||
slint-build = "1.18.1"
|
||||
|
||||
Reference in New Issue
Block a user