diff options
Diffstat (limited to 'config')
-rwxr-xr-x | config/chroot_local-includes/lib/live/config/9023-kwayland | 31 | ||||
-rw-r--r-- | config/lists/kde5-more | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/config/chroot_local-includes/lib/live/config/9023-kwayland b/config/chroot_local-includes/lib/live/config/9023-kwayland new file mode 100755 index 0000000..152f32f --- /dev/null +++ b/config/chroot_local-includes/lib/live/config/9023-kwayland @@ -0,0 +1,31 @@ +#!/bin/sh + +Kwayland () +{ + # Checking if configured + if [ -e /var/lib/live/config/kwayland ] + then + return + fi + echo -n " kwayland" + Configure_kwayland +} +Configure_kwayland () +{ + # Boot parameters can be acted up either this way... + if grep -qs "kwayland" /proc/cmdline + then + if [ -x /usr/bin/startplasma-wayland ]; then + echo "[Desktop]" >/home/${LIVE_USERNAME}/.dmrc + echo "Session=plasmawayland" >>/home/${LIVE_USERNAME}/.dmrc + chown 1000:1000 /home/${LIVE_USERNAME}/.dmrc + echo "[Seat:*]" >> /usr/share/lightdm/lightdm.conf.d/51_kanotix.conf + echo "user-session=plasmawayland" >> /usr/share/lightdm/lightdm.conf.d/51_kanotix.conf + fi + fi + + # Creating state file + touch /var/lib/live/config/kwayland +} + +Kwayland diff --git a/config/lists/kde5-more b/config/lists/kde5-more index 9c4bb6f..0479bb9 100644 --- a/config/lists/kde5-more +++ b/config/lists/kde5-more @@ -7,4 +7,5 @@ calamares-settings-kanotix git dolphin-plugins quilt +plasma-workspace-wayland #endif |