
apt install -y lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings lightdm-settings xserver-xephyr

#apt- install -y lightdm-autologin-greeter

config_file=/etc/lightdm/lightdm-gtk-greeter.conf

#typeset -A rules
#rules=( 
#"theme-name" "Adwaita-dark"
#"icon-theme-name" "Adwaita"
#"cursor-theme" ${username} 
#)
#
#for rule in "${!rules[@]}"; do
#	regex="s/^#\?\(${rule}\s*\).*$/\1 ${rules[${rule}]}/"
#	sed -i "${regex}" ${config_file};
#done
