Open systemoperator opened 3 years ago
It would be nice. I haven't looked into doing this, but my guess is that it would be a fair amount of work & extra code - and I think it would probably slow down the display of the list quite a lot.
So, unless someone appears with a patch that magically does this without lots of extra complexity & slowness, then I'm going to close this, sorry.
@dflock How about this implementation: https://github.com/XCMer/fuzzy-window-switcher
It works like a charm. I could not observe any bottleneck concerning its performance.
It's also implemented with Python.
That's definitely a good find, thanks!
However, that's a GTK3 only implementation - that code requires GTK3 (& pygobject) installed to work. It also doesn't take themes etc into account, apparently: https://github.com/XCMer/fuzzy-window-switcher/issues/12
This plugin currently works on any system using the X Window Manager, afaik - and I wouldn't want to reduce that compatibility.
Although, thinking about it, we could probably put some code based on that implementation into a try ... catch
block and have the current icon as a fallback.
That might not be too bad, maybe I'll try that.
It would be great, to show the corresponding icon next to the applications in the list.