You are not logged in.

#1 2012-03-16 00:53:25

n0dix
Member
Registered: 2009-09-22
Posts: 956

[SOLVED] Dmenu + Xmonad, problem in a new version.

Hello guys.

I recently have problem with the new version of Dmenu on Xmonad. Dmenu version is 4.5 and the code i use is this:

keys' :: XConfig Layout -> M.Map (KeyMask, KeySym) (X ())
keys' conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
    -- launching and killing programs
    [ ((modMask,               xK_Return), spawn $ XMonad.terminal conf) 
    , ((modMask,               xK_F2     ), spawn "exe=`dmenu_path | dmenu -fn -*-profont-*-*-*-*-12-*-*-*-*-*-*-* -nb black -nf rgb:a0/a0/a0 -sb rgb:00/80/80 -sf black` && eval \"exec $exe\"") 

Any idea?

Thanks in advanced.

Last edited by n0dix (2012-03-16 02:53:59)

Offline

#2 2012-03-16 02:53:30

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: [SOLVED] Dmenu + Xmonad, problem in a new version.

Well got it working again, look for this post. And changed my file to the following:

[ ((modMask,               xK_Return), spawn $ XMonad.terminal conf) 
    , ((modMask,               xK_F2     ), spawn "dmenu_run -fn -*-profont-*-*-*-*-12-*-*-*-*-*-*-* -nb black -nf rgb:a0/a0/a0 -sb rgb:00/80/80 -sf black") 
...

Thanks anyway smile

Offline

Board footer

Powered by FluxBB