Do not attempt to start Plasma on login under headless installations

This commit is contained in:
2024-10-22 15:39:58 -04:00
parent eee563a85a
commit a1b721bb34
3 changed files with 4 additions and 3 deletions
+3
View File
@@ -154,6 +154,9 @@ if [ "$formfactor" == 1 ] || [ "$formfactor" == 2 ] || [ "$formfactor" == 3 ]; t
# directory ownership
chown -R $username:users /home/"$username"/.local/share/color-schemes /home/"$username"/.local/share/konsole /home/"$username"/.config/KDE /home/"$username"/.local/share/dolphin /home/"$username"/.config/autostart /home/"$username"/.local/share/applications
# shell profile
echo -e '\n[ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ] && exec dbus-run-session startplasma-wayland' >> /home/"$username"/.profile
fi
-2
View File
@@ -24,5 +24,3 @@ export GOPATH="$XDG_DATA_HOME"/go
# MISC SETTINGS
export EDITOR=nvim
export BUILDDIR=/tmp/makepkg
[ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ] && exec dbus-run-session startplasma-wayland
+1 -1
View File
@@ -3,7 +3,7 @@
loadkeys us
echo ----------------------------------------------------------------------------------------------
echo rwinkhart\'s Artix Install Script
echo Last updated October 16, 2024 \(rev. A\)
echo Last updated October 22, 2024 \(rev. A\)
echo ----------------------------------------------------------------------------------------------
echo You will be asked some questions before installation.
echo -e "----------------------------------------------------------------------------------------------\n"