mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-09-14 22:11:45 +02:00
fix(hypridle): stop claiming org.freedesktop.ScreenSaver
niri already owns the org.freedesktop.ScreenSaver interface and feeds its inhibitors into the compositor idle notifier, so hypridle's own registration always fails with 'Another service is already providing...'. Set ignore_dbus_inhibit = true so hypridle no longer tries to claim it; D-Bus inhibits are still handled by niri.
This commit is contained in:
@@ -32,7 +32,10 @@ in
|
||||
general = {
|
||||
lock_cmd = "noctalia-shell ipc call lockScreen lock";
|
||||
before_sleep_cmd = "noctalia-shell ipc call lockScreen lock";
|
||||
ignore_dbus_inhibit = false;
|
||||
# niri already owns org.freedesktop.ScreenSaver and feeds its
|
||||
# inhibitors into the compositor idle notifier, so hypridle must not
|
||||
# try to claim the interface (it would log "already providing...").
|
||||
ignore_dbus_inhibit = true;
|
||||
};
|
||||
|
||||
listener = [
|
||||
|
||||
Reference in New Issue
Block a user