From 43a62d0d12a8e817f2cd3fa391bd8c67ce9d3e9b Mon Sep 17 00:00:00 2001 From: DB p Date: Sat, 30 Oct 2021 05:31:13 +0900 Subject: [PATCH] - add netflix / youtube music - add netflix / youtube music icon - change list array order - remove findicon.com - add search source setting guide string --- .../Images/netflix.png | Bin 0 -> 1536 bytes .../Images/youtubemusic.png | Bin 0 -> 2256 bytes .../Languages/en.xaml | 4 + .../SearchSourceSetting.xaml | 61 ++------------ .../SettingsControl.xaml | 2 +- .../setting.json | 77 ++++++++++-------- 6 files changed, 56 insertions(+), 88 deletions(-) create mode 100644 Plugins/Flow.Launcher.Plugin.WebSearch/Images/netflix.png create mode 100644 Plugins/Flow.Launcher.Plugin.WebSearch/Images/youtubemusic.png diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/Images/netflix.png b/Plugins/Flow.Launcher.Plugin.WebSearch/Images/netflix.png new file mode 100644 index 0000000000000000000000000000000000000000..9d702bcae876123f38b1dde915ed3bd088c3e32b GIT binary patch literal 1536 zcmaJ>dr;GM9RC5HtsHE4B0HUr7*0hgO;TxXGdrM73%yy8(h2i)7@9yUG>J*D1*b#M zO@(Ehf-22cRFD?nVX_17y?mR}oy?VG`7nk<_YXpY+A!4o` zew|c?bsl77c^c9v(HIAcs-f9BC8mj0>re%xLRBb&sSs2bgJHOOHXa)b4Lq{~zjh51|FoM!(7TKZON* z0Y@V?T43{ehcvkCNPj2}H}W(ovb>#T^9H*(&&i6c;AA;SrBY&0RJx0ySdTEHpJ27( z7DfxE*HXV9+rzp$sqp8{%g{M zSCW1F+acddhauZy?5z`G9+JhP!wMhirWJvmiYOlLHe@$i8q!MfP+}UZC={xSW=Dj@C z_u;i)T33fvA0JnJaw-^g_EQ|Ye>JpSpwzQ)+e9v0z_Us5w5lxiqsp)rloL##RXARcBGtS~`3Z z2)?s!x#R4|n{|g}pt<`k+TKU1vuXp%Kl1JNoi_)YL(*Q#?X=iyN!j{+6gLrc(;FLg ziXzWs?FKM4>|RiLd(_@B7W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P;6=;Wlvw9%%9Seo4jY47-BP zY-3}E)YJ&_{fU9`_UVO_k`y&^VWgd|RxRSz5u5=|Gw)8x~62X(b?H|w*RiFY*uzSy(1zz>Cw=s{#6az zBD#vEx;~i(y;1MUx2A7PS!gjfrgwGGC%X~3xjXLtJV17PRgEgIRk%Jd;!NLe6-awB z>~Z5n#gV*Dx8kgA#j3hz$Hu0$pn4~XYx#30znhm@x7>-UiW|4IG&&9%mzVYE#2DmU z_Z$UtVP$0#&m#KY|B_{7qHb*T`hpqOloFR;TIy0E&b;32x6taf8gehnH=sko9{#M3 zwG;!94tgp?jBJw?Ope$U6lCHb5bNr6PMR6^6}uiw1*IUMOS zcX%HqQ&AB0Hly5P^f~$1e2C$6N6%w8onE_IfIMG3{6e%jsm)>V=tP=q3^q1aITdvM zac}3Tbrr5wMtp@oK zzfyezx;t=zuR3#o>?^*KN+2@wFG~&gTzoClE>2ShEj%mkCkGEPOjo6)B|n|_)zBO~ zFcI=EqvOX3H+|eQCZv<@mz@;ed=-0Do#q!i?$m&&@OzWo-EB&VObqM8eB>%rRWApW zwFdowt4B;d-BCo@eU#c7#q+Sfr(0Ul;R?ZtnG4o+zu9#9l_f1-r;_C7CAB?YNjA(tY7azTMyrQ%_Qga~({CXi> zLqRx^XS2)Ge?qfuW%-}(w}2$gSJRoFIuBPwa2|hsFs1WCC9$KF55kuh75wQ8G?>J9bB{M{ebVE~Ua2j?ne&hB0|!{4gz0%r+}D^-&U%D*GLyVy$0=ezw; zkF$^>giYU2W3+R9Y&y(LKf!*;JknN}{9%yMS`(;`Sp6&ha_ef4Wc4d8SU_9vjEa(u QXzd@vb-xF_nszMlKjA*Nf&c&j literal 0 HcmV?d00001 diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/en.xaml index 47063ea08..cc19b57ca 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/en.xaml +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/Languages/en.xaml @@ -19,6 +19,10 @@ Autocomplete Data from: Please select a web search Are you sure you want to delete {0}? + If you have a web search on the service you want to use, you can add it to the Flow. For example, You can check the following formats in the address bar when you search 'casino' on Netflix . "https://www.netflix.com/search?q=Casino" So, you change the search word area as follows. + https://www.netflix.com/search?q={q} + And add it to the place URL in this window, then you can search Netflix in Flow. + Title diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml b/Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml index 788bc3358..fbf12a6b5 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml @@ -6,60 +6,9 @@ xmlns:vm="clr-namespace:Flow.Launcher.Plugin.WebSearch" mc:Ignorable="d" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" - Title="{DynamicResource flowlauncher_plugin_websearch_window_title}" Height="425" Width="550" + Title="{DynamicResource flowlauncher_plugin_websearch_window_title}" Height="590" Width="550" d:DataContext="{d:DesignInstance vm:SearchSourceViewModel}" Background="#F3F3F3" BorderBrush="#cecece"> - @@ -71,6 +20,14 @@ + + + + + diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml b/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml index 7555ac5cd..54ef8d8e4 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml @@ -85,7 +85,7 @@ + Width="400"> diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/setting.json b/Plugins/Flow.Launcher.Plugin.WebSearch/setting.json index ef9c63d67..c8f521653 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/setting.json +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/setting.json @@ -7,6 +7,48 @@ "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", @@ -14,13 +56,6 @@ "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", @@ -42,13 +77,6 @@ "Url": "http://maps.google.com/maps?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": "Duckduckgo", "ActionKeyword": "duckduckgo", @@ -70,20 +98,6 @@ "Url": "https://gist.github.com/search?q={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": "Wolframalpha", "ActionKeyword": "wolframalpha", @@ -112,13 +126,6 @@ "Url": "https://www.google.com/search?q={q}&tbm=isch", "Enabled": true }, - { - "Title": "Youtube", - "ActionKeyword": "youtube", - "IconPath": "Images\\youtube.png", - "Url": "http://www.youtube.com/results?search_query={q}", - "Enabled": true - }, { "Title": "Bing", "ActionKeyword": "bing",