main/postmarketos-ui-lxqt: save and restore brightness on boots
LXQt can control the display brightness. It doesn't save and restore it over boots, however. In distributions with systemd this is handled by systemd-backlight@.service
. For OpenRC the package brightnessctl offers a service saving the state of the brightness at shutdown and reboot.
Follow-up of !5656 (closed).
- The MR in Alpine to fix an issue in brightnessctl service got merged (https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/72751).
- A separate commit splits post-install scripts of openrc subpackage and main package. This was also done for Xfce4 and MATE in MR !5735 (merged).
- Basically users can disable the newly added brightnessctl service. However, on next package upgrade it gets re-enabled. I haven't unlinked the post-install and post-upgrade scripts, it seems rather usual to keep them linked (!5735 (comment 453499)).