summaryrefslogtreecommitdiffstats
path: root/kde/post-install/plasma-workspace/scripts/startkwayland
blob: 7ca8a0a1fc348ba675895d054dfb33841823cca2 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# Start KWin as a Plasma 5 Wayland session
# Choose correct options depending on whether PAM is installed:
if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then
  dbus-launch --sh-syntax --exit-with-session /usr/bin/startplasma-wayland
else
  ck-launch-session dbus-launch --sh-syntax --exit-with-session /usr/bin/startplasma-wayland
fi