aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-02-08 12:00:27 +0100
committerMateja Marić <mail@matejamaric.com>2021-02-08 12:13:39 +0100
commit7510d92ad45ff503fe64719209dad9568b2e57eb (patch)
treefe18d3415036fc99360a1f9194fa60cfa22e1f3a /.bash_profile
parentd5d43b4acf7f785db390003a7896bf7c8e6ad900 (diff)
downloaddotfiles-7510d92ad45ff503fe64719209dad9568b2e57eb.tar.gz
dotfiles-7510d92ad45ff503fe64719209dad9568b2e57eb.zip
Add kaychain, remove systemd startx condition, update and comment autostart.sh
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