summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-07-04 13:40:10 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-07-04 13:40:10 +0200
commitaa7aa6ab4548c4df79a417dda09b40fc1c69eeb0 (patch)
tree51e9e18ee69dba1146a3e93041320a3c7971a029
parent4bf8846136cfdccc4203b72e97b3c6dc3928195f (diff)
downloaddotfiles-aa7aa6ab4548c4df79a417dda09b40fc1c69eeb0.tar
dotfiles-aa7aa6ab4548c4df79a417dda09b40fc1c69eeb0.tar.gz
dotfiles-aa7aa6ab4548c4df79a417dda09b40fc1c69eeb0.tar.bz2
dotfiles-aa7aa6ab4548c4df79a417dda09b40fc1c69eeb0.tar.xz
dotfiles-aa7aa6ab4548c4df79a417dda09b40fc1c69eeb0.zip
Tweaked keychain command
-rw-r--r--.xmonad/xmonad.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs
index 4e04fee..9566f99 100644
--- a/.xmonad/xmonad.hs
+++ b/.xmonad/xmonad.hs
@@ -132,7 +132,9 @@ autostart = [ spawnKeychain
132 , safeSpawn "urxvtd" ["-q", "-f", "-o"] 132 , safeSpawn "urxvtd" ["-q", "-f", "-o"]
133 ] 133 ]
134 134
135spawnKeychain = runInTerm "" "keychain ~/.ssh/id_ecdsa ~/.ssh/id_rsa" 135spawnKeychain = runInTerm "" $ "keychain " ++ concat keys
136 where
137 keys = map ("~/.ssh/id_" ++) ["ed25519", "ecdsa", "rsa"]
136 138
137assimilateKeychain :: X () 139assimilateKeychain :: X ()
138assimilateKeychain = liftIO $ assimilateKeychain' >> return () 140assimilateKeychain = liftIO $ assimilateKeychain' >> return ()