aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile8
1 files changed, 3 insertions, 5 deletions
diff --git a/.bash_profile b/.bash_profile
index acb50cc..6c5ab5b 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -1,9 +1,7 @@
-#
-# ~/.bash_profile
-#
-
[[ -f ~/.bashrc ]] && . ~/.bashrc
-if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
+eval $(keychain --clear --eval --agents gpg,ssh --quiet)
+
+if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
startx
fi