diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml index 01bd1a60f..431a41438 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml @@ -1,4 +1,4 @@ - @@ -13,11 +13,11 @@ Delete Edit Add + Customise Action Keywords Quick Folder Access Paths Index Search Excluded Paths Indexing Options - Explorer Search and manage files and folders. Explorer utilises Windows Index Search diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml index 5ba1a063b..dc9d83771 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml @@ -17,6 +17,16 @@ Text="{Binding Nickname, Mode=OneTime}" Margin="0,5,0,5" /> + + + + + + @@ -25,8 +35,14 @@ + + + + Expanded="expFolderLinks_Click" Collapsed="expFolderLinks_Click" + Margin="0 10 0 0"> (); + + actionKeywordsListView.Add(new ActionKeywordView() { Description = "Search Activation:", Keyword = this.viewModel.Settings.SearchActionKeyword }); + actionKeywordsListView.Add(new ActionKeywordView() { Description = "File Content Search:", Keyword = this.viewModel.Settings.FileContentSearchActionKeyword }); + + lbxActionKeywords.ItemsSource = actionKeywordsListView; + RefreshView(); } @@ -77,6 +84,13 @@ namespace Flow.Launcher.Plugin.Explorer.Views lbxFolderLinks.Items.Refresh(); lbxExcludedPaths.Items.Refresh(); + + lbxActionKeywords.Items.Refresh(); + } + + private void expActionKeywords_Click(object sender, RoutedEventArgs e) + { + } private void expFolderLinks_Click(object sender, RoutedEventArgs e) @@ -242,4 +256,11 @@ namespace Flow.Launcher.Plugin.Explorer.Views viewModel.OpenWindowsIndexingOptions(); } } + + public class ActionKeywordView + { + public string Description { get; set; } + + public string Keyword { get; set; } + } }