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
|
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
||||||
|
|
||||||
# shellcheck disable=SC2086,SC2046,SC2254,SC2164
|
# shellcheck disable=SC2086,SC2046,SC2254,SC2164
|
||||||
VER=2.1.52
|
VER=2.1.53
|
||||||
|
|
||||||
# default values {
|
# default values {
|
||||||
|
|
||||||
@ -213,7 +213,7 @@ declare -A WM_EXT=(
|
|||||||
[gnome]='gnome-tweaks'
|
[gnome]='gnome-tweaks'
|
||||||
[i3-gaps]='archlabs-skel-i3-gaps'
|
[i3-gaps]='archlabs-skel-i3-gaps'
|
||||||
[jwm]=''
|
[jwm]=''
|
||||||
[lxqt]='breeze-icons picom libpulse network-manager-applet'
|
[lxqt]='breeze breeze-icons picom libpulse network-manager-applet'
|
||||||
[openbox]='archlabs-skel-openbox'
|
[openbox]='archlabs-skel-openbox'
|
||||||
[plasma]='kde-applications-meta powerdevil'
|
[plasma]='kde-applications-meta powerdevil'
|
||||||
[xfce4]='archlabs-skel-xfce4 xfce4-goodies'
|
[xfce4]='archlabs-skel-xfce4 xfce4-goodies'
|
||||||
@ -2289,7 +2289,13 @@ config_gdm()
|
|||||||
|
|
||||||
config_sddm()
|
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()
|
config_xinit()
|
||||||
@ -2329,6 +2335,7 @@ config_lightdm()
|
|||||||
sed -i "/greeter-session=/ c greeter-session=lightdm-$LIGHTDM_GREETER" "$MNT/etc/lightdm/lightdm.conf"
|
sed -i "/greeter-session=/ c greeter-session=lightdm-$LIGHTDM_GREETER" "$MNT/etc/lightdm/lightdm.conf"
|
||||||
|
|
||||||
if [[ $LIGHTDM_GREETER == 'gtk-greeter' ]]; then
|
if [[ $LIGHTDM_GREETER == 'gtk-greeter' ]]; then
|
||||||
|
mkdir -p "$MNT/etc/lightdm"
|
||||||
cat > "$MNT/etc/lightdm/lightdm-gtk-greeter.conf" <<- EOF
|
cat > "$MNT/etc/lightdm/lightdm-gtk-greeter.conf" <<- EOF
|
||||||
[greeter]
|
[greeter]
|
||||||
default-user-image=/usr/share/icons/ArchLabs-Dark/64x64/places/distributor-logo-archlabs.png
|
default-user-image=/usr/share/icons/ArchLabs-Dark/64x64/places/distributor-logo-archlabs.png
|
||||||
|
Reference in New Issue
Block a user