mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Windows Command Palette ("CmdPal") is the next iteration of PowerToys Run. With extensibility at its core, the Command Palette is your one-stop launcher to start _anything_.
By default, CmdPal is bound to <kbd>Win+Alt+Space</kbd>.


----
This brings the current preview version of CmdPal into the upstream PowerToys repo. There are still lots of bugs to work out, but it's reached the state we're ready to start sharing it with the world. From here, we can further collaborate with the community on the features that are important, and ensuring that we've got a most robust API to enable developers to build whatever extensions they want.
Most of the built-in PT Run modules have already been ported to CmdPal's extension API. Those include:
* Installed apps
* Shell commands
* File search (powered by the indexer)
* Windows Registry search
* Web search
* Windows Terminal Profiles
* Windows Services
* Windows settings
There are a couple new extensions built-in
* You can now search for packages on `winget` and install them right from the palette. This also powers searching for extensions for the palette
* The calculator has an entirely new implementation. This is currently less feature complete than the original PT Run one - we're looking forward to updating it to be more complete for future ingestion in Windows
* "Bookmarks" allow you to save shortcuts to files, folders, and webpages as top-level commands in the palette.
We've got a bunch of other samples too, in this repo and elsewhere
### PowerToys specific notes
CmdPal will eventually graduate out of PowerToys to live as its own application, which is why it's implemented just a little differently than most other modules. Enabling CmdPal will install its `msix` package.
The CI was minorly changed to support CmdPal version numbers independent of PowerToys itself. It doesn't make sense for us to start CmdPal at v0.90, and in the future, we want to be able to rev CmdPal independently of PT itself.
Closes #3200, closes #3600, closes #7770, closes #34273, closes #36471, closes #20976, closes #14495
-----
TODOs et al
**Blocking:**
- [ ] Images and descriptions in Settings and OOBE need to be properly defined, as mentioned before
- [ ] Niels is on it
- [x] Doesn't start properly from PowerToys unless the fix PR is merged.
- https://github.com/zadjii-msft/PowerToys/pull/556 merged
- [x] I seem to lose focus a lot when I press on some limits, like between the search bar and the results.
- This is https://github.com/zadjii-msft/PowerToys/issues/427
- [x] Turned off an extension like Calculator and it was still working.
- Need to get rid of that toggle, it doesn't do anything currently
- [x] `ListViewModel.<FetchItems>` crash
- Pretty confident that was fixed in https://github.com/zadjii-msft/PowerToys/pull/553
**Not blocking / improvements:**
- Show the shortcut through settings, as mentioned before, or create a button that would open CmdPalette settings.
- When PowerToys starts, CmdPalette is always shown if enabled. That's weird when just starting PowerToys/ logging in to the computer with PowerToys auto-start activated. I think this should at least be a setting.
- Needing to double press a result for it to do the default action seems quirky. If one is already selected, I think just pressing should be enough for it to do the action.
- This is currently a setting, though we're thinking of changing the setting even more: https://github.com/zadjii-msft/PowerToys/issues/392
- There's no URI extension. Was surprised when typing a URL that it only proposed a web search.
- [x] There's no System commands extension. Was expecting to be able to quickly restart the computer by typing restart but it wasn't there.
- This is in PR https://github.com/zadjii-msft/PowerToys/pull/452
---------
Co-authored-by: joadoumie <98557455+joadoumie@users.noreply.github.com>
Co-authored-by: Jordi Adoumie <jordiadoumie@microsoft.com>
Co-authored-by: Mike Griese <zadjii@gmail.com>
Co-authored-by: Niels Laute <niels.laute@live.nl>
Co-authored-by: Michael Hawker <24302614+michael-hawker@users.noreply.github.com>
Co-authored-by: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com>
Co-authored-by: Seraphima <zykovas91@gmail.com>
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
Co-authored-by: Kristen Schau <47155823+krschau@users.noreply.github.com>
Co-authored-by: Eric Johnson <ericjohnson327@gmail.com>
Co-authored-by: Ethan Fang <ethanfang@microsoft.com>
Co-authored-by: Yu Leng (from Dev Box) <yuleng@microsoft.com>
Co-authored-by: Clint Rutkas <clint@rutkas.com>
775 lines
48 KiB
XML
775 lines
48 KiB
XML
<Page
|
|
x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerLauncherPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:ViewModels="using:Microsoft.PowerToys.Settings.UI.ViewModels"
|
|
xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
|
xmlns:converters="using:Microsoft.PowerToys.Settings.UI.Converters"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:i="using:Microsoft.Xaml.Interactivity"
|
|
xmlns:ic="using:Microsoft.Xaml.Interactions.Core"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:tkcontrols="using:CommunityToolkit.WinUI.Controls"
|
|
xmlns:ui="using:CommunityToolkit.WinUI"
|
|
AutomationProperties.LandmarkType="Main"
|
|
mc:Ignorable="d">
|
|
|
|
<Page.Resources>
|
|
<Style x:Key="OptionSeparator" TargetType="Rectangle">
|
|
<Setter Property="Height" Value="1" />
|
|
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
|
<Setter Property="Fill" Value="{ThemeResource CardStrokeColorDefaultBrush}" />
|
|
</Style>
|
|
|
|
<converters:RunOptionTemplateSelector
|
|
x:Key="RunOptionTemplateSelector"
|
|
CheckBoxComboBoxTemplate="{StaticResource CheckBoxComboBoxTemplate}"
|
|
CheckBoxMultilineTextBoxTemplate="{StaticResource CheckBoxMultilineTextBoxTemplate}"
|
|
CheckBoxNumberBoxTemplate="{StaticResource CheckBoxNumberBoxTemplate}"
|
|
CheckBoxTemplate="{StaticResource CheckBoxTemplate}"
|
|
CheckBoxTextBoxTemplate="{StaticResource CheckBoxTextBoxTemplate}"
|
|
ComboBoxTemplate="{StaticResource ComboBoxTemplate}"
|
|
EmptyTemplate="{StaticResource EmptyTemplate}"
|
|
MultilineTextBoxTemplate="{StaticResource MultilineTextBoxTemplate}"
|
|
NumberBoxTemplate="{StaticResource NumberBoxTemplate}"
|
|
TextboxTemplate="{StaticResource TextBoxTemplate}" />
|
|
|
|
<DataTemplate x:Key="CheckBoxTemplate" x:DataType="ViewModels:PluginAdditionalOptionViewModel">
|
|
<StackPanel HorizontalAlignment="Stretch" Orientation="Vertical">
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="1"
|
|
Padding="0,6,0,12"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
ContentAlignment="Left"
|
|
CornerRadius="0">
|
|
<controls:CheckBoxWithDescriptionControl
|
|
Margin="56,0,0,0"
|
|
Description="{x:Bind Path=DisplayDescription}"
|
|
Header="{x:Bind Path=DisplayLabel}"
|
|
IsChecked="{x:Bind Value, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<Rectangle Style="{StaticResource OptionSeparator}" />
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
|
|
<DataTemplate x:Key="ComboBoxTemplate" x:DataType="ViewModels:PluginAdditionalOptionViewModel">
|
|
<StackPanel HorizontalAlignment="Stretch" Orientation="Vertical">
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="56,8,45,8"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
CornerRadius="0"
|
|
Description="{x:Bind Path=DisplayDescription}"
|
|
Header="{x:Bind Path=DisplayLabel}">
|
|
<ComboBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
DisplayMemberPath="Key"
|
|
ItemsSource="{x:Bind Path=ComboBoxItems}"
|
|
SelectedValue="{x:Bind ComboBoxValue, Mode=TwoWay}"
|
|
SelectedValuePath="Value" />
|
|
</tkcontrols:SettingsCard>
|
|
<Rectangle Style="{StaticResource OptionSeparator}" />
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
|
|
<DataTemplate x:Key="TextBoxTemplate" x:DataType="ViewModels:PluginAdditionalOptionViewModel">
|
|
<StackPanel HorizontalAlignment="Stretch" Orientation="Vertical">
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="56,8,45,8"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
CornerRadius="0"
|
|
Description="{x:Bind Path=DisplayDescription}"
|
|
Header="{x:Bind Path=DisplayLabel}">
|
|
<TextBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
MaxWidth="450"
|
|
IsSpellCheckEnabled="False"
|
|
MaxLength="{x:Bind TextBoxMaxLength, Mode=OneWay}"
|
|
PlaceholderText="{x:Bind Path=PlaceholderText}"
|
|
Text="{x:Bind TextValue, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<Rectangle Style="{StaticResource OptionSeparator}" />
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
|
|
<DataTemplate x:Key="NumberBoxTemplate" x:DataType="ViewModels:PluginAdditionalOptionViewModel">
|
|
<StackPanel HorizontalAlignment="Stretch" Orientation="Vertical">
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="56,8,45,8"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
CornerRadius="0"
|
|
Description="{x:Bind Path=DisplayDescription}"
|
|
Header="{x:Bind Path=DisplayLabel}">
|
|
<NumberBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
LargeChange="{x:Bind NumberBoxLargeChange, Mode=OneWay}"
|
|
Maximum="{x:Bind NumberBoxMax, Mode=OneWay}"
|
|
Minimum="{x:Bind NumberBoxMin, Mode=OneWay}"
|
|
SmallChange="{x:Bind NumberBoxSmallChange, Mode=OneWay}"
|
|
SpinButtonPlacementMode="Compact"
|
|
Value="{x:Bind NumberValue, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<Rectangle Style="{StaticResource OptionSeparator}" />
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
|
|
<DataTemplate x:Key="MultilineTextBoxTemplate" x:DataType="ViewModels:PluginAdditionalOptionViewModel">
|
|
<StackPanel HorizontalAlignment="Stretch" Orientation="Vertical">
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="56,8,45,8"
|
|
HorizontalContentAlignment="Stretch"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
ContentAlignment="Vertical"
|
|
CornerRadius="0"
|
|
Description="{x:Bind Path=DisplayDescription}"
|
|
Header="{x:Bind Path=DisplayLabel}">
|
|
<TextBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
MinHeight="160"
|
|
AcceptsReturn="True"
|
|
IsSpellCheckEnabled="False"
|
|
PlaceholderText="{x:Bind Path=PlaceholderText}"
|
|
ScrollViewer.IsVerticalRailEnabled="True"
|
|
ScrollViewer.VerticalScrollBarVisibility="Visible"
|
|
ScrollViewer.VerticalScrollMode="Enabled"
|
|
Text="{x:Bind TextValue, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<Rectangle Style="{StaticResource OptionSeparator}" />
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
|
|
<DataTemplate x:Key="CheckBoxComboBoxTemplate" x:DataType="ViewModels:PluginAdditionalOptionViewModel">
|
|
<StackPanel HorizontalAlignment="Stretch" Orientation="Vertical">
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="1"
|
|
Padding="0,6,0,4"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
ContentAlignment="Left"
|
|
CornerRadius="0">
|
|
<controls:CheckBoxWithDescriptionControl
|
|
Margin="56,0,0,0"
|
|
Description="{x:Bind Path=DisplayDescription}"
|
|
Header="{x:Bind Path=DisplayLabel}"
|
|
IsChecked="{x:Bind Value, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="84,0,45,8"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
CornerRadius="0"
|
|
Description="{x:Bind Path=SecondDisplayDescription}"
|
|
Header="{x:Bind Path=SecondDisplayLabel}"
|
|
IsEnabled="{x:Bind SecondSettingIsEnabled, Mode=OneWay}">
|
|
<ComboBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
DisplayMemberPath="Key"
|
|
ItemsSource="{x:Bind Path=ComboBoxItems}"
|
|
SelectedValue="{x:Bind ComboBoxValue, Mode=TwoWay}"
|
|
SelectedValuePath="Value" />
|
|
</tkcontrols:SettingsCard>
|
|
<Rectangle Style="{StaticResource OptionSeparator}" />
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
|
|
<DataTemplate x:Key="CheckBoxTextBoxTemplate" x:DataType="ViewModels:PluginAdditionalOptionViewModel">
|
|
<StackPanel HorizontalAlignment="Stretch" Orientation="Vertical">
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="1"
|
|
Padding="0,6,0,4"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
ContentAlignment="Left"
|
|
CornerRadius="0">
|
|
<controls:CheckBoxWithDescriptionControl
|
|
Margin="56,0,0,0"
|
|
Description="{x:Bind Path=DisplayDescription}"
|
|
Header="{x:Bind Path=DisplayLabel}"
|
|
IsChecked="{x:Bind Value, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="84,0,45,8"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
CornerRadius="0"
|
|
Description="{x:Bind Path=SecondDisplayDescription}"
|
|
Header="{x:Bind Path=SecondDisplayLabel}"
|
|
IsEnabled="{x:Bind SecondSettingIsEnabled, Mode=OneWay}">
|
|
<TextBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
MaxWidth="450"
|
|
IsSpellCheckEnabled="False"
|
|
MaxLength="{x:Bind TextBoxMaxLength, Mode=OneWay}"
|
|
PlaceholderText="{x:Bind Path=PlaceholderText}"
|
|
Text="{x:Bind TextValue, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<Rectangle Style="{StaticResource OptionSeparator}" />
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
|
|
<DataTemplate x:Key="CheckBoxMultilineTextBoxTemplate" x:DataType="ViewModels:PluginAdditionalOptionViewModel">
|
|
<StackPanel HorizontalAlignment="Stretch" Orientation="Vertical">
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="1"
|
|
Padding="0,6,0,4"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
ContentAlignment="Left"
|
|
CornerRadius="0">
|
|
<controls:CheckBoxWithDescriptionControl
|
|
Margin="56,0,0,0"
|
|
Description="{x:Bind Path=DisplayDescription}"
|
|
Header="{x:Bind Path=DisplayLabel}"
|
|
IsChecked="{x:Bind Value, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="84,0,45,8"
|
|
HorizontalContentAlignment="Stretch"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
ContentAlignment="Vertical"
|
|
CornerRadius="0"
|
|
Description="{x:Bind Path=SecondDisplayDescription}"
|
|
Header="{x:Bind Path=SecondDisplayLabel}"
|
|
IsEnabled="{x:Bind SecondSettingIsEnabled, Mode=OneWay}">
|
|
<TextBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
MinHeight="160"
|
|
AcceptsReturn="True"
|
|
IsSpellCheckEnabled="False"
|
|
PlaceholderText="{x:Bind Path=PlaceholderText}"
|
|
ScrollViewer.IsVerticalRailEnabled="True"
|
|
ScrollViewer.VerticalScrollBarVisibility="Visible"
|
|
ScrollViewer.VerticalScrollMode="Enabled"
|
|
Text="{x:Bind TextValue, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<Rectangle Style="{StaticResource OptionSeparator}" />
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
|
|
<DataTemplate x:Key="CheckBoxNumberBoxTemplate" x:DataType="ViewModels:PluginAdditionalOptionViewModel">
|
|
<StackPanel HorizontalAlignment="Stretch" Orientation="Vertical">
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="1"
|
|
Padding="0,6,0,4"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
ContentAlignment="Left"
|
|
CornerRadius="0">
|
|
<controls:CheckBoxWithDescriptionControl
|
|
Margin="56,0,0,0"
|
|
Description="{x:Bind Path=DisplayDescription}"
|
|
Header="{x:Bind Path=DisplayLabel}"
|
|
IsChecked="{x:Bind Value, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
Margin="84,0,45,8"
|
|
Background="Transparent"
|
|
BorderThickness="0,0,0,0"
|
|
CornerRadius="0"
|
|
Description="{x:Bind Path=SecondDisplayDescription}"
|
|
Header="{x:Bind Path=SecondDisplayLabel}"
|
|
IsEnabled="{x:Bind SecondSettingIsEnabled, Mode=OneWay}">
|
|
<NumberBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
LargeChange="{x:Bind NumberBoxLargeChange, Mode=OneWay}"
|
|
Maximum="{x:Bind NumberBoxMax, Mode=OneWay}"
|
|
Minimum="{x:Bind NumberBoxMin, Mode=OneWay}"
|
|
SmallChange="{x:Bind NumberBoxSmallChange, Mode=OneWay}"
|
|
SpinButtonPlacementMode="Compact"
|
|
Value="{x:Bind NumberValue, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<Rectangle Style="{StaticResource OptionSeparator}" />
|
|
</StackPanel>
|
|
</DataTemplate>
|
|
|
|
<DataTemplate x:Key="EmptyTemplate" x:DataType="ViewModels:PluginAdditionalOptionViewModel">
|
|
<StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" />
|
|
</DataTemplate>
|
|
</Page.Resources>
|
|
|
|
<controls:SettingsPageControl x:Uid="PowerLauncher" ModuleImageSource="ms-appx:///Assets/Settings/Modules/Run.png">
|
|
<controls:SettingsPageControl.ModuleContent>
|
|
|
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
|
<InfoBar
|
|
x:Uid="Run_CheckOutCmdPal"
|
|
Background="Transparent"
|
|
BorderBrush="Transparent"
|
|
IsClosable="False"
|
|
IsOpen="True"
|
|
IsTabStop="True"
|
|
Severity="Informational">
|
|
<InfoBar.ActionButton>
|
|
<HyperlinkButton x:Uid="Run_NavigateCmdPalSettings" Click="NavigateCmdPalSettings_Click" />
|
|
</InfoBar.ActionButton>
|
|
</InfoBar>
|
|
<tkcontrols:SettingsCard
|
|
x:Uid="PowerLauncher_EnablePowerLauncher"
|
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/PowerToysRun.png}"
|
|
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnablePowerLauncher, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<InfoBar
|
|
x:Uid="GPO_SettingIsManaged"
|
|
IsClosable="False"
|
|
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
Severity="Informational">
|
|
<InfoBar.IconSource>
|
|
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
</InfoBar.IconSource>
|
|
</InfoBar>
|
|
|
|
<controls:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}">
|
|
<tkcontrols:SettingsExpander
|
|
x:Uid="Activation_Shortcut"
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
|
IsExpanded="True">
|
|
<controls:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}" />
|
|
<tkcontrols:SettingsExpander.Items>
|
|
<tkcontrols:SettingsCard ContentAlignment="Left">
|
|
<controls:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_UseCentralizedKeyboardHook" IsChecked="{x:Bind ViewModel.UseCentralizedKeyboardHook, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<tkcontrols:SettingsCard ContentAlignment="Left">
|
|
<CheckBox x:Uid="PowerLauncher_IgnoreHotkeysInFullScreen" IsChecked="{x:Bind ViewModel.IgnoreHotkeysInFullScreen, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
</tkcontrols:SettingsExpander.Items>
|
|
</tkcontrols:SettingsExpander>
|
|
</controls:SettingsGroup>
|
|
|
|
|
|
<!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation"
|
|
HorizontalAlignment="Left"
|
|
Margin="{StaticResource SmallTopMargin}"
|
|
HotkeySettings="{Binding Path=ViewModel.OpenFileLocation, Mode=TwoWay}"
|
|
IsEnabled="False"
|
|
/>
|
|
<Custom:HotkeySettingsControl x:Uid="PowerLauncher_CopyPathLocation"
|
|
HorizontalAlignment="Left"
|
|
Margin="{StaticResource SmallTopMargin}"
|
|
HotkeySettings="{Binding Path=ViewModel.CopyPathLocation, Mode=TwoWay}"
|
|
Keys="Win, Ctrl, Alt, Shift"
|
|
IsEnabled="False"
|
|
/>
|
|
<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenConsole"
|
|
HorizontalAlignment="Left"
|
|
Margin="{StaticResource SmallTopMargin}"
|
|
HotkeySettings="{Binding Path=ViewModel.OpenConsole, Mode=TwoWay}"
|
|
Keys="Win, Ctrl, Alt, Shift"
|
|
IsEnabled="False"
|
|
/>-->
|
|
|
|
<!--<CheckBox x:Uid="PowerLauncher_OverrideWinRKey"
|
|
Margin="{StaticResource SmallTopMargin}"
|
|
IsChecked="False"
|
|
IsEnabled="False"
|
|
/>-->
|
|
|
|
<!--<CheckBox x:Uid="PowerLauncher_OverrideWinSKey"
|
|
Margin="{StaticResource SmallTopMargin}"
|
|
IsChecked="{x:Bind ViewModel.OverrideWinSKey, Mode=TwoWay}"
|
|
IsEnabled="False"
|
|
/>-->
|
|
|
|
<controls:SettingsGroup x:Uid="PowerLauncher_SearchResults" IsEnabled="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}">
|
|
<tkcontrols:SettingsExpander
|
|
x:Uid="PowerLauncher_SearchQueryResultsWithDelay"
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
|
IsExpanded="True">
|
|
<ToggleSwitch IsOn="{x:Bind ViewModel.SearchQueryResultsWithDelay, Mode=TwoWay}" />
|
|
<tkcontrols:SettingsExpander.Items>
|
|
<tkcontrols:SettingsCard x:Uid="PowerLauncher_FastSearchInputDelayMs" IsEnabled="{x:Bind ViewModel.SearchQueryResultsWithDelay, Mode=OneWay}">
|
|
<NumberBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
LargeChange="50"
|
|
Maximum="500"
|
|
Minimum="0"
|
|
SmallChange="10"
|
|
SpinButtonPlacementMode="Compact"
|
|
Value="{x:Bind ViewModel.SearchInputDelayFast, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<tkcontrols:SettingsCard x:Uid="PowerLauncher_SlowSearchInputDelayMs" IsEnabled="{x:Bind ViewModel.SearchQueryResultsWithDelay, Mode=OneWay}">
|
|
<NumberBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
LargeChange="50"
|
|
Maximum="1000"
|
|
Minimum="0"
|
|
SmallChange="10"
|
|
SpinButtonPlacementMode="Compact"
|
|
Value="{x:Bind ViewModel.SearchInputDelay, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
</tkcontrols:SettingsExpander.Items>
|
|
</tkcontrols:SettingsExpander>
|
|
|
|
<tkcontrols:SettingsExpander
|
|
x:Uid="PowerLauncher_MaximumNumberOfResults"
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
|
IsExpanded="True">
|
|
<NumberBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
Minimum="1"
|
|
SpinButtonPlacementMode="Compact"
|
|
Value="{x:Bind ViewModel.MaximumNumberOfResults, Mode=TwoWay}" />
|
|
<tkcontrols:SettingsExpander.Items>
|
|
<tkcontrols:SettingsCard ContentAlignment="Left">
|
|
<CheckBox x:Uid="PowerLauncher_ClearInputOnLaunch" IsChecked="{x:Bind ViewModel.ClearInputOnLaunch, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
</tkcontrols:SettingsExpander.Items>
|
|
</tkcontrols:SettingsExpander>
|
|
|
|
<tkcontrols:SettingsExpander
|
|
x:Uid="PowerLauncher_SearchQueryTuningEnabled"
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
|
IsExpanded="True">
|
|
<ToggleSwitch IsOn="{x:Bind ViewModel.SearchQueryTuningEnabled, Mode=TwoWay}" />
|
|
<tkcontrols:SettingsExpander.Items>
|
|
<tkcontrols:SettingsCard x:Uid="PowerLauncher_SearchClickedItemWeight" IsEnabled="{x:Bind ViewModel.SearchQueryTuningEnabled, Mode=OneWay}">
|
|
<NumberBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
LargeChange="50"
|
|
Maximum="1000"
|
|
Minimum="0"
|
|
SmallChange="5"
|
|
SpinButtonPlacementMode="Compact"
|
|
Value="{x:Bind ViewModel.SearchClickedItemWeight, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<tkcontrols:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.SearchQueryTuningEnabled, Mode=OneWay}">
|
|
<controls:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_WaitForSlowResults" IsChecked="{x:Bind ViewModel.SearchWaitForSlowResults, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
</tkcontrols:SettingsExpander.Items>
|
|
</tkcontrols:SettingsExpander>
|
|
|
|
<tkcontrols:SettingsCard x:Uid="PowerLauncher_TabSelectsContextButtons" HeaderIcon="{ui:FontIcon Glyph=}">
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.TabSelectsContextButtons, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
|
|
<tkcontrols:SettingsCard x:Uid="PowerLauncher_UsePinyin" HeaderIcon="{ui:FontIcon Glyph=}">
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.UsePinyin, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
|
|
<tkcontrols:SettingsCard x:Uid="PowerLauncher_GenerateThumbnailsFromFiles" HeaderIcon="{ui:FontIcon Glyph=}">
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GenerateThumbnailsFromFiles, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
</controls:SettingsGroup>
|
|
|
|
<!--<ComboBox x:Uid="PowerLauncher_SearchResultPreference"
|
|
MinWidth="320"
|
|
Margin="{StaticResource SmallTopMargin}"
|
|
ItemsSource="{Binding searchResultPreferencesOptions}"
|
|
SelectedItem="{x:Bind SelectedSearchResultPreference, Mode=TwoWay}"
|
|
SelectedValuePath="Item2"
|
|
DisplayMemberPath="Item1"
|
|
IsEnabled="False"
|
|
/>
|
|
|
|
<ComboBox x:Uid="PowerLauncher_SearchTypePreference"
|
|
MinWidth="320"
|
|
Margin="{StaticResource SmallTopMargin}"
|
|
ItemsSource="{Binding searchTypePreferencesOptions}"
|
|
SelectedItem="{x:Bind SelectedSearchTypePreference, Mode=TwoWay}"
|
|
SelectedValuePath="Item2"
|
|
DisplayMemberPath="Item1"
|
|
IsEnabled="False"
|
|
/>-->
|
|
|
|
<controls:SettingsGroup x:Uid="Run_PositionAppearance_GroupSettings" IsEnabled="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}">
|
|
<tkcontrols:SettingsCard x:Uid="Run_PositionHeader" HeaderIcon="{ui:FontIcon Glyph=}">
|
|
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.MonitorPositionIndex, Mode=TwoWay}">
|
|
<ComboBoxItem x:Uid="Run_Radio_Position_Cursor" />
|
|
<ComboBoxItem x:Uid="Run_Radio_Position_Primary_Monitor" />
|
|
<ComboBoxItem x:Uid="Run_Radio_Position_Focus" />
|
|
</ComboBox>
|
|
</tkcontrols:SettingsCard>
|
|
|
|
<tkcontrols:SettingsCard x:Uid="ColorModeHeader" HeaderIcon="{ui:FontIcon Glyph=}">
|
|
<tkcontrols:SettingsCard.Description>
|
|
<HyperlinkButton x:Uid="Windows_Color_Settings" Click="OpenColorsSettings_Click" />
|
|
</tkcontrols:SettingsCard.Description>
|
|
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ThemeIndex, Mode=TwoWay}">
|
|
<ComboBoxItem x:Uid="Radio_Theme_Dark" />
|
|
<ComboBoxItem x:Uid="Radio_Theme_Light" />
|
|
<ComboBoxItem x:Uid="Radio_Theme_Default" />
|
|
</ComboBox>
|
|
</tkcontrols:SettingsCard>
|
|
|
|
<tkcontrols:SettingsCard x:Uid="PowerLauncher_ShowPluginKeywords" HeaderIcon="{ui:FontIcon Glyph=}">
|
|
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.ShowPluginsOverviewIndex, Mode=TwoWay}">
|
|
<ComboBoxItem x:Uid="ShowPluginsOverview_All" />
|
|
<ComboBoxItem x:Uid="ShowPluginsOverview_NonGlobal" />
|
|
<ComboBoxItem x:Uid="ShowPluginsOverview_None" />
|
|
</ComboBox>
|
|
</tkcontrols:SettingsCard>
|
|
|
|
<tkcontrols:SettingsCard x:Uid="PowerLauncher_TitleFontSize" HeaderIcon="{ui:FontIcon Glyph=}">
|
|
<StackPanel Orientation="Horizontal" Spacing="12">
|
|
<TextBlock
|
|
VerticalAlignment="Center"
|
|
AutomationProperties.AccessibilityView="Raw"
|
|
FontSize="12"
|
|
FontWeight="SemiBold"
|
|
Text="A" />
|
|
<Slider
|
|
x:Uid="PowerLauncher_TextFontSizeSlider"
|
|
LargeChange="2"
|
|
Maximum="24"
|
|
Minimum="12"
|
|
SmallChange="2"
|
|
StepFrequency="2"
|
|
TickFrequency="2"
|
|
TickPlacement="Outside"
|
|
Value="{x:Bind ViewModel.TitleFontSize, Mode=TwoWay}" />
|
|
<TextBlock
|
|
VerticalAlignment="Center"
|
|
AutomationProperties.AccessibilityView="Raw"
|
|
FontSize="24"
|
|
FontWeight="SemiBold"
|
|
Text="A" />
|
|
</StackPanel>
|
|
</tkcontrols:SettingsCard>
|
|
</controls:SettingsGroup>
|
|
|
|
<controls:SettingsGroup x:Uid="PowerLauncher_Plugins" IsEnabled="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}">
|
|
|
|
<InfoBar
|
|
x:Uid="Run_ConflictingKeywordInfo"
|
|
IsClosable="False"
|
|
IsOpen="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}"
|
|
IsTabStop="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}"
|
|
Severity="Informational">
|
|
<InfoBar.ActionButton>
|
|
<HyperlinkButton x:Uid="Run_ConflictingKeywordInfo_Link" NavigateUri="https://aka.ms/PowerToysOverview_PowerToysRun#direct-activation-commands" />
|
|
</InfoBar.ActionButton>
|
|
</InfoBar>
|
|
|
|
<tkcontrols:SettingsCard x:Uid="Run_PluginUse" HeaderIcon="{ui:FontIcon Glyph=}">
|
|
<tkcontrols:SettingsCard.Description>
|
|
<StackPanel>
|
|
<TextBlock x:Uid="Run_PluginUseDescription" />
|
|
<HyperlinkButton x:Uid="Run_PluginUseFindMorePlugins" NavigateUri="https://aka.ms/powerToysRunPlugins" />
|
|
</StackPanel>
|
|
</tkcontrols:SettingsCard.Description>
|
|
<AutoSuggestBox
|
|
x:Uid="PowerLauncher_SearchList"
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
QueryIcon="Find"
|
|
Text="{x:Bind ViewModel.SearchText, Mode=TwoWay}">
|
|
<i:Interaction.Behaviors>
|
|
<ic:EventTriggerBehavior EventName="TextChanged">
|
|
<ic:InvokeCommandAction Command="{x:Bind ViewModel.SearchPluginsCommand}" />
|
|
</ic:EventTriggerBehavior>
|
|
</i:Interaction.Behaviors>
|
|
</AutoSuggestBox>
|
|
</tkcontrols:SettingsCard>
|
|
|
|
|
|
<InfoBar
|
|
x:Uid="GPO_SomeRunPluginsAreManaged"
|
|
IsClosable="False"
|
|
IsOpen="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}"
|
|
IsTabStop="{x:Bind ViewModel.ShowPluginsAreGpoManagedInfo, Mode=OneWay}"
|
|
Severity="Informational">
|
|
<InfoBar.IconSource>
|
|
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
</InfoBar.IconSource>
|
|
</InfoBar>
|
|
<InfoBar
|
|
x:Uid="Run_AllPluginsDisabled"
|
|
IsClosable="False"
|
|
IsOpen="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}"
|
|
IsTabStop="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}"
|
|
Severity="Error" />
|
|
|
|
<StackPanel Orientation="Horizontal" Visibility="{x:Bind ViewModel.ShowPluginsLoadingMessage, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}">
|
|
<ProgressRing
|
|
Width="20"
|
|
Height="20"
|
|
Margin="18,18"
|
|
IsActive="True" />
|
|
<TextBlock
|
|
x:Uid="Run_PluginsLoading"
|
|
VerticalAlignment="Center"
|
|
Style="{ThemeResource SecondaryTextStyle}" />
|
|
</StackPanel>
|
|
|
|
<ItemsRepeater x:Name="PluginsListView" ItemsSource="{x:Bind Path=ViewModel.Plugins, Mode=OneWay}">
|
|
<ItemsRepeater.Layout>
|
|
<StackLayout Spacing="2" />
|
|
</ItemsRepeater.Layout>
|
|
<ItemsRepeater.ItemTemplate>
|
|
<DataTemplate x:DataType="ViewModels:PowerLauncherPluginViewModel" x:DefaultBindMode="OneWay">
|
|
<Grid>
|
|
<tkcontrols:SettingsExpander Description="{x:Bind Description}" Header="{x:Bind Path=Name}">
|
|
<tkcontrols:SettingsExpander.HeaderIcon>
|
|
<BitmapIcon UriSource="{x:Bind IconPath}" />
|
|
</tkcontrols:SettingsExpander.HeaderIcon>
|
|
<StackPanel Orientation="Horizontal" Spacing="16">
|
|
<!-- todo(Stefan): InfoBadge not available
|
|
<InfoBadge AutomationProperties.AccessibilityView="Raw"
|
|
Visibility="{x:Bind ShowBadgeOnPluginSettingError}"
|
|
Style="{StaticResource CriticalIconInfoBadgeStyle}" />
|
|
-->
|
|
|
|
<!-- Temporary badge replacement for InfoBadge control (htcfreek). (Normally you need one grid per icon group. But if you want to show two badges at the same place in a StackPanel you have to put all FontIcons into the same Grid.) -->
|
|
<Grid>
|
|
<!-- Error badge -->
|
|
<FontIcon
|
|
FontFamily="{StaticResource SymbolThemeFontFamily}"
|
|
Foreground="{ThemeResource InfoBarErrorSeverityIconBackground}"
|
|
Glyph="{StaticResource InfoBarIconBackgroundGlyph}"
|
|
Visibility="{x:Bind ShowBadgeOnPluginSettingError}" />
|
|
<FontIcon
|
|
FontFamily="{StaticResource SymbolThemeFontFamily}"
|
|
Foreground="{ThemeResource InfoBarErrorSeverityIconForeground}"
|
|
Glyph="{StaticResource InfoBarErrorIconGlyph}"
|
|
Visibility="{x:Bind ShowBadgeOnPluginSettingError}" />
|
|
</Grid>
|
|
|
|
<ToggleSwitch
|
|
x:Uid="PowerLauncher_EnablePluginToggle"
|
|
IsEnabled="{x:Bind Path=EnabledGpoRuleIsConfigured, Converter={StaticResource BoolNegationConverter}, Mode=OneWay}"
|
|
IsOn="{x:Bind Path=Disabled, Converter={StaticResource BoolNegationConverter}, Mode=TwoWay}" />
|
|
|
|
</StackPanel>
|
|
<tkcontrols:SettingsExpander.Items>
|
|
<tkcontrols:SettingsCard x:Uid="PowerLauncher_ActionKeyword" IsEnabled="{x:Bind Enabled, Mode=OneWay}">
|
|
<TextBox MinWidth="{StaticResource SettingActionControlMinWidth}" Text="{x:Bind ActionKeyword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
</tkcontrols:SettingsCard>
|
|
<tkcontrols:SettingsCard
|
|
Padding="0,0,0,0"
|
|
HorizontalContentAlignment="Left"
|
|
Background="{ThemeResource SystemFillColorCriticalBackgroundBrush}"
|
|
ContentAlignment="Vertical"
|
|
Visibility="{x:Bind ShowNotAccessibleWarning, Converter={StaticResource BoolToVisibilityConverter}}">
|
|
<InfoBar
|
|
x:Uid="Run_NotAccessibleWarning"
|
|
Margin="3,0,0,0"
|
|
Background="Transparent"
|
|
BorderBrush="Transparent"
|
|
IsClosable="False"
|
|
IsOpen="True"
|
|
IsTabStop="{x:Bind ShowNotAccessibleWarning}"
|
|
Severity="Error" />
|
|
</tkcontrols:SettingsCard>
|
|
<tkcontrols:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind Enabled, Mode=OneWay}">
|
|
<CheckBox
|
|
Margin="0,-8,0,0"
|
|
AutomationProperties.Name="{Binding ElementName=IncludeInGlobalResultTitle, Path=Text}"
|
|
IsChecked="{x:Bind IsGlobal, Mode=TwoWay}">
|
|
<StackPanel Orientation="Vertical">
|
|
<TextBlock x:Name="IncludeInGlobalResultTitle" x:Uid="PowerLauncher_IncludeInGlobalResultTitle" />
|
|
<controls:IsEnabledTextBlock
|
|
x:Uid="PowerLauncher_IncludeInGlobalResultDescription"
|
|
FontSize="{StaticResource SecondaryTextFontSize}"
|
|
Foreground="{ThemeResource TextFillColorSecondaryBrush}" />
|
|
</StackPanel>
|
|
</CheckBox>
|
|
</tkcontrols:SettingsCard>
|
|
<tkcontrols:SettingsCard x:Uid="PowerLauncher_PluginWeightBoost" IsEnabled="{x:Bind IsGlobalAndEnabled, Mode=OneWay}">
|
|
<NumberBox
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
LargeChange="50"
|
|
Maximum="1000"
|
|
Minimum="-1000"
|
|
SmallChange="10"
|
|
SpinButtonPlacementMode="Compact"
|
|
Value="{x:Bind WeightBoost, Mode=TwoWay}" />
|
|
</tkcontrols:SettingsCard>
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
HorizontalContentAlignment="Stretch"
|
|
ContentAlignment="Vertical">
|
|
<tkcontrols:SettingsCard.Resources>
|
|
<Thickness x:Key="SettingsCardPadding">0</Thickness>
|
|
<Thickness x:Key="SettingsExpanderItemPadding">0,0,0,0</Thickness>
|
|
</tkcontrols:SettingsCard.Resources>
|
|
<ItemsControl
|
|
Margin="0,-6,0,0"
|
|
HorizontalAlignment="Stretch"
|
|
HorizontalContentAlignment="Stretch"
|
|
IsEnabled="{x:Bind Enabled, Mode=OneWay}"
|
|
ItemTemplateSelector="{StaticResource RunOptionTemplateSelector}"
|
|
ItemsSource="{x:Bind Path=AdditionalOptions}" />
|
|
</tkcontrols:SettingsCard>
|
|
<tkcontrols:SettingsCard
|
|
MinHeight="0"
|
|
BorderThickness="0"
|
|
ContentAlignment="Right"
|
|
IsEnabled="{x:Bind Enabled, Mode=OneWay}">
|
|
<StackPanel
|
|
HorizontalAlignment="Right"
|
|
Orientation="Horizontal"
|
|
Spacing="4">
|
|
<TextBlock Opacity="{x:Bind DisabledOpacity}" Style="{ThemeResource SecondaryTextStyle}">
|
|
<Run x:Uid="PowerLauncher_PluginVersion" />
|
|
<Run FontWeight="SemiBold" Text="{x:Bind Version}" />
|
|
</TextBlock>
|
|
<TextBlock
|
|
AutomationProperties.Name=","
|
|
IsTabStop="False"
|
|
Opacity="{x:Bind DisabledOpacity}"
|
|
Style="{ThemeResource SecondaryTextStyle}"
|
|
Text="|" />
|
|
<TextBlock Opacity="{x:Bind DisabledOpacity}" Style="{ThemeResource SecondaryTextStyle}">
|
|
<Run x:Uid="PowerLauncher_AuthoredBy" />
|
|
<Run FontWeight="SemiBold" Text="{x:Bind Author}" />
|
|
</TextBlock>
|
|
<TextBlock
|
|
AutomationProperties.Name=","
|
|
IsTabStop="False"
|
|
Opacity="{x:Bind DisabledOpacity}"
|
|
Style="{ThemeResource SecondaryTextStyle}"
|
|
Text="|"
|
|
Visibility="{x:Bind HasValidWebsiteUri, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" />
|
|
<HyperlinkButton
|
|
Margin="0"
|
|
Padding="0"
|
|
NavigateUri="{x:Bind WebsiteUri}"
|
|
Opacity="{x:Bind DisabledOpacity}"
|
|
Style="{StaticResource TextButtonStyle}"
|
|
Visibility="{x:Bind HasValidWebsiteUri, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}">
|
|
<TextBlock
|
|
x:Uid="PowerLauncher_PluginWebsite"
|
|
FontWeight="SemiBold"
|
|
Style="{ThemeResource SecondaryLinkTextStyle}" />
|
|
</HyperlinkButton>
|
|
</StackPanel>
|
|
</tkcontrols:SettingsCard>
|
|
</tkcontrols:SettingsExpander.Items>
|
|
</tkcontrols:SettingsExpander>
|
|
</Grid>
|
|
</DataTemplate>
|
|
</ItemsRepeater.ItemTemplate>
|
|
</ItemsRepeater>
|
|
</controls:SettingsGroup>
|
|
</StackPanel>
|
|
|
|
</controls:SettingsPageControl.ModuleContent>
|
|
<controls:SettingsPageControl.PrimaryLinks>
|
|
<controls:PageLink x:Uid="LearnMore_Run" Link="https://aka.ms/PowerToysOverview_PowerToysRun" />
|
|
<controls:PageLink x:Uid="Run_FindMorePlugins" Link="https://aka.ms/powerToysRunPlugins" />
|
|
</controls:SettingsPageControl.PrimaryLinks>
|
|
<controls:SettingsPageControl.SecondaryLinks>
|
|
<controls:PageLink Link="https://github.com/Wox-launcher/Wox/" Text="Wox" />
|
|
<controls:PageLink Link="https://github.com/betsegaw/windowwalker/" Text="Beta Tadele's Window Walker" />
|
|
</controls:SettingsPageControl.SecondaryLinks>
|
|
</controls:SettingsPageControl>
|
|
</Page>
|