[xmonad] Quite difficult hack

Andrea Spada andreaspada.mail at gmail.com
Sat May 24 09:46:24 EDT 2008

On Fri, 23 May 2008 16:20:22 -0400
Adam Vogt <vogt.adam at gmail.com> wrote:

> I find the workspace switching keybindings given in 
> XMonad.Actions.DynamicWorkspaces easier to understand:
> myKeys =
>   otherBindings
>   ++
>   zip (zip (repeat (mod1Mask)) [xK_1..xK_9]) (map (withNthWorkspace
> W.greedyView) [0..]) ++
>   zip (zip (repeat (mod1Mask .|. shiftMask)) [xK_1..xK_9]) (map
> (withNthWorkspace W.shift) [0..])
> To use the F keys, you want to change the list of keys [xK_1..xK_9]
> to [xK_F1..xK_F12].

Well, I agree with you, and is exactly what I have done at first...
but it doesn't work. Xmonad compile with no errors, but nothing hapens
when trying to swith workspace. So, I had try ome others way to achive
this, finally discovering the last one, thats everything but elegant. 

> There might be a way to convert it to not use withNthWorkspace, but
> it will probably look more like what you had.
> >Also, I want to have my opacity change on focus in and out. Anyone
> >knows how can I achive this with transet-df?
> It doesn't look like it is immediately achievable from the config,
> but someone more knowledgeable may think otherwise.
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad

More information about the xmonad mailing list