From bd210c39af923014504da7914e20066dc4f091e7 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Wed, 3 Nov 2021 08:31:56 +1100 Subject: [PATCH 1/2] revert FindIcon search source removal --- Plugins/Flow.Launcher.Plugin.WebSearch/setting.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/setting.json b/Plugins/Flow.Launcher.Plugin.WebSearch/setting.json index c8f52165337..5fd72adef7c 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/setting.json +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/setting.json @@ -56,6 +56,13 @@ "Url": "http://en.wikipedia.org/wiki/{q}", "Enabled": true }, + { + "Title": "FindIcon", + "ActionKeyword": "findicon", + "IconPath": "Images\\pictures.png", + "Url": "http://findicons.com/search/{q}", + "Enabled": true + }, { "Title": "Facebook", "ActionKeyword": "facebook", From 2bcbed0c1d8bf2dfe7b180e2ff53a71eea2486d2 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Wed, 3 Nov 2021 09:02:19 +1100 Subject: [PATCH 2/2] add netflix and youtube music search sources to WebSearch --- .../Settings.cs | 16 ++ .../plugin.json | 4 +- .../setting.json | 153 ------------------ 3 files changed, 19 insertions(+), 154 deletions(-) delete mode 100644 Plugins/Flow.Launcher.Plugin.WebSearch/setting.json diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/Settings.cs b/Plugins/Flow.Launcher.Plugin.WebSearch/Settings.cs index 33c3043755a..47467d5cc52 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/Settings.cs +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/Settings.cs @@ -163,6 +163,22 @@ public Settings() Enabled = true }, new SearchSource + { + Title = "Youtube Music", + ActionKeyword = "ytmusic", + Icon = "youtubemusic.png", + Url = "https://music.youtube.com/search?q={q}", + Enabled = true + }, + new SearchSource + { + Title = "Netflix", + ActionKeyword = "netflix", + Icon = "netflix.png", + Url = "https://www.netflix.com/search?q={q}", + Enabled = true + }, + new SearchSource { Title = "Bing", ActionKeyword = "bing", diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json b/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json index f83b1e40bbe..5b1f4dbde33 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/plugin.json @@ -19,6 +19,8 @@ "lucky", "image", "youtube", + "ytmusic", + "netflix", "bing", "yahoo", "bd" @@ -26,7 +28,7 @@ "Name": "Web Searches", "Description": "Provide the web search ability", "Author": "qianlifeng", - "Version": "1.4.1", + "Version": "1.5.0", "Language": "csharp", "Website": "https://github.com/Flow-Launcher/Flow.Launcher", "ExecuteFileName": "Flow.Launcher.Plugin.WebSearch.dll", diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/setting.json b/Plugins/Flow.Launcher.Plugin.WebSearch/setting.json deleted file mode 100644 index 5fd72adef7c..00000000000 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/setting.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "WebSearches": [ - { - "Title": "Google", - "ActionKeyword": "*", - "IconPath": "Images\\google.png", - "Url": "https://www.google.com/search?q={q}", - "Enabled": true - }, - { - "Title": "Youtube", - "ActionKeyword": "youtube", - "IconPath": "Images\\youtube.png", - "Url": "http://www.youtube.com/results?search_query={q}", - "Enabled": true - }, - { - "Title": "Netflix", - "ActionKeyword": "netflix", - "IconPath": "Images\\netflix.png", - "Url": "https://www.netflix.com/search?q={q}", - "Enabled": true - }, - { - "Title": "Google Translate", - "ActionKeyword": "translate", - "IconPath": "Images\\google_translate.png", - "Url": "http://translate.google.com/#auto|en|{q}", - "Enabled": true - }, - { - "Title": "Gmail", - "ActionKeyword": "gmail", - "IconPath": "Images\\gmail.png", - "Url": "https://mail.google.com/mail/ca/u/0/#apps/{q}", - "Enabled": true - }, - { - "Title": "Google Drive", - "ActionKeyword": "drive", - "IconPath": "Images\\google_drive.png", - "Url": "http://drive.google.com/?hl=en&tab=bo#search/{q}", - "Enabled": true - }, - { - "Title": "Youtube Music", - "ActionKeyword": "ytmusic", - "IconPath": "Images\\youtubemusic.png", - "Url": "https://music.youtube.com/search?q={q}", - "Enabled": true - }, - { - "Title": "Wikipedia", - "ActionKeyword": "wiki", - "IconPath": "Images\\wiki.png", - "Url": "http://en.wikipedia.org/wiki/{q}", - "Enabled": true - }, - { - "Title": "FindIcon", - "ActionKeyword": "findicon", - "IconPath": "Images\\pictures.png", - "Url": "http://findicons.com/search/{q}", - "Enabled": true - }, - { - "Title": "Facebook", - "ActionKeyword": "facebook", - "IconPath": "Images\\facebook.png", - "Url": "http://www.facebook.com/search/?q={q}", - "Enabled": true - }, - { - "Title": "Twitter", - "ActionKeyword": "twitter", - "IconPath": "Images\\twitter.png", - "Url": "http://twitter.com/search?q={q}", - "Enabled": true - }, - { - "Title": "Google Maps", - "ActionKeyword": "maps", - "IconPath": "Images\\google_maps.png", - "Url": "http://maps.google.com/maps?q={q}", - "Enabled": true - }, - { - "Title": "Duckduckgo", - "ActionKeyword": "duckduckgo", - "IconPath": "Images\\duckduckgo.png", - "Url": "https://duckduckgo.com/?q={q}", - "Enabled": true - }, - { - "Title": "Github", - "ActionKeyword": "github", - "IconPath": "Images\\github.png", - "Url": "https://github.com/search?q={q}", - "Enabled": true - }, - { - "Title": "Github Gist", - "ActionKeyword": "gist", - "IconPath": "Images\\gist.png", - "Url": "https://gist.github.com/search?q={q}", - "Enabled": true - }, - { - "Title": "Wolframalpha", - "ActionKeyword": "wolframalpha", - "IconPath": "Images\\wolframalpha.png", - "Url": "http://www.wolframalpha.com/input/?i={q}", - "Enabled": true - }, - { - "Title": "Stackoverflow", - "ActionKeyword": "stackoverflow", - "IconPath": "Images\\stackoverflow.png", - "Url": "http://stackoverflow.com/search?q={q}", - "Enabled": true - }, - { - "Title": "I'm Feeling Lucky", - "ActionKeyword": "lucky", - "IconPath": "Images\\google.png", - "Url": "http://google.com/search?q={q}&btnI=I", - "Enabled": true - }, - { - "Title": "Google Image", - "ActionKeyword": "image", - "IconPath": "Images\\google.png", - "Url": "https://www.google.com/search?q={q}&tbm=isch", - "Enabled": true - }, - { - "Title": "Bing", - "ActionKeyword": "bing", - "IconPath": "Images\\bing.png", - "URL": "https://www.bing.com/search?q={q}", - "Enabled": true - }, - { - "Title": "Yahoo", - "ActionKeyword": "yahoo", - "IconPath": "Images\\yahoo.png", - "URL": "http://www.search.yahoo.com/search?p={q}", - "Enabled": true - } - ], - "EnableWebSearchSuggestion": false, - "WebSearchSuggestionSource": "Google" -} \ No newline at end of file