aboutsummaryrefslogtreecommitdiffstats
path: root/_xinitrc
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-02-17 21:17:18 +0800
committerAaron LI <aaronly.me@gmail.com>2016-02-17 21:17:18 +0800
commit675c7ca7c80a4e0b94ace7b634a1d4f944a9ac40 (patch)
tree93ed6741371f94ed5733aa2a478701a0d4a51c7c /_xinitrc
parent0305e7abcc161dd4a2d35dc623dd839098d75018 (diff)
downloaddotfiles-675c7ca7c80a4e0b94ace7b634a1d4f944a9ac40.tar.bz2
_xinitrc: add gpg-agent
Diffstat (limited to '_xinitrc')
-rw-r--r--_xinitrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/_xinitrc b/_xinitrc
index 6a3bb1f..018562e 100644
--- a/_xinitrc
+++ b/_xinitrc
@@ -26,6 +26,9 @@ xset b off
# disable CapsLock
setxkbmap -option ctrl:nocaps
+# gpg-agent
+pgrep -x gpg-agent || eval $(gpg-agent --daemon)
+
# start X session
session=${1:-openbox}
case "${session}" in