[xmonad] DynamicProjects: creating a new project that partially matches predefined project

Ramon Diaz-Uriarte rdiaz02 at gmail.com
Thu Oct 31 21:33:42 UTC 2024


Thanks, but I tried and it does not seem to solve it. These are the relevant bits of my xmonad.hs

myProjectConfig = def {
         font            = "xft:Inconsolata:size=14:bold:antialias=true"
       , position        = CenteredAt (1/2) (1/2)
       , fgColor         = "White"
       , bgColor         = "#454545"
       , height          = 36
       , searchPredicate = fuzzyMatch
       , sorter          = fuzzySort
       , autoComplete    = Nothing
       }
       
("M-w", switchProjectPrompt myProjectConfig)

I've commented out the fuzzyMatch and fuzzSort , but that does not help. 

Best,

R.

On Thu, 31-October-2024, at 16:45:49, Brandon Allbery <allbery.b at gmail.com> wrote:
> This is an interesting issue. I think you need to change your XPConfig to change autoComplete to Nothing so the completion isn't auto-selected. It
> would be nice if switchProjectPrompt did this automatically, though.
>
> On Thu, Oct 31, 2024 at 4:09 AM Ramon Diaz-Uriarte <rdiaz02 at gmail.com> wrote:
>
>  Dear All,
>
>  I use XMonad.Actions.DynamicProjects. I have a bunch of configured, predefined projects, say one with name "emacs". Now, when I use
>  switchProjectPrompt, I do not know how to create a new (not predefined) project called "em": as soon as I type "em" it matches "emacs" and
>  on pressing enter the "emacs" project is created. The only solution I've found is to type "em1" or similar, to prevent matching  but I guess
>  there must be a simpler way that I am missing.
>
>  Thanks,
>
>  R.
>
>  -- 
>  Ramon Diaz-Uriarte
>  Department of Biochemistry, Lab B-31
>  Facultad de Medicina 
>  Universidad Autónoma de Madrid 
>  Arzobispo Morcillo, 4
>  28029 Madrid
>  Spain
>
>  Phone: +34-91-497-2412
>
>  Email: rdiaz02 at gmail.com
>         r.diaz at uam.es
>         ramon.diaz at iib.uam.es
>
>  https://ligarto.org/rdiaz
>
>  _______________________________________________
>  xmonad mailing list
>  xmonad at haskell.org
>  http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad

-- 
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-31
Facultad de Medicina 
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdiaz02 at gmail.com
       r.diaz at uam.es
       ramon.diaz at iib.uam.es

https://ligarto.org/rdiaz




More information about the xmonad mailing list