shift-shell/bin/kwinwrapper.in
Aleix Pol 42116f68c4 Use the lookandfeeltool to choose which shell we prefer
Instead of relying on an environment variable
This will also set the other necessary settings that we need for the
session to integrate properly like the Placement strategy for kwin
2021-09-02 15:35:09 +02:00

17 lines
601 B
Bash
Executable file

#!/bin/sh
[ -f /etc/profile ] && . /etc/profile
export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORMTHEME=KDE
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export EGL_PLATFORM=wayland
export QT_QUICK_CONTROLS_STYLE=org.kde.breeze
export QT_ENABLE_GLYPH_CACHE_WORKAROUND=1
export QT_QUICK_CONTROLS_MOBILE=true
export PLASMA_INTEGRATION_USE_PORTAL=1
export PLASMA_PLATFORM=phone:handset
lookandfeeltool --apply org.kde.plasma.phoneshell
startplasma-wayland --xwayland --libinput --lockscreen --inputmethod maliit-keyboard --exit-with-session=@KDE_INSTALL_FULL_LIBEXECDIR@/startplasma-waylandsession