diff --git a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs index daddee2d8..04cdb17d9 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs @@ -23,6 +23,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings public string AutoCompleteHotkey { get; set; } = $"{KeyConstant.Ctrl} + Tab"; public string SelectNextItemHotkey { get; set; } = $"Tab"; public string SelectPrevItemHotkey { get; set; } = $"Shift + Tab"; + public string SettingWindowHotkey { get; set; } = $"Ctrl+I"; public string Language { diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml index 58e790cd8..1b72b688b 100644 --- a/Flow.Launcher/Languages/en.xaml +++ b/Flow.Launcher/Languages/en.xaml @@ -186,6 +186,7 @@ Runs autocomplete for the selected items. Next Item Hotkey Prev Item Hotkey + Setting Window Hotkey Custom Query Hotkeys Custom Query Shortcuts Built-in Shortcuts diff --git a/Flow.Launcher/MainWindow.xaml b/Flow.Launcher/MainWindow.xaml index f0ab829ff..4146ff13c 100644 --- a/Flow.Launcher/MainWindow.xaml +++ b/Flow.Launcher/MainWindow.xaml @@ -46,10 +46,6 @@ - - + diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 376c4c940..fc8851934 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -2760,7 +2760,6 @@ ValidateKeyGesture="False" /> - + + + + VerifyOrSetDefaultHotkey(Settings.PreviewHotkey, "F1"); - public string AutoCompleteHotkey => VerifyOrSetDefaultHotkey(Settings.AutoCompleteHotkey, "Ctrl+Tab"); public string SelectNextItemHotkey => VerifyOrSetDefaultHotkey(Settings.SelectNextItemHotkey, "Tab"); public string SelectPrevItemHotkey => VerifyOrSetDefaultHotkey(Settings.SelectPrevItemHotkey, "Shift+Tab"); + public string SettingWindowHotkey => VerifyOrSetDefaultHotkey(Settings.SettingWindowHotkey, "Ctrl+I"); public string Image => Constant.QueryTextBoxIconImagePath;