diff --git a/Doc/app.ico b/Doc/app.ico index 38c401c8c..362c8747f 100644 Binary files a/Doc/app.ico and b/Doc/app.ico differ diff --git a/Doc/app.png b/Doc/app.png index 8c9ca7971..ba17c1a66 100644 Binary files a/Doc/app.png and b/Doc/app.png differ diff --git a/Doc/app.psd b/Doc/app.psd deleted file mode 100644 index 833fd6529..000000000 Binary files a/Doc/app.psd and /dev/null differ diff --git a/Doc/app_error.png b/Doc/app_error.png index 5106d6e8a..4c035da0c 100644 Binary files a/Doc/app_error.png and b/Doc/app_error.png differ diff --git a/Doc/app_error.psd b/Doc/app_error.psd deleted file mode 100644 index 174e9cb62..000000000 Binary files a/Doc/app_error.psd and /dev/null differ diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index 6c06bb484..606e6712d 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Linq; @@ -8,6 +8,7 @@ using System.Windows.Controls; using System.Windows.Interop; using System.Windows.Markup; using System.Windows.Media; +using System.Windows.Media.Effects; using Flow.Launcher.Infrastructure; using Flow.Launcher.Infrastructure.Logger; using Flow.Launcher.Infrastructure.UserSettings; @@ -34,6 +35,9 @@ namespace Flow.Launcher.Core.Resource var dicts = Application.Current.Resources.MergedDictionaries; _oldResource = dicts.First(d => { + if (d.Source == null) + return false; + var p = d.Source.AbsolutePath; var dir = Path.GetDirectoryName(p).NonNull(); var info = new DirectoryInfo(dir); @@ -65,7 +69,7 @@ namespace Flow.Launcher.Core.Resource public bool ChangeTheme(string theme) { - const string defaultTheme = "Dark"; + const string defaultTheme = Constant.DefaultTheme; string path = GetThemePath(theme); try @@ -75,16 +79,15 @@ namespace Flow.Launcher.Core.Resource Settings.Theme = theme; - var dicts = Application.Current.Resources.MergedDictionaries; //always allow re-loading default theme, in case of failure of switching to a new theme from default theme if (_oldTheme != theme || theme == defaultTheme) { - dicts.Remove(_oldResource); - var newResource = GetResourceDictionary(); - dicts.Add(newResource); - _oldResource = newResource; + UpdateResourceDictionary(GetResourceDictionary()); _oldTheme = Path.GetFileNameWithoutExtension(_oldResource.Source.AbsolutePath); } + + if (Settings.UseDropShadowEffect) + AddDropShadowEffectToCurrentTheme(); } catch (DirectoryNotFoundException e) { @@ -109,7 +112,16 @@ namespace Flow.Launcher.Core.Resource return true; } - public ResourceDictionary GetResourceDictionary() + private void UpdateResourceDictionary(ResourceDictionary dictionaryToUpdate) + { + var dicts = Application.Current.Resources.MergedDictionaries; + + dicts.Remove(_oldResource); + dicts.Add(dictionaryToUpdate); + _oldResource = dictionaryToUpdate; + } + + private ResourceDictionary CurrentThemeResourceDictionary() { var uri = GetThemePath(Settings.Theme); var dict = new ResourceDictionary @@ -117,6 +129,13 @@ namespace Flow.Launcher.Core.Resource Source = new Uri(uri, UriKind.Absolute) }; + return dict; + } + + public ResourceDictionary GetResourceDictionary() + { + var dict = CurrentThemeResourceDictionary(); + Style queryBoxStyle = dict["QueryBoxStyle"] as Style; if (queryBoxStyle != null) { @@ -146,6 +165,7 @@ namespace Flow.Launcher.Core.Resource Setter[] setters = { fontFamily, fontStyle, fontWeight, fontStretch }; Array.ForEach(new[] { resultItemStyle, resultSubItemStyle, resultItemSelectedStyle, resultSubItemSelectedStyle }, o => Array.ForEach(setters, p => o.Setters.Add(p))); } + return dict; } @@ -176,6 +196,36 @@ namespace Flow.Launcher.Core.Resource return string.Empty; } + public void AddDropShadowEffectToCurrentTheme() + { + var dict = CurrentThemeResourceDictionary(); + + var windowBorderStyle = dict["WindowBorderStyle"] as Style; + + var effectSetter = new Setter(); + effectSetter.Property = Border.EffectProperty; + effectSetter.Value = new DropShadowEffect + { + Opacity = 0.9, + ShadowDepth = 2, + BlurRadius = 15 + }; + + windowBorderStyle.Setters.Add(effectSetter); + + UpdateResourceDictionary(dict); + } + + public void RemoveDropShadowEffectToCurrentTheme() + { + var dict = CurrentThemeResourceDictionary(); + var windowBorderStyle = dict["WindowBorderStyle"] as Style; + + dict.Remove(Border.EffectProperty); + + UpdateResourceDictionary(dict); + } + #region Blur Handling /* Found on https://github.com/riverar/sample-win10-aeroglass diff --git a/Flow.Launcher.CrashReporter/Images/app_error.png b/Flow.Launcher.CrashReporter/Images/app_error.png index 5106d6e8a..4c035da0c 100644 Binary files a/Flow.Launcher.CrashReporter/Images/app_error.png and b/Flow.Launcher.CrashReporter/Images/app_error.png differ diff --git a/Flow.Launcher.Infrastructure/Constant.cs b/Flow.Launcher.Infrastructure/Constant.cs index 1503aaf41..0936ce8c4 100644 --- a/Flow.Launcher.Infrastructure/Constant.cs +++ b/Flow.Launcher.Infrastructure/Constant.cs @@ -27,5 +27,9 @@ namespace Flow.Launcher.Infrastructure public static string PythonPath; public static string EverythingSDKPath; + + public static readonly string QueryTextBoxIconImagePath = $"{ProgramDirectory}\\Images\\mainsearch.png"; + + public const string DefaultTheme = "Darker"; } } diff --git a/Flow.Launcher.Infrastructure/KeyConstant.cs b/Flow.Launcher.Infrastructure/KeyConstant.cs new file mode 100644 index 000000000..317485176 --- /dev/null +++ b/Flow.Launcher.Infrastructure/KeyConstant.cs @@ -0,0 +1,9 @@ +namespace Flow.Launcher.Infrastructure +{ + public static class KeyConstant + { + public const string Ctrl = nameof(Ctrl); + public const string Alt = nameof(Alt); + public const string Space = nameof(Space); + } +} \ No newline at end of file diff --git a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs index dbb47fd8e..4e1a8d7d8 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs @@ -9,9 +9,12 @@ namespace Flow.Launcher.Infrastructure.UserSettings { public class Settings : BaseModel { - public string Hotkey { get; set; } = "Alt + Space"; + public string Hotkey { get; set; } = $"{KeyConstant.Alt} + {KeyConstant.Space}"; + public string OpenResultModifiers { get; set; } = KeyConstant.Alt; + public bool ShowOpenResultHotkey { get; set; } = true; public string Language { get; set; } = "en"; - public string Theme { get; set; } = "Dark"; + public string Theme { get; set; } = Constant.DefaultTheme; + public bool UseDropShadowEffect { get; set; } = false; public string QueryBoxFont { get; set; } = FontFamily.GenericSansSerif.Name; public string QueryBoxFontStyle { get; set; } public string QueryBoxFontWeight { get; set; } @@ -59,7 +62,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings public double WindowLeft { get; set; } public double WindowTop { get; set; } - public int MaxResultsToShow { get; set; } = 6; + public int MaxResultsToShow { get; set; } = 5; public int ActivateTimes { get; set; } // Order defaults to 0 or -1, so 1 will let this property appear last diff --git a/Flow.Launcher/App.xaml b/Flow.Launcher/App.xaml index 0b67b87dd..f3347d7fb 100644 --- a/Flow.Launcher/App.xaml +++ b/Flow.Launcher/App.xaml @@ -1,12 +1,15 @@  - + + + diff --git a/Flow.Launcher/Converters/OpenResultHotkeyVisibilityConverter.cs b/Flow.Launcher/Converters/OpenResultHotkeyVisibilityConverter.cs new file mode 100644 index 000000000..7de5af79a --- /dev/null +++ b/Flow.Launcher/Converters/OpenResultHotkeyVisibilityConverter.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Text; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; + +namespace Flow.Launcher.Converters +{ + [ValueConversion(typeof(bool), typeof(Visibility))] + public class OpenResultHotkeyVisibilityConverter : IValueConverter + { + private const int MaxVisibleHotkeys = 9; + + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + var hotkeyNumber = int.MaxValue; + + if (value is ListBoxItem listBoxItem) + { + ListBox listBox = ItemsControl.ItemsControlFromItemContainer(listBoxItem) as ListBox; + hotkeyNumber = listBox.ItemContainerGenerator.IndexFromContainer(listBoxItem) + 1; + } + + return hotkeyNumber <= MaxVisibleHotkeys ? Visibility.Visible : Visibility.Collapsed; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) => throw new System.InvalidOperationException(); + } +} diff --git a/Flow.Launcher/Converters/OrdinalConverter.cs b/Flow.Launcher/Converters/OrdinalConverter.cs new file mode 100644 index 000000000..970ed183c --- /dev/null +++ b/Flow.Launcher/Converters/OrdinalConverter.cs @@ -0,0 +1,22 @@ +using System.Globalization; +using System.Windows.Controls; +using System.Windows.Data; + +namespace Flow.Launcher.Converters +{ + public class OrdinalConverter : IValueConverter + { + public object Convert(object value, System.Type targetType, object parameter, CultureInfo culture) + { + if (value is ListBoxItem listBoxItem) + { + ListBox listBox = ItemsControl.ItemsControlFromItemContainer(listBoxItem) as ListBox; + return listBox.ItemContainerGenerator.IndexFromContainer(listBoxItem) + 1; + } + + return 0; + } + + public object ConvertBack(object value, System.Type targetType, object parameter, CultureInfo culture) => throw new System.InvalidOperationException(); + } +} diff --git a/Flow.Launcher/Converters/QuerySuggestionBoxConverter.cs b/Flow.Launcher/Converters/QuerySuggestionBoxConverter.cs index 2fb802d8a..c70796a6d 100644 --- a/Flow.Launcher/Converters/QuerySuggestionBoxConverter.cs +++ b/Flow.Launcher/Converters/QuerySuggestionBoxConverter.cs @@ -19,7 +19,7 @@ namespace Flow.Launcher.Converters var queryText = (string)values[0]; if (string.IsNullOrEmpty(queryText)) - return "Type here to search"; + return string.Empty; // second prop is the current selected item result var val = values[1]; diff --git a/Flow.Launcher/Flow.Launcher.csproj b/Flow.Launcher/Flow.Launcher.csproj index b63a204e7..568b6d481 100644 --- a/Flow.Launcher/Flow.Launcher.csproj +++ b/Flow.Launcher/Flow.Launcher.csproj @@ -54,10 +54,19 @@ + + + MSBuild:Compile + Designer + PreserveNewest + + + + @@ -135,6 +144,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest diff --git a/Flow.Launcher/Images/app.png b/Flow.Launcher/Images/app.png index 8c9ca7971..ba17c1a66 100644 Binary files a/Flow.Launcher/Images/app.png and b/Flow.Launcher/Images/app.png differ diff --git a/Flow.Launcher/Images/app_error.png b/Flow.Launcher/Images/app_error.png index 5106d6e8a..4c035da0c 100644 Binary files a/Flow.Launcher/Images/app_error.png and b/Flow.Launcher/Images/app_error.png differ diff --git a/Flow.Launcher/Images/mainsearch.png b/Flow.Launcher/Images/mainsearch.png new file mode 100644 index 000000000..ac5492fa6 Binary files /dev/null and b/Flow.Launcher/Images/mainsearch.png differ diff --git a/Flow.Launcher/Languages/da.xaml b/Flow.Launcher/Languages/da.xaml index 4c3d4bd85..296f6aa8b 100644 --- a/Flow.Launcher/Languages/da.xaml +++ b/Flow.Launcher/Languages/da.xaml @@ -42,7 +42,6 @@ Tema Søg efter flere temaer - Hej Flow Launcher Søgefelt skrifttype Resultat skrifttype Vindue mode @@ -51,7 +50,9 @@ Genvejstast Flow Launcher genvejstast + Åbn resultatmodifikatorer Tilpasset søgegenvejstast + Vis hotkey Slet Rediger Tilføj diff --git a/Flow.Launcher/Languages/de.xaml b/Flow.Launcher/Languages/de.xaml index d1eae3124..91b7c7982 100644 --- a/Flow.Launcher/Languages/de.xaml +++ b/Flow.Launcher/Languages/de.xaml @@ -42,7 +42,6 @@ Theme Suche nach weiteren Themes - Hallo Flow Launcher Abfragebox Schriftart Ergebnis Schriftart Fenstermodus @@ -51,7 +50,9 @@ Tastenkombination Flow Launcher Tastenkombination + Öffnen Sie die Ergebnismodifikatoren Benutzerdefinierte Abfrage Tastenkombination + Hotkey anzeigen Löschen Bearbeiten Hinzufügen diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml index 46519f058..1b69c1b90 100644 --- a/Flow.Launcher/Languages/en.xaml +++ b/Flow.Launcher/Languages/en.xaml @@ -49,7 +49,7 @@ Theme Browse for more themes - Hello Flow Launcher + Hi There Query Box Font Result Item Font Window Mode @@ -60,12 +60,17 @@ Hotkey Flow Launcher Hotkey + Open Result Modifiers + Show Hotkey Custom Query Hotkey Delete Edit Add Please select an item Are you sure you want to delete {0} plugin hotkey? + Query window shadow effect + Shadow effect has a substantial usage of GPU. + Not recommended if you computer performance is limited. HTTP Proxy @@ -95,7 +100,7 @@ Download updates failed, please check your connection and proxy settings to github-cloud.s3.amazonaws.com, or go to https://github.com/Flow-Launcher/Flow.Launcher/releases to download updates manually. - Release Notes: + Release Notes Old Action Keyword diff --git a/Flow.Launcher/Languages/fr.xaml b/Flow.Launcher/Languages/fr.xaml index 4ceb06249..f43cbb498 100644 --- a/Flow.Launcher/Languages/fr.xaml +++ b/Flow.Launcher/Languages/fr.xaml @@ -46,7 +46,6 @@ Thèmes Trouver plus de thèmes - Hello Flow Launcher Police (barre de recherche) Police (liste des résultats) Mode fenêtré @@ -55,7 +54,9 @@ Raccourcis Ouvrir Flow Launcher + Modificateurs de résultats ouverts Requêtes personnalisées + Afficher le raccourci clavier Supprimer Modifier Ajouter diff --git a/Flow.Launcher/Languages/it.xaml b/Flow.Launcher/Languages/it.xaml index 381864f8a..aa29a8891 100644 --- a/Flow.Launcher/Languages/it.xaml +++ b/Flow.Launcher/Languages/it.xaml @@ -46,7 +46,6 @@ Tema Sfoglia per altri temi - Hello Flow Launcher Font campo di ricerca Font campo risultati Modalità finestra @@ -55,7 +54,9 @@ Tasti scelta rapida Tasto scelta rapida Flow Launcher + Apri modificatori di risultato Tasti scelta rapida per ricerche personalizzate + Mostra tasto di scelta rapida Cancella Modifica Aggiungi diff --git a/Flow.Launcher/Languages/ja.xaml b/Flow.Launcher/Languages/ja.xaml index 0fd5e3e79..34c38edf4 100644 --- a/Flow.Launcher/Languages/ja.xaml +++ b/Flow.Launcher/Languages/ja.xaml @@ -47,7 +47,6 @@ テーマ テーマを探す - こんにちは Flow Launcher 検索ボックスのフォント 検索結果一覧のフォント ウィンドウモード @@ -58,7 +57,9 @@ ホットキー Flow Launcher ホットキー + 結果修飾子を開く カスタムクエリ ホットキー + ホットキーを表示 削除 編集 追加 diff --git a/Flow.Launcher/Languages/ko.xaml b/Flow.Launcher/Languages/ko.xaml index 2f7d538dc..21f1f0273 100644 --- a/Flow.Launcher/Languages/ko.xaml +++ b/Flow.Launcher/Languages/ko.xaml @@ -46,7 +46,6 @@ 테마 테마 더 찾아보기 - Hello Flow Launcher 쿼리 상자 글꼴 결과 항목 글꼴 윈도우 모드 @@ -55,7 +54,9 @@ 핫키 Flow Launcher 핫키 + 결과 수정 자 열기 사용자지정 쿼리 핫키 + 단축키 표시 삭제 편집 추가 diff --git a/Flow.Launcher/Languages/nb-NO.xaml b/Flow.Launcher/Languages/nb-NO.xaml index 035b0cbdf..1dbfcf5d4 100644 --- a/Flow.Launcher/Languages/nb-NO.xaml +++ b/Flow.Launcher/Languages/nb-NO.xaml @@ -46,7 +46,6 @@ Tema Finn flere temaer - Hallo Flow Launcher Font for spørringsboks Font for resultat Vindusmodus @@ -55,7 +54,9 @@ Hurtigtast Flow Launcher-hurtigtast + Åpne resultatmodifiserere Egendefinerd spørringshurtigtast + Vis hurtigtast Slett Rediger Legg til diff --git a/Flow.Launcher/Languages/nl.xaml b/Flow.Launcher/Languages/nl.xaml index be18beb9c..7d24d9067 100644 --- a/Flow.Launcher/Languages/nl.xaml +++ b/Flow.Launcher/Languages/nl.xaml @@ -42,7 +42,6 @@ Thema Zoek meer thema´s - Hallo Flow Launcher Query Box lettertype Resultaat Item lettertype Window Mode @@ -51,7 +50,9 @@ Sneltoets Flow Launcher Sneltoets + Open resultaatmodificatoren Custom Query Sneltoets + Sneltoets weergeven Verwijder Bewerken Toevoegen diff --git a/Flow.Launcher/Languages/pl.xaml b/Flow.Launcher/Languages/pl.xaml index 249878ed3..4f26cfaaf 100644 --- a/Flow.Launcher/Languages/pl.xaml +++ b/Flow.Launcher/Languages/pl.xaml @@ -42,7 +42,6 @@ Skórka Znajdź więcej skórek - Witaj Flow Launcher Czcionka okna zapytania Czcionka okna wyników Tryb w oknie @@ -51,7 +50,9 @@ Skrót klawiszowy Skrót klawiszowy Flow Launcher + Modyfikatory klawiszów otwierających wyniki Skrót klawiszowy niestandardowych zapytań + Pokaż skrót klawiszowy Usuń Edytuj Dodaj diff --git a/Flow.Launcher/Languages/pt-br.xaml b/Flow.Launcher/Languages/pt-br.xaml index 2036744e8..11d8b839e 100644 --- a/Flow.Launcher/Languages/pt-br.xaml +++ b/Flow.Launcher/Languages/pt-br.xaml @@ -46,7 +46,6 @@ Tema Ver mais temas - Olá Flow Launcher Fonte da caixa de Consulta Fonte do Resultado Modo Janela @@ -55,7 +54,9 @@ Atalho Atalho do Flow Launcher + Modificadores de resultado aberto Atalho de Consulta Personalizada + Mostrar tecla de atalho Apagar Editar Adicionar diff --git a/Flow.Launcher/Languages/ru.xaml b/Flow.Launcher/Languages/ru.xaml index 66a463dcb..b86fcf377 100644 --- a/Flow.Launcher/Languages/ru.xaml +++ b/Flow.Launcher/Languages/ru.xaml @@ -42,7 +42,6 @@ Темы Найти больше тем - Привет Flow Launcher Шрифт запросов Шрифт результатов Оконный режим @@ -51,7 +50,9 @@ Горячие клавиши Горячая клавиша Flow Launcher + Модификаторы открытого результата Задаваемые горячие клавиши для запросов + Показать Hotkey Удалить Изменить Добавить diff --git a/Flow.Launcher/Languages/sk.xaml b/Flow.Launcher/Languages/sk.xaml index 824096c4c..4ddbd839d 100644 --- a/Flow.Launcher/Languages/sk.xaml +++ b/Flow.Launcher/Languages/sk.xaml @@ -47,7 +47,6 @@ Motív Prehliadať viac motívov - Ahoj Flow Launcher Písmo poľa pre dopyt Písmo výsledkov Režim okno @@ -56,7 +55,9 @@ Klávesová skratka Klávesová skratka pre Flow Launcher + Otvorte modifikátory výsledkov Vlastná klávesová skratka pre dopyt + Zobraziť klávesovú skratku Odstrániť Upraviť Pridať diff --git a/Flow.Launcher/Languages/sr.xaml b/Flow.Launcher/Languages/sr.xaml index 22aabb37f..41f112af6 100644 --- a/Flow.Launcher/Languages/sr.xaml +++ b/Flow.Launcher/Languages/sr.xaml @@ -46,7 +46,6 @@ Tema Pretražite još tema - Zdravo Flow Launcher Font upita Font rezultata Režim prozora @@ -55,6 +54,8 @@ Prečica Flow Launcher prečica + Отворите модификаторе резултата + покажи хоткеи prečica za ručno dodat upit Obriši Izmeni diff --git a/Flow.Launcher/Languages/tr.xaml b/Flow.Launcher/Languages/tr.xaml index cc287f372..9e2624cc2 100644 --- a/Flow.Launcher/Languages/tr.xaml +++ b/Flow.Launcher/Languages/tr.xaml @@ -48,7 +48,6 @@ Temalar Daha fazla tema bul - Merhaba Flow Launcher Pencere Yazı Tipi Sonuç Yazı Tipi Pencere Modu @@ -59,7 +58,9 @@ Kısayol Tuşu Flow Launcher Kısayolu + Açık Sonuç Değiştiricileri Özel Sorgu Kısayolları + Kısayol Tuşunu Göster Sil Düzenle Ekle diff --git a/Flow.Launcher/Languages/uk-UA.xaml b/Flow.Launcher/Languages/uk-UA.xaml index c7e84c231..0343f9d0f 100644 --- a/Flow.Launcher/Languages/uk-UA.xaml +++ b/Flow.Launcher/Languages/uk-UA.xaml @@ -42,7 +42,6 @@ Теми Знайти більше тем - Привіт Flow Launcher Шрифт запитів Шрифт результатів Віконний режим @@ -51,7 +50,9 @@ Гарячі клавіші Гаряча клавіша Flow Launcher + Відкриті модифікатори результатів Задані гарячі клавіші для запитів + Показати клавішу швидкого доступу Видалити Змінити Додати diff --git a/Flow.Launcher/Languages/zh-cn.xaml b/Flow.Launcher/Languages/zh-cn.xaml index 5801b678a..c8bdc6890 100644 --- a/Flow.Launcher/Languages/zh-cn.xaml +++ b/Flow.Launcher/Languages/zh-cn.xaml @@ -47,7 +47,6 @@ 主题 浏览更多主题 - 你好,Flow Launcher 查询框字体 结果项字体 窗口模式 @@ -58,6 +57,8 @@ 热键 Flow Launcher激活热键 + 开放结果修饰符 + 显示热键 自定义查询热键 删除 编辑 diff --git a/Flow.Launcher/Languages/zh-tw.xaml b/Flow.Launcher/Languages/zh-tw.xaml index f1df1a6d5..322eaf32f 100644 --- a/Flow.Launcher/Languages/zh-tw.xaml +++ b/Flow.Launcher/Languages/zh-tw.xaml @@ -42,7 +42,6 @@ 主題 瀏覽更多主題 - 你好,Flow Launcher 查詢框字體 結果項字體 視窗模式 @@ -51,7 +50,9 @@ 熱鍵 Flow Launcher 執行熱鍵 + 開放結果修飾符 自定義熱鍵查詢 + 顯示熱鍵 刪除 編輯 新增 diff --git a/Flow.Launcher/MainWindow.xaml b/Flow.Launcher/MainWindow.xaml index 74185fcbd..23ca5b677 100644 --- a/Flow.Launcher/MainWindow.xaml +++ b/Flow.Launcher/MainWindow.xaml @@ -18,6 +18,7 @@ Style="{DynamicResource WindowStyle}" Icon="Images/app.png" AllowsTransparency="True" + Background="Transparent" Loaded="OnLoaded" Initialized="OnInitialized" Closing="OnClosing" @@ -48,62 +49,67 @@ - - - - - - - - - + + + + + + + + + - - - - + + + + - - - - - - - - + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/Flow.Launcher/Resources/app.ico b/Flow.Launcher/Resources/app.ico index 38c401c8c..362c8747f 100644 Binary files a/Flow.Launcher/Resources/app.ico and b/Flow.Launcher/Resources/app.ico differ diff --git a/Flow.Launcher/ResultListBox.xaml b/Flow.Launcher/ResultListBox.xaml index c9ca658f2..a8560c263 100644 --- a/Flow.Launcher/ResultListBox.xaml +++ b/Flow.Launcher/ResultListBox.xaml @@ -33,19 +33,34 @@ Cursor="Hand" UseLayoutRounding="False"> + + - + + + + + + + + + + + + + @@ -57,7 +72,7 @@ + Grid.Row="1" x:Name="SubTitle" Text="{Binding Result.SubTitle}" MinWidth="750"> @@ -76,6 +91,7 @@ Value="True"> + diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index be87e4f52..1708a5172 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -1,4 +1,4 @@ - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + - - - - + + + - - - - + + + - - - - -