Hi,
I am in the progress of configurating xmobar togheter with Xmonad and so far
it is going really good thanks to the help from xmonad web resources.
But now I am stuck.
I have added Keyboard LED Indication, following [url=
http://www.haskell.org/haskellwiki/Xmonad/Config_archive/John_Goerzen%27s_Configuration/]JohnGoerzen's[/url]
excelent guide.
Installed "ledmon" from AUR and added in xmonad.hs
[code]
, Run CommandReader "/usr/bin/ledmon" "LED"
, template = "%StdinReader% }{ %LED%</fc> %cpu% | %memory% *
%swap% %date%</fc> | %EGPF%"
}
[/code]
Keyboard LED indication works great.
The problem is that I from time to time want to enter Swedish caracters and
for the reason switch to se keymap.
I did that according to Archlinux wiki about X.
in /etc/X11/xorg.conf i added.
[code]
Option "XkbLayout" "us, se"
Option "XkbOptions" "grp:caps_toggle"
[/code]
I can now easily toggle keyboard layout using caps lock.
However I do not get a indication in xmobar that caps lock is on. That would
be great to se.
Any idea on how to accomplies this?
Thank you.
Best regards,
/Christer