gdritter repos dotfiles / f989345
Modified the way floating works Getty Ritter 8 years ago
1 changed file(s) with 7 addition(s) and 3 deletion(s). Collapse all Expand all
1313 import XMonad.Hooks.ManageDocks (manageDocks, avoidStruts)
1414 import XMonad.Layout.NoBorders (noBorders, smartBorders)
1515 import XMonad.Layout.Tabbed
16 import XMonad.ManageHook((-->), (=?))
1617 import XMonad.Util.Run(spawnPipe)
1718
1819 data ColorScheme = ColorScheme
3334 nmaster = 1
3435 ratio = 1/2
3536 delta = 3/100
36 myTabbed = tabbed shrinkText defaultTheme
37 myTabbed = tabbed shrinkText def
3738 { activeColor = focusedColor grayScheme
3839 , inactiveColor = normalColor grayScheme
3940 , activeBorderColor = black
6869 void (createProcess (proc "sh" ["/home/gdritter/.xm-init"]))
6970 xmproc <- spawnPipe "xmobar /home/gdritter/.xmobarrc"
7071 void (spawnPipe "runsvdir /home/gdritter/.run/service")
71 xmonad $ defaultConfig
72 xmonad $ def
7273 { modMask = mod4Mask
7374 , terminal = "urxvt -e tmux"
74 , keys = myKeys <+> keys defaultConfig
75 , keys = myKeys <+> keys def
7576 , layoutHook = myLayout
77 , manageHook = composeAll [ className =? "Vkdraw" --> doFloat
78 , manageHook def
79 ]
7680 , normalBorderColor = normalColor grayScheme
7781 , focusedBorderColor = focusedColor grayScheme
7882 , logHook = dynamicLogWithPP $ xmobarPP