gui-apps/noctalia-shell: add systemd use flag and unit install

Signed-off-by: Luke Gompertz <luke.gompz@gmail.com>
This commit is contained in:
Luke Gompertz
2025-12-28 11:56:45 +00:00
parent 40bfa75779
commit cf1218f53f
2 changed files with 9 additions and 1 deletions

View File

@@ -16,6 +16,7 @@
<flag name="wlsunset">Night light functionality</flag>
<flag name="xdg-desktop-portal">Enables “Portal” option in screen recorder</flag>
<flag name="xwayland">Install xwayland-satellite for xwayland support</flag>
<flag name="systemd">Install systemd service unit</flag>
</use>
<longdescription>
Noctalia is a beautiful, minimal desktop shell for Wayland that actually gets out of your way. Built on Quickshell with a warm lavender aesthetic that you can easily customize to match your vibe.

View File

@@ -12,7 +12,9 @@ S="${WORKDIR}/noctalia-release"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="cliphist cava wlsunset xdg-desktop-portal evolution-data-server polkit-kde-agent matugen xwayland"
IUSE="cliphist cava wlsunset xdg-desktop-portal evolution-data-server polkit-kde-agent matugen xwayland systemd"
inherit systemd
RDEPEND="
gui-apps/quickshell
@@ -40,6 +42,11 @@ src_install() {
# Install configuration files
insinto /etc/xdg/quickshell/noctalia-shell
doins -r .
# Install systemd unit
if use systemd; then
systemd_dounit Assets/Services/systemd/noctalia.service
fi
}
pkg_postinst() {