feature request: reset monitors config on power outages
Hello, first of all, excellent project, thank you.
This issue is a feature request: there is a significant lack of a feature where the application runs as a daemon (serviced or something similar) and checks every X seconds - actual status/liveness of monitors and compares it with the previous status. When status changed - daemon will reset config to defaults.
why it useful: (for example)
- I have a configuration where only the external HDMI monitor is enabled and eDP (laptop monitor) is disabled
- when the electric power is turned off (unexpected outages), the external HDMI monitor turns off, but eDP still can work (because notebook has battery)
- hyprland does care about this, and not react to this event, so the only option is to blindly open the terminal and delete config file (`rm ~/.config/hypr/monitors.conf`), then eDP will turn back on.
will be great, if on power outages - daemon resets config, and hyprland will turn back all monitors (that can work from battery).
0 条评论