mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-12 10:19:20 +08:00
Fiddling with settings to make sure I can connect them to the app
This commit is contained in:
parent
b4b4b3f95f
commit
2304eff3ca
@ -1155,4 +1155,28 @@ Win + Shift + O to toggle your video</value>
|
|||||||
<data name="SettingsWindow_Title" xml:space="preserve">
|
<data name="SettingsWindow_Title" xml:space="preserve">
|
||||||
<value>PowerToys Settings</value>
|
<value>PowerToys Settings</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="About_Espresso.Text" xml:space="preserve">
|
||||||
|
<value>About Espresso</value>
|
||||||
|
</data>
|
||||||
|
<data name="Espresso_Description.Text" xml:space="preserve">
|
||||||
|
<value>A convenient way to keep your computer awake on-demand.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Espresso_EnableEspresso.Header" xml:space="preserve">
|
||||||
|
<value>Enable Espresso</value>
|
||||||
|
</data>
|
||||||
|
<data name="Espresso_IndefiniteKeepAwakeContent.Text" xml:space="preserve">
|
||||||
|
<value>Keep awake indefinitely</value>
|
||||||
|
</data>
|
||||||
|
<data name="Espresso_TemporaryKeepAwakeContent.Text" xml:space="preserve">
|
||||||
|
<value>Keep awake temporarily</value>
|
||||||
|
</data>
|
||||||
|
<data name="Espresso_IndefiniteKeepAwakeDescription.Text" xml:space="preserve">
|
||||||
|
<value>Keeps the computer awake until the setting is disabled.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Espresso_TemporaryKeepAwakeDescription.Text" xml:space="preserve">
|
||||||
|
<value>Keeps the computer awake until the set time elapses.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Espresso_EnableDisplayKeepAwake.Header" xml:space="preserve">
|
||||||
|
<value>Keep display on</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
@ -53,20 +53,46 @@
|
|||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="0,0,48,0"
|
Margin="0,0,48,0"
|
||||||
MaxWidth="{StaticResource MaxContentWidth}">
|
MaxWidth="{StaticResource MaxContentWidth}">
|
||||||
|
<ToggleSwitch x:Uid="Espresso_EnableEspresso" IsOn="True" />
|
||||||
|
<ToggleSwitch x:Uid="Espresso_EnableDisplayKeepAwake" IsOn="True" />
|
||||||
|
<!--IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.EnablePowerLauncher}"/>-->
|
||||||
|
|
||||||
</StackPanel>
|
<!--<TextBlock x:Uid="Shortcuts"
|
||||||
|
Style="{StaticResource SettingsGroupTitleStyle}"
|
||||||
|
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>-->
|
||||||
|
<RadioButton x:Uid="Espresso_IndefiniteKeepAwake">
|
||||||
|
<RadioButton.Content>
|
||||||
|
<TextBlock TextWrapping="WrapWholeWords" LineHeight="20">
|
||||||
|
<Run x:Uid="Espresso_IndefiniteKeepAwakeContent"/>
|
||||||
|
<LineBreak/>
|
||||||
|
<Run Foreground="{ThemeResource SystemBaseMediumColor}"
|
||||||
|
x:Uid="Espresso_IndefiniteKeepAwakeDescription"/>
|
||||||
|
</TextBlock>
|
||||||
|
</RadioButton.Content>
|
||||||
|
</RadioButton>
|
||||||
|
<RadioButton x:Uid="Espresso_TemporaryKeepAwake">
|
||||||
|
<RadioButton.Content>
|
||||||
|
<TextBlock TextWrapping="WrapWholeWords" LineHeight="20">
|
||||||
|
<Run x:Uid="Espresso_TemporaryKeepAwakeContent"/>
|
||||||
|
<LineBreak/>
|
||||||
|
<Run Foreground="{ThemeResource SystemBaseMediumColor}"
|
||||||
|
x:Uid="Espresso_TemporaryKeepAwakeDescription"/>
|
||||||
|
</TextBlock>
|
||||||
|
</RadioButton.Content>
|
||||||
|
</RadioButton>
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
<RelativePanel x:Name="SidePanel"
|
<RelativePanel x:Name="SidePanel"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Width="{StaticResource SidePanelWidth}"
|
Width="{StaticResource SidePanelWidth}"
|
||||||
Grid.Column="1">
|
Grid.Column="1">
|
||||||
<StackPanel x:Name="DescriptionPanel">
|
<StackPanel x:Name="DescriptionPanel">
|
||||||
<TextBlock x:Uid="About_ColorPicker"
|
<TextBlock x:Uid="About_Espresso"
|
||||||
x:Name="AboutTitle"
|
x:Name="AboutTitle"
|
||||||
Grid.ColumnSpan="2"
|
Grid.ColumnSpan="2"
|
||||||
Style="{StaticResource SettingsGroupTitleStyle}"
|
Style="{StaticResource SettingsGroupTitleStyle}"
|
||||||
Margin="{StaticResource XSmallBottomMargin}"/>
|
Margin="{StaticResource XSmallBottomMargin}"/>
|
||||||
<TextBlock x:Uid="ColorPicker_Description"
|
<TextBlock x:Uid="Espresso_Description"
|
||||||
TextWrapping="Wrap"
|
TextWrapping="Wrap"
|
||||||
Grid.Row="1" />
|
Grid.Row="1" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
@ -78,15 +104,15 @@
|
|||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="{StaticResource SmallTopBottomMargin}"
|
Margin="{StaticResource SmallTopBottomMargin}"
|
||||||
RelativePanel.Below="DescriptionPanel">
|
RelativePanel.Below="DescriptionPanel">
|
||||||
<HyperlinkButton x:Uid="ColorPicker_ImageHyperlinkToDocs">
|
<HyperlinkButton x:Uid="Espresso_ImageHyperlinkToDocs">
|
||||||
<Image x:Uid="ColorPicker_Image" Source="ms-appx:///Assets/Modules/ColorPicker.png" />
|
<Image x:Uid="Espresso_Image" Source="ms-appx:///Assets/Modules/ColorPicker.png" />
|
||||||
</HyperlinkButton>
|
</HyperlinkButton>
|
||||||
</Border>
|
</Border>
|
||||||
<StackPanel x:Name="LinksPanel"
|
<StackPanel x:Name="LinksPanel"
|
||||||
Margin="0,1,0,0"
|
Margin="0,1,0,0"
|
||||||
RelativePanel.Below="AboutImage"
|
RelativePanel.Below="AboutImage"
|
||||||
Orientation="Vertical" >
|
Orientation="Vertical" >
|
||||||
<HyperlinkButton x:Uid="ColorPicker_ImageHyperlinkToDocs">
|
<HyperlinkButton x:Uid="Espresso_ImageHyperlinkToDocs">
|
||||||
<TextBlock x:Uid="Module_overview" />
|
<TextBlock x:Uid="Module_overview" />
|
||||||
</HyperlinkButton>
|
</HyperlinkButton>
|
||||||
<HyperlinkButton NavigateUri="https://aka.ms/powerToysGiveFeedback">
|
<HyperlinkButton NavigateUri="https://aka.ms/powerToysGiveFeedback">
|
||||||
@ -98,8 +124,8 @@
|
|||||||
Style="{StaticResource SettingsGroupTitleStyle}" />
|
Style="{StaticResource SettingsGroupTitleStyle}" />
|
||||||
|
|
||||||
<HyperlinkButton Margin="0,-3,0,0"
|
<HyperlinkButton Margin="0,-3,0,0"
|
||||||
NavigateUri="https://github.com/martinchrzan/ColorPicker/">
|
NavigateUri="https://github.com/microsoft/PowerToys/">
|
||||||
<TextBlock Text="Martin Chrzan's Color Picker" TextWrapping="Wrap" />
|
<TextBlock Text="Den Delimarsky's Espresso" TextWrapping="Wrap" />
|
||||||
</HyperlinkButton>
|
</HyperlinkButton>
|
||||||
|
|
||||||
<HyperlinkButton Margin="0,-3,0,0"
|
<HyperlinkButton Margin="0,-3,0,0"
|
||||||
|
Loading…
Reference in New Issue
Block a user