summaryrefslogtreecommitdiff
path: root/.xmonad/xmonad.hs
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-07-16 19:33:04 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-07-16 19:33:04 +0200
commite62a346d035773783ae0ce72963f9bdfb5a03601 (patch)
treeb42cf9e1e29f515758178caa466517b0144d5a4c /.xmonad/xmonad.hs
parent8f0c21a828f9f2b854f5850b454a3b0b76476493 (diff)
downloaddotfiles-e62a346d035773783ae0ce72963f9bdfb5a03601.tar
dotfiles-e62a346d035773783ae0ce72963f9bdfb5a03601.tar.gz
dotfiles-e62a346d035773783ae0ce72963f9bdfb5a03601.tar.bz2
dotfiles-e62a346d035773783ae0ce72963f9bdfb5a03601.tar.xz
dotfiles-e62a346d035773783ae0ce72963f9bdfb5a03601.zip
Managing keychain terminal like scratchpad
Diffstat (limited to '.xmonad/xmonad.hs')
-rw-r--r--.xmonad/xmonad.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs
index 621d1e1..ab3bc4c 100644
--- a/.xmonad/xmonad.hs
+++ b/.xmonad/xmonad.hs
@@ -109,7 +109,7 @@ spawnBindings conf (k, cmds) = zipWith (\m cmd -> ((modm .|. mod1Mask .|. m, k),
109 where 109 where
110 modm = XMonad.modMask conf 110 modm = XMonad.modMask conf
111 111
112manageScratchTerm = resource =? "scratchpad" -?> doRectFloat $ RationalRect (1 % 16) (1 % 16) (7 % 8) (7 % 8) 112manageScratchTerm = (resource =? "scratchpad" <||> resource =? "keysetup") -?> doRectFloat $ RationalRect (1 % 16) (1 % 16) (7 % 8) (7 % 8)
113 113
114tabbedLayout t = renamed [Replace "Tabbed"] $ reflectHoriz $ t CustomShrink $ tabbedTheme 114tabbedLayout t = renamed [Replace "Tabbed"] $ reflectHoriz $ t CustomShrink $ tabbedTheme
115tabbedTheme = defaultTheme { activeColor = "black" 115tabbedTheme = defaultTheme { activeColor = "black"
@@ -173,7 +173,7 @@ autostart = [ spawnKeychain
173spawnKeychain = do 173spawnKeychain = do
174 home <- liftIO getHomeDirectory 174 home <- liftIO getHomeDirectory
175 let keys = map ((home </>) . ("/.ssh/id_" ++)) ["ed25519", "ecdsa", "rsa"] 175 let keys = map ((home </>) . ("/.ssh/id_" ++)) ["ed25519", "ecdsa", "rsa"]
176 safeSpawn "urxvt" $ ["-e", "keychain"] ++ keys 176 safeSpawn "urxvt" $ ["-title", "keysetup", "-e", "keychain"] ++ keys
177 177
178assimilateKeychain :: X () 178assimilateKeychain :: X ()
179assimilateKeychain = liftIO $ assimilateKeychain' >> return () 179assimilateKeychain = liftIO $ assimilateKeychain' >> return ()