mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-08-28 04:46:27 -04:00
Do not attempt to start Plasma on login under headless installations
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user