diff --git a/local/early-init.alexanders-desktop.zsh b/local/early-init.alexanders-desktop.zsh index c4bc597..3bb5fb7 100644 --- a/local/early-init.alexanders-desktop.zsh +++ b/local/early-init.alexanders-desktop.zsh @@ -9,10 +9,9 @@ add_ssh_keys() { pass show ssh/gandi_vps | ssh-add ~/.ssh/gandi_vps pass show ssh/notabug | ssh-add ~/.ssh/notabug pass show ssh/aur | ssh-add ~/.ssh/aur - pass show ssh/github | ssh-add ~/.ssh/github } -# Because I use zsh to start X11 +# Because I use zsh to start graphical sessions if [[ -o login ]]; then export LC_ALL=en_US.UTF-8 eval "$(gnome-keyring-daemon --start 2>/dev/null)" @@ -21,7 +20,8 @@ if [[ -o login ]]; then SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" \ add_ssh_keys & - if ! [[ -v DISPLAY ]] && [ "${XDG_VTNR}" -eq 1 ]; then - exec startx + + if ! [[ -v WAYLAND_DISPLAY ]] && [ "${XDG_VTNR}" -eq 1 ]; then + exec Hyprland fi fi diff --git a/local/early-init.alexanders-portable.zsh b/local/early-init.alexanders-portable.zsh index aae2857..1510277 100644 --- a/local/early-init.alexanders-portable.zsh +++ b/local/early-init.alexanders-portable.zsh @@ -11,7 +11,7 @@ add_ssh_keys() { pass show ssh/aur | ssh-add ~/.ssh/aur } -# Because I use zsh to start X11 +# Because I use zsh to start graphical sessions if [[ -o login ]]; then export LC_ALL=en_US.UTF-8 eval "$(gnome-keyring-daemon --start 2>/dev/null)"