From cf526a56b8485cba045540f2ab5e2902a77e23d9 Mon Sep 17 00:00:00 2001 From: Luciogi Date: Mon, 5 Feb 2024 18:52:35 +0500 Subject: [PATCH] qtile-wayland: add wayland session entry --- srcpkgs/qtile/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template index 85c146c159d03..50023ccc0185c 100644 --- a/srcpkgs/qtile/template +++ b/srcpkgs/qtile/template @@ -1,7 +1,7 @@ # Template file for 'qtile' pkgname=qtile version=0.24.0 -revision=1 +revision=2 build_style=python3-pep517 _wlroots=0.16 hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel @@ -26,5 +26,9 @@ qtile-wayland_package() { python3-pywlroots-${_wlroots} python3-pywayland python3-xkbcommon" pkg_install() { vmove ${py3_sitelib}/libqtile/backend/wayland + # Wayland Session Entry + vmkdir usr/share/wayland-sessions + vcopy ${DESTDIR}/usr/share/xsessions/qtile.desktop usr/share/wayland-sessions/qtilewayland.desktop + vsed -i ${PKGDESTDIR}/usr/share/wayland-sessions/qtilewayland.desktop -e 's|Qtile|Qtile (Wayland)|g' -e 's|start|start -b wayland|' } }