[xmonad] Xmonad: Get NSP Workspace

Dave Macias davama at gmail.com
Wed Jun 8 20:22:09 UTC 2016


>
> You're using ($) wrong and will get a type error from trying to append a
> list of strings to a list of numbers.


I figure appending a string to numbers was the issue.

The code worked.

Thank you for the continue support.

-Dave

On Wed, Jun 8, 2016 at 3:52 PM, Brandon Allbery <allbery.b at gmail.com> wrote:

> On Wed, Jun 8, 2016 at 3:39 PM, Dave Macias <davama at gmail.com> wrote:
>
>> Ok, that makes sense. So in essence i could have up to 11 ws if NSP has a
>> window.
>>
>> So that being the case is either of these possible?
>> *myWorkspaces = map show $ [1..9] ++ [0] ++ ["NSP"]*
>>
>
> You're using ($) wrong and will get a type error from trying to append a
> list of strings to a list of numbers.
>
>     myWorkspaces = map show [1..9] ++ ["0","NSP"]
>
> is what I'd write, if I were using numeric workspaces (I use words).
>
> It's still possible you'd need to move stuff off of "0" back to "NSP".
>
> This, i believe, will solve the keybinding issue and still allow me to use
>> the dice.ttf font.
>>
>
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20160608/99a36739/attachment.html>


More information about the xmonad mailing list