From 14f4e29d593b979b13810e175fcc4ce917a80e54 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sat, 29 Apr 2023 01:18:58 -0700 Subject: [PATCH] Update local-early.zsh.example --- local-early.zsh.example | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/local-early.zsh.example b/local-early.zsh.example index 3383e97..b57db75 100644 --- a/local-early.zsh.example +++ b/local-early.zsh.example @@ -5,8 +5,6 @@ export _JAVA_AWT_WM_NONREPARENTING=1 export DEBUGINFOD_URLS="https://debuginfod.archlinux.org" add_ssh_keys() { - pass show ssh/desktop | ssh-add ~/.ssh/desktop - pass show ssh/notabug | ssh-add ~/.ssh/notabug pass show ssh/personal_gitea | ssh-add ~/.ssh/personal_gitea pass show ssh/personal_server | ssh-add ~/.ssh/personal_server pass show ssh/gandi_vps | ssh-add ~/.ssh/gandi_vps @@ -20,11 +18,7 @@ if [[ -o login ]]; then eval "$(ssh-agent)" SSH_ASKPASS_REQUIRE="force" SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" add_ssh_keys - if ! [[ -v DISPLAY ]] && [ "${XDG_VTNR}" -eq 1 ]; then - startx - sudo prime-switch - exit - fi + exec startx fi function define_java_alias() {