diff options
-rwxr-xr-x | config/X/x11/xinitrc | 2 | ||||
-rwxr-xr-x | config/essentials/zsh/.zprofile | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/config/X/x11/xinitrc b/config/X/x11/xinitrc index 48c0fcf..2ec027e 100755 --- a/config/X/x11/xinitrc +++ b/config/X/x11/xinitrc @@ -24,6 +24,4 @@ fi export MENUCMD="dmenu" export IMAGE="feh" -eval "$(keychain --dir "$XDG_CONFIG_HOME/keychain" --eval --quiet --agents gpg,ssh)" - exec startdwm diff --git a/config/essentials/zsh/.zprofile b/config/essentials/zsh/.zprofile index 2e40c32..9072f28 100755 --- a/config/essentials/zsh/.zprofile +++ b/config/essentials/zsh/.zprofile @@ -1,7 +1,7 @@ #!/bin/sh -if { [ "$TTY" = "/dev/tty1" ] || [ "$TTY" = "/dev/tty8" ]; } && - [ "$(id -u)" -ne 0 ]; then +if { [ "$TTY" = "/dev/tty1" ] || [ "$TTY" = "/dev/tty8" ]; } && [ "$(id -u)" -ne 0 ]; then + eval "$(keychain --dir "$XDG_CONFIG_HOME/keychain" --eval --quiet --agents gpg,ssh)" exec startx > /dev/null 2>&1 exit fi |