#!/bin/sh # to be sourced disable=0 # disable Wayland if the user asks us to. if /bin/grep -q nowayland /proc/cmdline; then disable=1 fi if [ $disable -eq 1 -a -f /etc/sddm.conf ]; then sed -i 's/plasma.desktop/plasmax11.desktop/' /etc/sddm.conf fi