Update hooks/5-add-autologin.chroot

This commit is contained in:
ferreo 2024-10-27 17:21:36 +01:00
parent 5fbb49c291
commit a87c853da0

View File

@ -6,4 +6,4 @@ echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm
sed '/WaylandEnable=false/ s/^\#*/\#/' -i /etc/gdm3/daemon.conf || true sed '/WaylandEnable=false/ s/^\#*/\#/' -i /etc/gdm3/daemon.conf || true
ln -sf /etc/gdm3/daemon.conf /etc/gdm3/custom.conf ln -sf /etc/gdm3/daemon.conf /etc/gdm3/custom.conf
echo -e '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/zautologin.conf || true echo -e '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/zautologin.conf || true
echo -e '[User]\nSession=gnome\nIcon=/home/pikaos/.face\nSystemAccount=false' > /var/lib/AccountsService/users/pikaos || true echo -e '[User]\nSession=hyprland\nIcon=/home/pikaos/.face\nSystemAccount=false' > /var/lib/AccountsService/users/pikaos || true