Files
HyprArch/airootfs/root/.zprofile

10 lines
337 B
Bash

if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
# 1. Auto-install the package from your local repo
# --noconfirm ensures it doesn't wait for you to press 'Y'
pacman -Sy
pacman -U --noconfirm /root/local_repo/calamares-*.pkg.tar.zst
# 2. Start the Plasma Wayland session
exec dbus-run-session startplasma-wayland
fi