summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/post-install/plasma-workspace.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kde/post-install/plasma-workspace.post-install')
-rw-r--r--source/kde/kde/post-install/plasma-workspace.post-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/kde/kde/post-install/plasma-workspace.post-install b/source/kde/kde/post-install/plasma-workspace.post-install
index 65d727fcb..4ba279a20 100644
--- a/source/kde/kde/post-install/plasma-workspace.post-install
+++ b/source/kde/kde/post-install/plasma-workspace.post-install
@@ -14,6 +14,12 @@ cat $CWD/post-install/plasma-workspace/scripts/startkwayland \
> $PKG/usr/bin/startkwayland
chmod 0755 $PKG/usr/bin/startkwayland
+# Install custom "full wayland" session
+pushd $PKG/usr/share/wayland-sessions/
+sed '/^Name/d;s/^Exec=/Exec=env GDK_BACKEND=wayland QT_QPA_PLATFORM=wayland /' plasmawayland.desktop > z_plasmafullwayland.desktop
+echo 'Name=Plasma (Full Wayland)' >> z_plasmafullwayland.desktop
+popd
+
# Add a "fail-safe" version of KDE Plasma desktop session.
# Prefix the name with "z_" because SDDM is braindead:
mkdir -p $PKG/usr/share/xsessions