From abd09118c8571d30dce0bd8217d8fee251701c56 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Oct 2024 04:01:55 +0100 Subject: autologin into lxqt session as well --- redcorelive-openrc.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/redcorelive-openrc.sh b/redcorelive-openrc.sh index e808cbb..f9376db 100755 --- a/redcorelive-openrc.sh +++ b/redcorelive-openrc.sh @@ -27,7 +27,9 @@ livePasswd() { } liveLogin() { - if [[ -e "/usr/share/xsessions/qtile.desktop" ]] ; then + if [[ -e "/usr/share/xsessions/lxqt.desktop" ]] ; then + sed -e "0,/User=/s//User=redcore/" -e "0,/Session=/s//Session=lxqt/" /etc/sddm.conf.d/00redcore.conf | tee /etc/sddm.conf.live > /dev/null 2>&1 + elif [[ -e "/usr/share/xsessions/qtile.desktop" ]] ; then sed -e "0,/User=/s//User=redcore/" -e "0,/Session=/s//Session=qtile/" /etc/sddm.conf.d/00redcore.conf | tee /etc/sddm.conf.live > /dev/null 2>&1 elif [[ -e "/usr/share/wayland-sessions/plasma.desktop" ]] ; then sed -e "0,/User=/s//User=redcore/" -e "0,/Session=/s//Session=plasma/" /etc/sddm.conf.d/00redcore.conf | tee /etc/sddm.conf.live > /dev/null 2>&1 -- cgit v1.2.3