Skip to content

Conversation

@Abscissa24
Copy link
Contributor

@Abscissa24 Abscissa24 commented Nov 11, 2025

Summary

  • This PR brings full Timeout configuration into the Sleex Menu, making it easier than ever to manage screen, backlight, lock and suspend timeouts.
  • No more digging through and manually editing hypridle.conf
  • All settings can now be adjusted directly from the menu for a smoother, more user-friendly experience.

TODO

  • Add Timeout for screen and keyboard backlight dimming option to Sleex menu (illuminance)
  • Add Timeout to lock the screen option to Sleex menu (System Lock)
  • Add Timeout to turn off the display option to Sleex menu (Standby)
  • Add Timeout to suspend activity option to Sleex menu (Suspension)

Note

  • Trying to get all functions to work with quickshell naively (no hypridle).
image

@Abscissa24 Abscissa24 marked this pull request as draft November 11, 2025 23:48
@LeVraiArdox
Copy link
Member

I'm about to remove hypridle and use the Quickshell module instead

https://quickshell.org/docs/master/types/Quickshell.Wayland/IdleInhibitor/

If you want to make that before me to apply your changes, you can do it in this PR.

@Abscissa24
Copy link
Contributor Author

I'm about to remove hypridle and use the Quickshell module instead

https://quickshell.org/docs/master/types/Quickshell.Wayland/IdleInhibitor/

If you want to make that before me to apply your changes, you can do it in this PR.

Roger that.
I will try working on it.

@LeVraiArdox
Copy link
Member

@Abscissa24 I did a kinda working inhibitor
12d7362
You can make your stuff above that.

@LeVraiArdox
Copy link
Member

You can create a systemd service that is enabled at the start of the system. When the keep awake is enabled, it stops this service. When it's disabled, it starts again.
Here is an example:

[Unit]
Description=Sleex's idle daemon
PartOf=graphical-session.target
After=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY

[Service]
Type=simple
Restart=on-failure

[Install]
WantedBy=graphical-session.target

This may need adjustments.

@Abscissa24
Copy link
Contributor Author

@LeVraiArdox the timeout service is starting with quickshell because of lazyloader in shell.qml

The core functions like screen dimming, keyboard dimming, screen lock, screen off and suspend are working as intended

The main issue is that user activity is not stopping/resetting these timers
As a result, while the system is in use, the timers persist in the background.

So while I can be moving the mouse or pressing buttons, the timers are being reached and the actions are being executed

How to make it so that the timers reset with any user action (mouse movement or button presses)?

@LeVraiArdox
Copy link
Member

Closing because Hypnos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants