From 45f3b0802048c761d8ffd1fc0433d1a3cb15312d Mon Sep 17 00:00:00 2001 From: natemaia Date: Mon, 18 May 2020 22:48:26 -0700 Subject: [PATCH] Set sddm theme when using it with plasma or lxqt --- installer | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/installer b/installer index b97362e..7c8667a 100755 --- a/installer +++ b/installer @@ -6,7 +6,7 @@ # AIF, Calamares, and the Arch Wiki.. Credit where credit is due # shellcheck disable=SC2086,SC2046,SC2254,SC2164 -VER=2.1.52 +VER=2.1.53 # default values { @@ -213,7 +213,7 @@ declare -A WM_EXT=( [gnome]='gnome-tweaks' [i3-gaps]='archlabs-skel-i3-gaps' [jwm]='' -[lxqt]='breeze-icons picom libpulse network-manager-applet' +[lxqt]='breeze breeze-icons picom libpulse network-manager-applet' [openbox]='archlabs-skel-openbox' [plasma]='kde-applications-meta powerdevil' [xfce4]='archlabs-skel-xfce4 xfce4-goodies' @@ -2289,7 +2289,13 @@ config_gdm() config_sddm() { - : #TODO + if [[ $INSTALL_WMS =~ (plasma|lxqt) ]]; then + mkdir -p "$MNT/etc/sddm.conf.d" + cat > "$MNT/etc/sddm.conf.d/theme.conf" <<- EOF + [Theme] + Current=breeze + EOF + fi } config_xinit() @@ -2329,6 +2335,7 @@ config_lightdm() sed -i "/greeter-session=/ c greeter-session=lightdm-$LIGHTDM_GREETER" "$MNT/etc/lightdm/lightdm.conf" if [[ $LIGHTDM_GREETER == 'gtk-greeter' ]]; then + mkdir -p "$MNT/etc/lightdm" cat > "$MNT/etc/lightdm/lightdm-gtk-greeter.conf" <<- EOF [greeter] default-user-image=/usr/share/icons/ArchLabs-Dark/64x64/places/distributor-logo-archlabs.png