From aa7aa6ab4548c4df79a417dda09b40fc1c69eeb0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 4 Jul 2015 13:40:10 +0200 Subject: Tweaked keychain command --- .xmonad/xmonad.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 , safeSpawn "urxvtd" ["-q", "-f", "-o"] ] -spawnKeychain = runInTerm "" "keychain ~/.ssh/id_ecdsa ~/.ssh/id_rsa" +spawnKeychain = runInTerm "" $ "keychain " ++ concat keys + where + keys = map ("~/.ssh/id_" ++) ["ed25519", "ecdsa", "rsa"] assimilateKeychain :: X () assimilateKeychain = liftIO $ assimilateKeychain' >> return () -- cgit v1.2.3