-
-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Is your feature request related to a problem? Please describe.
Automatically enable lid/power events if there is any profile that requires these.
It's much cleaner for the UX to not have to run the tui with:
hyprdynamicmonitors tui --enable-lid-events
and have to remember that every time.
Without the flag the profile matching might (not) match the correct profile since lid events would not be enabled (similar story with power events).
Describe the solution you'd like
Automatically enable lid/power events if there is any profile that requires these.
Give the user a warn/log so that they see there were explicitly enabled.
In all cases, this is what the users want anyway -- if they rely on the profile matching to work correctly and define power/lid events then these should be enabled (both for the daemon and the lid events).
Moreover, when the configuration reloads, and there is a lid/power requirement on the profile, the service should fail if lid/power events are not enabled.