- seems only Gnome and KDE Wayland have docs about idle detection

This commit is contained in:
Dmytro Bogovych 2022-05-15 20:26:31 +03:00
parent 7621a79dbe
commit a0de1f5944

View File

@ -96,6 +96,8 @@ int get_idle_time_wayland()
// https://github.com/NilsBrause/waylandpp // https://github.com/NilsBrause/waylandpp
// Wayland protocol: idle-inhibit // Wayland protocol: idle-inhibit
// Interact with Wayland: look on waylandpp project // Interact with Wayland: look on waylandpp project
// For Gnome only: dbus-send --print-reply --dest=org.gnome.Mutter.IdleMonitor /org/gnome/Mutter/IdleMonitor/Core org.gnome.Mutter.IdleMonitor.GetIdletime
// For KDE: use kde idle protocol https://wayland.app/protocols/kde-idle
return 0; return 0;
} }