You are not logged in.
I decided to give xmonad a whirl.
I fell in love with the run dialog, btw.
But my issue is that I want the windows to have their own titles. It's handier for me to be able to look at the title of something that's compiling and be able to tell where it is in the list of things that are being built.
So.....
I have imported XMonad.Layout.SimpleDecoration into my file.
After putting in the appropriate line in my layout : simpleDeco shrinkText defaultTheme
well, none of my colors are being read, and the text is smaller than I want it to be.
myLayout = im $ normal where
normal = layoutHints $ simpleDeco shrinkText defaultTheme (wideLayout ||| basicLayout)
im = onWorkspace "Pidgin" imLayout
-- myTheme
myTheme = defaultTheme
{ fontName = "xft:LIberation Mono-20"
, activeColor = "#00ff00"
, inactiveColor = "#ff00ff"
, urgentColor = "#ffff00"
, activeBorderColor = "#00ff00"
, inactiveBorderColor = "#ff0000"
, urgentBorderColor = "#ffff00"
, activeTextColor = "#00cc00"
, inactiveTextColor = "#ff0000"
, urgentTextColor = "#aaaa00"
, decoWidth = 500
, decoHeight = 22
}
I'm not sure what I've done wrong here, and this is only part of the layout of my xmonad.hs.
I can post the entire thing if you want.
Knute
Offline
xft:LIberation Mono-20
Change your upper case 'I' to an 'i' in Liberation. That may help with the font problem.
Offline
you also forgot to call your theme:
normal = layoutHints $ simpleDeco shrinkText defaultTheme (wideLayout ||| basicLayout)
should probably be:
normal = layoutHints $ simpleDeco shrinkText myTheme (wideLayout ||| basicLayout)
/edit: though, i just tried to add my own theme to my tabbed layout and it's not respecting it, always just uses defaultTheme... not sure why.
/edit two: just found on #xmonad, mod-shift-space to 'reset' the new layouts, that made my theme settings take effect. (thanks vav)
Last edited by brisbin33 (2009-08-23 19:24:45)
//github/
Offline
Thanks. I noticed the mispelling in the font name after I posted.
After calling it, the theme is showing up. Very ugly, because I was just putting values in to get it to change!
Thanks alot.
Knute
Offline