Hi,
I'm having trouble getting tabs to work using xmonad standalone for fedora.
Here is the important extract from my xmonad.hs:
Code:
--- My Theme For Tabbed layout
myTheme = defaultTheme { decoHeight = 16
, fontName = "-*-courier-*-r-*-*-12-*-*-*-*-*-*-u"
-- , fontName = "9x14"
, activeColor = "#48CE46"
, inactiveColor = "#F75456"
, activeBorderColor = "#48CE46"
, inactiveBorderColor = "#00000"
, activeTextColor = "#000000"
, inactiveTextColor = "#FFFFFF"
}
--LayoutHook
myLayoutHook = onWorkspace "term0" standardLayouts
$ onWorkspace "term1" term1Layouts
$ onWorkspace "ide" tabLayout
$ onWorkspace "web" tabLayout
$ onWorkspace "pdf" fullTabbed
$ onWorkspace "im" imLayout
$ onWorkspace "vbox" fullNoBorders
$ onWorkspace "vid" vidL
$ standardLayouts
where
standardLayouts = smartBorders $ avoidStruts ( Grid ||| tiled ||| reflectTiled ||| Mirror tiled ||| Accordion ||| Full ||| minimize (Tall 1 (3/100) (1/2)))
term1Layouts = smartBorders $ avoidStruts ( tiled ||| Grid ||| reflectTiled ||| Mirror tiled ||| Accordion ||| Full ||| minimize (Tall 1 (3/100) (1/2)))
--Layouts
tiled = avoidStruts $ (ResizableTall 1 (2/100) (1/2) [])
reflectTiled = (reflectHoriz tiled)
tabLayout = avoidStruts $ smartBorders (tabbed shrinkText myTheme)
full = noBorders Full
fullTabbed = smartBorders $ (tabbed shrinkText myTheme)
pidginRoster = And (ClassName "Pidgin") (Role "buddy_list")
skypeRoster = (ClassName "Skype") `And` (Not (Title "Options")) `And` (Not (Role "Chats")) `And` (Not (Role "CallWindowForm"))
imLayout = avoidStruts $ IM (1%7) (And (ClassName "Pidgin") (Role "buddy_list"))
--Gimp Layout
-- gimpLayout = avoidStruts $ smartBorders $ withIM (0.11) (Role "gimp-toolbox") $ reflectHoriz $ withIM (0.15) (Role "gimp-imk") Full
--Web Layout
webL = avoidStruts $ tabLayout ||| tiled ||| reflectHoriz tiled ||| full
fullL = avoidStruts $ full
fullNoBorders = smartBorders (full)
pdfL = fullNoBorders
vidL = fullNoBorders