diff --git a/installer b/installer index 72e262d..1364382 100755 --- a/installer +++ b/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.62 +VER=2.1.63 # default values { @@ -2034,7 +2034,7 @@ install_packages() errshow 1 "chrun 'pacman -S $KERNEL $UCODE iputils --noconfirm'" # install the packages chosen throughout the install plus any extras added - # check that packages were trying to install are available, slow as shit + # check that packages we're trying to install are available, slow as shit # but I'm done doing this manually every time the arch repos change for pkg in "${inpkg[@]}"; do if pacman -Ssq "^$pkg$" >/dev/null 2>&1; then @@ -2337,6 +2337,9 @@ config_xinit() # run `startx` after logging in regardless of autologin cat > "$MNT/home/$NEWUSER/$LOGINRC" <<- EOF + # add ~/.local/bin to the PATH + echo \$PATH | grep -q "\$HOME/.local/bin:" || export PATH="\$HOME/.local/bin:\$PATH" + # automatically run startx when logging in on tty1 [ -z "\$DISPLAY" ] && [ \$XDG_VTNR -eq 1 ] && startx EOF