Skip to content
Snippets Groups Projects
Verified Commit 7bf4268d authored by Jakko's avatar Jakko Committed by Alexey Minnekhanov
Browse files

main/postmarketos-ui-lxqt: save and restore brightness on boots (MR 5933)

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.
parent dbf55cdb
Branches
No related tags found
1 merge request!5933main/postmarketos-ui-lxqt: save and restore brightness on boots
Pipeline #212355 passed
......@@ -2,13 +2,14 @@
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=postmarketos-ui-lxqt
pkgver=0.3
pkgrel=4
pkgrel=5
pkgdesc="(X11) Lightweight Qt Desktop Environment (stylus recommended)"
url="https://lxqt-project.org/"
# armhf: lxqt-desktop not available
arch="noarch !armhf"
license="GPL-3.0-or-later"
depends="
brightnessctl
dbus-x11
dnsmasq
elogind
......@@ -85,6 +86,7 @@ openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="
brightnessctl-openrc
elogind-openrc
networkmanager-openrc
tinydm-openrc
......
#!/bin/sh
rc-update add brightnessctl default
rc-update add elogind default
rc-update add networkmanager default
rc-update add tinydm default
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment