diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-04 13:40:10 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-04 13:40:10 +0200 |
commit | aa7aa6ab4548c4df79a417dda09b40fc1c69eeb0 (patch) | |
tree | 51e9e18ee69dba1146a3e93041320a3c7971a029 | |
parent | 4bf8846136cfdccc4203b72e97b3c6dc3928195f (diff) | |
download | dotfiles-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.hs | 4 |
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 | ||
135 | spawnKeychain = runInTerm "" "keychain ~/.ssh/id_ecdsa ~/.ssh/id_rsa" | 135 | spawnKeychain = runInTerm "" $ "keychain " ++ concat keys |
136 | where | ||
137 | keys = map ("~/.ssh/id_" ++) ["ed25519", "ecdsa", "rsa"] | ||
136 | 138 | ||
137 | assimilateKeychain :: X () | 139 | assimilateKeychain :: X () |
138 | assimilateKeychain = liftIO $ assimilateKeychain' >> return () | 140 | assimilateKeychain = liftIO $ assimilateKeychain' >> return () |