Comments (9)
hey there, @Sobak
I like your idea. I think this could be added as a option that can be toggled in the Settings tab. That way the user adapts it to his own needs.
from wox.plugin.switcheroo.
That would be absolutely great
from wox.plugin.switcheroo.
I found another issue with a current behavior. My scenario: I had Opera Browser opened and wanted to "teach" Wox to prefer switching to its window over opening new (actually, a new tab, but it's irrelevant). I typed "opera", "oper", "op", selected Opera result from Switcheroo and repeated until its weight was inreased enough. It worked, great.
But here comes the problem: I had Facebook tab opened so for Wox, the title was "Facebook - Opera". Then I switched current tab to something else, let it be "Foobar - Opera" and it has default weight again. I fully understand it - "Facebook - Opera" is different result than "Foobar - Opera", but maybe flipping title with description, as I suggested, would solve this issue as well?
from wox.plugin.switcheroo.
This plugin does not weight the results, they are weighted by Wox. And as far as I'm aware (this should be checked though), Wox weights it based on the score of the Fuzzy Matcher + how often a specific result is chosen. I could force a recalculation of the score to match how the results arrive from Switcheroo itself.
Totally offtopic
I have considered ditching Switcheroo (the core functionality) for half a year now. At this point it has not been updated for a year. I was planning to remake the plugin to target GoToWindow which has tab support for applications via plugins, but it has been also silent for 7 months now
from wox.plugin.switcheroo.
Sure, I know that the core is responsible for weighting. I suppose, however, that each result is identified by the title, not the description. If I'm right, then "Facebook - Opera" and "Foobar - Opera" would have the same title of "opera" (application name) and their respective descriptions. Then they would be considered same result and weighting should work as expected.
I might be wrong, though, so I'll try to Read The F... Source and come up with more useful thoughts.
PS: I would also suppose launchers to be more popular on Windows - I might be biased but for me it's not "geek-only" kind of workflow. It's just convenient and has big potential.
from wox.plugin.switcheroo.
Sorry I cannot be more helpful right now. I will have more time to look into it during the weekend.
from wox.plugin.switcheroo.
Just updated Switcheroo to 1.0.8
. Added two new options:
- an option to display applications first and the rest of the title last. Instead of "Github.com - Google Chrome" you will get "Google Chrome - Github.com"
- an option to swap the title and subtitle places
@Sobak please report back once you have updated the Switcheroo plugin. You can do so by typing wpm install Switcheroo
into Wox
from wox.plugin.switcheroo.
@Sobak regarding your comment about the weighting system... For each page it will be different. I believe Wox stores the weight for specific results. Again, this can be changed by some extra weighting.
**Edit:**About that "extra" weighting... I think I could just nuke it completely and make all of them return the same score for it. I will now test what Switcheroo actually returns.
Edit 2: right now its is not possible to pass unweighted results to Wox. Whatever I do, the MainViewModel
will always add the frequency score. This can be seen here: Wox\ViewModel\MainViewModel.cs, Lines 614-624
This requires a change to Wox's Plugin
class, which is the most untouchable thing we have due to it being used to by plugin developers. It would require some discussion and considerations, which is even more complicated at this point because @happlebao has been missing/busy for quite some time now.
from wox.plugin.switcheroo.
App name swap is already implemented. Closing this up. As for the weighting, if it's still relevant for the current version of Wox, please create a new issue.
from wox.plugin.switcheroo.
Related Issues (17)
- The version on plugin website is not this one HOT 6
- Switcheroo Will not work if There's same Windows Title HOT 2
- Switcheroo not showing some Windows HOT 4
- Does not switch to correct virtual desktop (Windows 10) HOT 4
- [Bug] Alt + Tab Override with * Action Keyword
- [feature request]
- It should remember last switched program.
- Sorting windows list by taskbar order
- Please support Pinyin.
- Switcheroo shows cloaked apps on Windows 10. HOT 1
- When settings the action key to * it does not come up in search result. HOT 5
- Don't work with wox version 1.2.813 HOT 4
- can't show the application icons using swicheroo 1.0.5 with wox 1.3 HOT 24
- Wox does not get focused on Alt+Tab HOT 18
- Provide pre-built release for installations that cannot use wpm HOT 3
- Wox shown in list HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wox.plugin.switcheroo.