Change desktop to wayland
This commit is contained in:
parent
09cb14327a
commit
f1e1c5ddb3
@ -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
|
||||
|
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user