<div dir="ltr">`filter (/= "NSP")`<div><br></div><div>Eventually this will go away; we have an unfinished PR which unmaps windows instead of moving them to a special workspace.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 19, 2023 at 11:12 AM Erica <<a href="mailto:e.a.gebhart@gmail.com">e.a.gebhart@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div>Hello everyone,<div><br><div>I know this is an old overdone question. I've had it working in most spots over the years,</div><div>But I have it on my workspace gridselect and I'm not sure when it reappeared.</div><div>I've redone my workspaces and topics and NSP has become annoying.</div><div><br></div><div>My haskell has gotten rusty and I just can't remember what I need. I have this,</div><div>using my topic space names. The list is the topic workspaces which actually exist</div><div>plus any extras. Which includes NSP.</div><div><br></div><div>I'd like to eliminate the NSP workspace from my list. Here is my code.</div><div><br></div><div>wsgrid = withWindowSet $ \w -> do<br> let wss = W.workspaces w<br> usednames = map W.tag $ wss<br> newnames = filter (\used -> (show used `notElem` (map show myTopicNames))) usednames<br> gridselect workspaceGsConfig (map (\x -> (x,x)) (myTopicNames ++ newnames))<br></div><div><br></div><div>I think I need to go do some haskell challenges and get my fu back.</div><div><br></div><div>Thank you for any help.</div><div><br></div><div>Erica</div><div><br></div></div></div>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org" target="_blank">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>