Set sddm theme when using it with plasma or lxqt
This commit is contained in:
parent
225404d215
commit
45f3b08020
13
installer
13
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
|
||||
|
Reference in New Issue
Block a user