Skip to content

Deactivate idle inhibitor programmatically #690

@adriangonz

Description

@adriangonz

It would be good to have a way to active / deactivate the idle inhibitor module programmatically (e.g. from a CLI).

The use I have in mind is that whenever I lock my laptop, if I forget to deactivate the idle inhibitor on Waybar, it will just never go to sleep. Thus, it would be great for me if I could just deactivate it every time I lock my laptop.

I checked the source code, and it seems that this is currently implemented using something from wlroots? There may be some way to interact with that already, but I haven't found any.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions