Skip to content

Commit

Permalink
sys-power/wluma: install systemd user service
Browse files Browse the repository at this point in the history
This allows to start wluma with systemd as described in the README.

Signed-off-by: Benjamin Neff <[email protected]>
Closes: gentoo#35836
Signed-off-by: Patrick McLean <[email protected]>
  • Loading branch information
SuperTux88 authored and chutz committed Apr 30, 2024
1 parent 127160a commit beba5c2
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Gentoo Authors
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.12.1
Expand Down Expand Up @@ -173,7 +173,7 @@ declare -A GIT_CRATES=(
[toml]='https://github.com/HarveyHunt/toml;7db18be32494855199ed827ac389e161914bd20d;toml-%commit%/crates/toml'
[toml_datetime]='https://github.com/HarveyHunt/toml;7db18be32494855199ed827ac389e161914bd20d;toml-%commit%/crates/toml_datetime'
)
inherit udev cargo
inherit udev cargo systemd

DESCRIPTION="Automatic brightness adjustment based on screen contents and ALS"
HOMEPAGE="https://github.com/maximbaz/wluma"
Expand Down Expand Up @@ -206,11 +206,12 @@ src_install() {

insinto /etc/xdg/autostart
doins "${FILESDIR}"/wluma.desktop
systemd_douserunit "${PN}.service"

insinto /usr/share/${P}
doins config.toml

dodoc "${DOCS[@]}"
einstalldocs
}

pkg_postinst() {
Expand Down

0 comments on commit beba5c2

Please sign in to comment.