Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE_REQUEST] Multiple Search Engines Simultaneously #206

Closed
shimizurei opened this issue Sep 6, 2021 · 2 comments
Closed

[FEATURE_REQUEST] Multiple Search Engines Simultaneously #206

shimizurei opened this issue Sep 6, 2021 · 2 comments
Labels
🦄 Feature Request [ISSUE] Suggestion for new feature, update or change 💤 Low Priority [ISSUE] Nice to have, but not currently in scope

Comments

@shimizurei
Copy link

shimizurei commented Sep 6, 2021

Is your feature request related to a problem? If so, please describe.

Thank you for adding the search function! I was hoping it could be made more multifunctional. With just some text, you could change what search engine you use on the fly. Plus, the user could expand it to encapsulate as many sites as they wish.

Describe the solution you'd like

Here's an example of the idea:

Config File

"appConfig":
  "webSearch": {
    "searchEngine": "multi",
    "multiSearchEngine": {
         "/g": "google",
         "/d": "duckduckgo",
         "/rd": "reddit",
         "/yt": "youtube",
         "/sp": "https://open.spotify.com/search/",
         "/wk": "wikipedia",
         "/md": "https://mangadex.org/titles?q=",
         "/js": "http://jisho.org/search/",
    }
 }

That way the user can add their own engines based on sites they frequently/commonly use.

You could also use bangs (!) if it works better: e.g. "!d": "duckduckgo"

Examples of Use

  • /rd "jjk movie discussion"
  • /js "終了"
  • /yt "how to hold a cat"
  • /md "naruto"

Priority

Medium (Would be very useful)

Is this something you would be keen to implement

No

@shimizurei shimizurei added the 🦄 Feature Request [ISSUE] Suggestion for new feature, update or change label Sep 6, 2021
@Lissy93
Copy link
Owner

Lissy93 commented Sep 6, 2021

Love the idea! I had not thought of this, but it makes sense, and should be pretty easy to implement.
I'll get it done this weekend, and update the ticket when it's released :)

@Lissy93 Lissy93 added the 💤 Low Priority [ISSUE] Nice to have, but not currently in scope label Sep 6, 2021
@Lissy93
Copy link
Owner

Lissy93 commented Sep 11, 2021

Heya, this is implemented in #224 :)

Once you've updated to V 1.7.6, you can use it with something like:

appConfig:
  webSearch:
    searchEngine: 'duckduckgo'
    openingMethod: 'newtab'
    searchBangs:
      /r: reddit
      /w: wikipedia
      /s: https://whoogle.local/search?q=
      /a: https://www.amazon.co.uk/s?k=
      ':wolf': wolframalpha
      ':so': stackoverflow
      ':git': github

Hope that helps :)

asterling8516 pushed a commit to asterling8516/dashy that referenced this issue Nov 23, 2023
Closes Lissy93#206

Signed-off-by: Bjorn Lammers <walkxnl@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦄 Feature Request [ISSUE] Suggestion for new feature, update or change 💤 Low Priority [ISSUE] Nice to have, but not currently in scope
Projects
None yet
Development

No branches or pull requests

2 participants