hyprland_lock_notifier_v1¤
wayland.hyprland_lock_notifier_v1 ¤
Lock notification manager
This interface allows clients to monitor whether the wayland session is locked or unlocked.
Methods:
-
destroy
–Destroy the manager
-
get_lock_notification
–Create a notification object
destroy ¤
destroy() -> None
Destroy the manager
Destroy the manager object. All objects created via this interface remain valid.
get_lock_notification ¤
get_lock_notification() -> hyprland_lock_notification_v1
Create a notification object
Create a new lock notification object.
If the session is already locked when calling this method, the locked event shall be sent immediately.
Returns:
-
hyprland_lock_notification_v1
(hyprland_lock_notification_v1
) –The created object