Add winit-wayland-session package

- Basically the same as xinit-xsession, but for wayland
- Add as depedency to dwl
This commit is contained in:
Sravan Balaji
2024-09-29 13:47:04 -04:00
parent 0b40569551
commit 06517b2fcb
4 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
[Desktop Entry]
Name=winitrc
Comment=Executes the .winitrc script in your home directory
Exec=winitrcsession-helper
TryExec=winitrcsession-helper
Type=Application

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
: "${WINITRC:=$HOME/.winitrc}"
exec "${WINITRC}"

View File

@@ -0,0 +1,18 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Allows ~/.winitrc to be run as a session from your display manager"
S=${FILESDIR}
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
src_install() {
dobin "${FILESDIR}"/winitrcsession-helper
insinto /usr/share/wayland-sessions/
doins "${FILESDIR}"/winitrc.desktop
}

View File

@@ -37,6 +37,7 @@ RDEPEND="
x11-base/xwayland
x11-apps/xlsclients
)
app-misc/winit-wayland-session
gui-apps/waybar:=[network,tray]
app-misc/swhkd
app-misc/brightnessctl