Add winit-wayland-session package
- Basically the same as xinit-xsession, but for wayland - Add as depedency to dwl
This commit is contained in:
6
app-misc/winit-wayland-session/files/winitrc.desktop
Normal file
6
app-misc/winit-wayland-session/files/winitrc.desktop
Normal 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
|
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
: "${WINITRC:=$HOME/.winitrc}"
|
||||||
|
exec "${WINITRC}"
|
@@ -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
|
||||||
|
}
|
@@ -37,6 +37,7 @@ RDEPEND="
|
|||||||
x11-base/xwayland
|
x11-base/xwayland
|
||||||
x11-apps/xlsclients
|
x11-apps/xlsclients
|
||||||
)
|
)
|
||||||
|
app-misc/winit-wayland-session
|
||||||
gui-apps/waybar:=[network,tray]
|
gui-apps/waybar:=[network,tray]
|
||||||
app-misc/swhkd
|
app-misc/swhkd
|
||||||
app-misc/brightnessctl
|
app-misc/brightnessctl
|
||||||
|
Reference in New Issue
Block a user