Ebuild for Noctalia (quickshell)

Story

Couldn't find an ebuild anywhere for Noctalia (which is a set of config files for quickshell) so I ended up making one myself. I'm not at all confident with writing ebuilds so don't think it's appropriate to share mine more formally, but thought I'd leave a copy here in case it helps anyone :)

EAPI=8

DESCRIPTION="Noctalia Configuration for Quickshell"
HOMEPAGE="https://github.com/noctalia-dev/noctalia-shell"
SRC_URI="https://github.com/noctalia-dev/noctalia-shell/releases/latest/download/noctalia-latest.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cliphist cava wlsunset xdg-desktop-portal evolution-data-server polkit-kde-agent"
#matugen-git

RDEPEND="
    gui-apps/quickshell
    media-video/gpu-screen-recorder
    app-misc/brightnessctl
"

# Optional dependencies
RDEPEND="${RDEPEND}
	cliphist? ( app-misc/cliphist )
	cava? ( media-sound/cava )
	wlsunset? ( gui-apps/wlsunset )
	xdg-desktop-portal? ( sys-apps/xdg-desktop-portal )
	evolution-data-server? ( gnome-extra/evolution-data-server )
	polkit-kde-agent? ( kde-plasma/polkit-kde-agent )
"
	#matugen-git? ( matugen-git )

S="${WORKDIR}/noctalia-release"

src_unpack() {
    default_src_unpack
}

src_install() {
    # Create the configuration directory
    dodir "/etc/xdg/quickshell/noctalia-shell"

    # Install the configuration files
    cp -r "${S}"/* "${ED}/etc/xdg/quickshell/noctalia-shell/"
}

# Metadata for installation
pkg_postinst() {
    elog "Noctalia has been installed. Configuration files are located in:"
    elog "/etc/xdg/quickshell/noctalia"
}

It's working on my machine anyway!

Posted Dec 17, 2025, 11:23 AM UTC

613

Comments aren't archived yet

This post had 13 comments on Reddit. Comments for this period haven't been loaded into the archive yet.