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.
This commit is contained in:
parent
dbf55cdb9d
commit
7bf4268dfa
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-update add brightnessctl default
|
||||
rc-update add elogind default
|
||||
rc-update add networkmanager default
|
||||
rc-update add tinydm default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue