Change desktop to wayland

This commit is contained in:
Alexander Rosenberg 2023-11-14 20:42:33 -08:00
parent 09cb14327a
commit f1e1c5ddb3
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730
2 changed files with 5 additions and 5 deletions

View File

@ -9,10 +9,9 @@ add_ssh_keys() {
pass show ssh/gandi_vps | ssh-add ~/.ssh/gandi_vps pass show ssh/gandi_vps | ssh-add ~/.ssh/gandi_vps
pass show ssh/notabug | ssh-add ~/.ssh/notabug pass show ssh/notabug | ssh-add ~/.ssh/notabug
pass show ssh/aur | ssh-add ~/.ssh/aur 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 if [[ -o login ]]; then
export LC_ALL=en_US.UTF-8 export LC_ALL=en_US.UTF-8
eval "$(gnome-keyring-daemon --start 2>/dev/null)" 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" \ SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" \
add_ssh_keys & 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
fi fi

View File

@ -11,7 +11,7 @@ add_ssh_keys() {
pass show ssh/aur | ssh-add ~/.ssh/aur 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 if [[ -o login ]]; then
export LC_ALL=en_US.UTF-8 export LC_ALL=en_US.UTF-8
eval "$(gnome-keyring-daemon --start 2>/dev/null)" eval "$(gnome-keyring-daemon --start 2>/dev/null)"