[xmonad] Patch: X.H.FadeInactive and X.A.GridSelect
gwern0 at gmail.com
Wed May 2 02:01:42 CEST 2012
On Tue, May 1, 2012 at 3:12 PM, Jesper Reenberg
<jesper.reenberg at gmail.com> wrote:
> Attached is my previous patch, which seems to have been stranded. Anyways
> there don't seem to have been any objections.
> * Fixed X.A.GridSelect to be consistent in the way it (now) sorts the shown
> elements when modifying the searchString.
> The implemented ordering sorts based on how "deep the needle is in the
> haystack", meaning that searching for "st" in the elements "Install" and
> will order them as "Study" and "Install". Previously there was no ordering
> when using GridSelect to select workspaces, the ordering was not
> consistent, as
> the list of workspaces (if not modified manually) is ordered by last used.
> this case either "Study" or "Install" would come first depending on which
> workspace was last visited.
> By not having it consistent, it really fucks with muscle memory.
> I'm open for other ways of sorting the elements when the searchString is not
> null, however sorting them in the order of "the depth of the match" seems to
> be very intuitive, as I (and others I have talked to) tend to write the
> first letters of the word that is searched for.
If no one objects, I will push in 7 days.
More information about the xmonad