[xmonad] [patch] Prompt to select a workspace by its name

lewo at abesis.fr lewo at abesis.fr
Mon Jun 1 09:44:50 UTC 2015


Daniel Wagner <dmwit at dmwit.com> writes:

> I don't think workspacePrompt is the same thing -- it knows about workspace
> tags, but not workspace names as assigned by the WorkspaceName module.

Exactly, the proposed prompt allows the user to select a workspace by
its name (assigned by the WorkspaceName module) while
Xmonad.Prompt.Workspace.workspacePrompt uses the workspace tag.

I provide a new patch where the function name and signature have
been adapted to look like the original worskpacePrompt function.

Antoine.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: workspaceNamePrompt.dpatch
Type: test/x-patch
Size: 36942 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20150601/388335cc/attachment-0001.bin>
-------------- next part --------------


>
> ~d
>
> On Fri, May 29, 2015 at 12:17 PM, Brent Yorgey <byorgey at gmail.com> wrote:
>
>> Hi A.,
>>
>> This functionality is actually already available through the
>> XMonad.Prompt.Workspace module.  Just adding a keybinding to
>>
>> workspacePrompt (windows . greedyView)
>>
>> should do the trick.  Let me know if that works for you.
>>
>> -Brent
>>
>> On Fri, May 1, 2015 at 6:43 PM <lewo at abesis.fr> wrote:
>>
>>> Hi,
>>>
>>> Attached is a patch that adds a prompt to select and view a workspace
>>> based on its tag and its name which comes from the WorkspaceName
>>> extension.
>>>
>>> Hoping this could interest someone else,
>>> A.
>>>
>>> _______________________________________________
>>> xmonad mailing list
>>> xmonad at haskell.org
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
>>>
>>
>> _______________________________________________
>> xmonad mailing list
>> xmonad at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
>>
>>
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad


More information about the xmonad mailing list