Skip to content

Portable Tool for an Ideal Windows Setup

-improvement

Greedeks02894b173508
diff --git a/.Source/GTweak/Assets/DrawingImages/Other.xaml b/.Source/GTweak/Assets/DrawingImages/Other.xaml
index 3b7eba2f..c2e217d6 100644
--- a/.Source/GTweak/Assets/DrawingImages/Other.xaml
+++ b/.Source/GTweak/Assets/DrawingImages/Other.xaml
@@ -3,12 +3,9 @@
<DrawingImage x:Key="DI_AvatarProfile">
<DrawingImage.Drawing>
- <DrawingGroup ClipGeometry="M0,0 V512 H512 V0 H0 Z">
- <DrawingGroup.Transform>
- <TranslateTransform X="0" Y="4049.60009765625" />
- </DrawingGroup.Transform>
- <DrawingGroup Opacity="1" Transform="0.1,0,0,-0.1,-50,96">
- <GeometryDrawing Brush="{DynamicResource Color_Accent}" Geometry="F1 M512,512z M0,0z M1989.2,287.8C1109.5,-118.2,872.7,-1234.7,1515.5,-1938.4L1738.8,-2182 1441.1,-2371.5C1075.7,-2601.6 764.4,-3021.1 635.9,-3460.9 487,-3968.4 500.6,-4049.6 737.4,-4049.6 879.5,-4049.6 940.4,-4015.8 940.4,-3941.3 940.4,-3663.9 1123.1,-3264.6 1387,-2973.7L1671.2,-2662.4 1820.1,-2851.9C2226.1,-3359.4,2902.8,-3359.4,3308.8,-2851.9L3457.7,-2662.4 3741.9,-2973.7C4005.8,-3264.7 4188.5,-3663.9 4188.5,-3941.3 4188.5,-4015.7 4249.4,-4049.6 4391.5,-4049.6 4628.3,-4049.6 4641.9,-3968.4 4493,-3460.9 4364.4,-3021.1 4053.2,-2601.5 3687.8,-2371.5L3389.9,-2182 3613.2,-1938.4C4093.6,-1417.4 4100.4,-618.9 3626.7,-77.6000000000001 3214,389.3 2537.3,545 1989.2,287.8z M3038,-124.9C3342.5,-280.5 3579.3,-666.2 3579.3,-1004.6 3579.3,-1518.9 3078.6,-2019.6 2557.5,-2019.6 2063.5,-2019.6 1549.3,-1505.3 1549.3,-1004.6 1549.3,-679.8 1786.1,-280.6 2077.1,-131.7 2402,44.2 2706.5,44.2 3038,-124.9z M2956.8,-2486.5C3092.1,-2567.7 2794.4,-2831.6 2564.3,-2831.6 2469.6,-2831.6 2313.9,-2763.9 2232.7,-2689.5 2036.5,-2506.8 2131.2,-2425.6 2564.3,-2425.6 2733.5,-2425.6 2909.5,-2452.7 2956.8,-2486.5z" />
+ <DrawingGroup ClipGeometry="M0,0 V75 H75 V0 H0 Z">
+ <DrawingGroup Opacity="1">
+ <GeometryDrawing Brush="{DynamicResource Color_Accent}" Geometry="F1 M75,75z M0,0z M29.074219,5.902344C16.1875,11.851562,12.71875,28.207031,22.136719,38.515625L25.40625,42.082031 21.046875,44.859375C15.691406,48.230469 11.132812,54.375 9.25,60.816406 7.070312,68.25 7.269531,69.441406 10.738281,69.441406 12.820312,69.441406 13.710938,68.945312 13.710938,67.851562 13.710938,63.789062 16.386719,57.941406 20.253906,53.679688L24.417969,49.121094 26.597656,51.894531C32.542969,59.328125,42.457031,59.328125,48.40625,51.894531L50.585938,49.121094 54.75,53.679688C58.613281,57.941406 61.289062,63.789062 61.289062,67.851562 61.289062,68.941406 62.183594,69.441406 64.265625,69.441406 67.734375,69.441406 67.933594,68.25 65.75,60.816406 63.867188,54.375 59.308594,48.226562 53.957031,44.859375L49.59375,42.082031 52.863281,38.515625C59.902344,30.882812 60,19.183594 53.0625,11.253906 47.015625,4.417969 37.101562,2.136719 29.074219,5.902344z M44.4375,11.949219C48.898438,14.226562 52.367188,19.878906 52.367188,24.835938 52.367188,32.367188 45.03125,39.703125 37.398438,39.703125 30.164062,39.703125 22.628906,32.167969 22.628906,24.835938 22.628906,20.078125 26.097656,14.230469 30.363281,12.046875 35.121094,9.472656 39.582031,9.472656 44.4375,11.949219z M43.25,46.542969C45.230469,47.730469 40.871094,51.597656 37.5,51.597656 36.113281,51.597656 33.832031,50.605469 32.640625,49.515625 29.765625,46.839844 31.15625,45.652344 37.5,45.652344 39.976562,45.652344 42.554688,46.046875 43.25,46.542969z M43.25,46.542969" />
</DrawingGroup>
</DrawingGroup>
</DrawingImage.Drawing>
diff --git a/.Source/GTweak/Styles/Images.xaml b/.Source/GTweak/Styles/Images.xaml
index b877490b..0665ec0f 100644
--- a/.Source/GTweak/Styles/Images.xaml
+++ b/.Source/GTweak/Styles/Images.xaml
@@ -18,8 +18,8 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard Timeline.DesiredFrameRate="400">
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="1.07" Duration="0:0:1.0" SpeedRatio="10"/>
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="1.07" Duration="0:0:1.0" SpeedRatio="10"/>
+ <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="1.07" Duration="0:0:0.1"/>
+ <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="1.07" Duration="0:0:0.1"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@@ -28,8 +28,8 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard Timeline.DesiredFrameRate="400">
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1.07" To="1" Duration="0:0:1.0" SpeedRatio="11"/>
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1.07" To="1" Duration="0:0:1.0" SpeedRatio="11"/>
+ <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1.07" To="1" Duration="0:0:0.1"/>
+ <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1.07" To="1" Duration="0:0:0.1"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
diff --git a/.Source/GTweak/Styles/ToggleButtons.xaml b/.Source/GTweak/Styles/ToggleButtons.xaml
index 7e1a1c08..e47ab4c4 100644
--- a/.Source/GTweak/Styles/ToggleButtons.xaml
+++ b/.Source/GTweak/Styles/ToggleButtons.xaml
@@ -1,26 +1,6 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
- <ControlTemplate x:Key="Sound_Enable" TargetType="{x:Type ToggleButton}">
- <Image>
- <Image.Style>
- <Style TargetType="{x:Type Image}">
- <Setter Property="Source" Value="{StaticResource DI_BtnSoundOn}"/>
- </Style>
- </Image.Style>
- </Image>
- </ControlTemplate>
-
- <ControlTemplate x:Key="Sound_Disabled" TargetType="{x:Type ToggleButton}">
- <Image>
- <Image.Style>
- <Style TargetType="{x:Type Image}">
- <Setter Property="Source" Value="{StaticResource DI_BtnSoundOff}"/>
- </Style>
- </Image.Style>
- </Image>
- </ControlTemplate>
-
<Style TargetType="{x:Type ToggleButton}" x:Key="TglButtonSound">
<Setter Property="IsTabStop" Value="False"/>
<Setter Property="Cursor" Value="Hand"/>
@@ -28,22 +8,31 @@
<Setter Property="RenderTransformOrigin" Value=".5,.5"/>
<Setter Property="RenderTransform">
<Setter.Value>
- <ScaleTransform x:Name="ImageScale" ScaleX="1" ScaleY="1" />
+ <ScaleTransform ScaleX="1" ScaleY="1" />
+ </Setter.Value>
+ </Setter>
+ <Setter Property="Template">
+ <Setter.Value>
+ <ControlTemplate TargetType="{x:Type ToggleButton}">
+ <Image Name="Image"/>
+ <ControlTemplate.Triggers>
+ <Trigger Property="IsChecked" Value="True">
+ <Setter TargetName="Image" Property="Source" Value="{StaticResource DI_BtnSoundOn}" />
+ </Trigger>
+ <Trigger Property="IsChecked" Value="False">
+ <Setter TargetName="Image" Property="Source" Value="{StaticResource DI_BtnSoundOff}" />
+ </Trigger>
+ </ControlTemplate.Triggers>
+ </ControlTemplate>
</Setter.Value>
</Setter>
<Style.Triggers>
- <Trigger Property="IsChecked" Value="True">
- <Setter Property="Template" Value="{StaticResource Sound_Enable}" />
- </Trigger>
- <Trigger Property="IsChecked" Value="False">
- <Setter Property="Template" Value="{StaticResource Sound_Disabled}" />
- </Trigger>
<EventTrigger RoutedEvent="Button.MouseEnter">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard Timeline.DesiredFrameRate="400">
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="1.07" Duration="0:0:1.0" SpeedRatio="10"/>
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="1.07" Duration="0:0:1.0" SpeedRatio="10"/>
+ <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="1.07" Duration="0:0:0.1"/>
+ <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="1.07" Duration="0:0:0.1"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@@ -52,8 +41,8 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard Timeline.DesiredFrameRate="400">
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1.07" To="1" Duration="0:0:1.0" SpeedRatio="11"/>
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1.07" To="1" Duration="0:0:1.0" SpeedRatio="11"/>
+ <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1.07" To="1" Duration="0:0:0.1"/>
+ <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1.07" To="1" Duration="0:0:0.1"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@@ -61,26 +50,6 @@
</Style.Triggers>
</Style>
- <ControlTemplate x:Key="IP_Show" TargetType="{x:Type ToggleButton}">
- <Image>
- <Image.Style>
- <Style TargetType="{x:Type Image}">
- <Setter Property="Source" Value="{StaticResource DI_Show}"/>
- </Style>
- </Image.Style>
- </Image>
- </ControlTemplate>
-
- <ControlTemplate x:Key="IP_Hide" TargetType="{x:Type ToggleButton}">
- <Image>
- <Image.Style>
- <Style TargetType="{x:Type Image}">
- <Setter Property="Source" Value="{StaticResource DI_Hide}"/>
- </Style>
- </Image.Style>
- </Image>
- </ControlTemplate>
-
<Style TargetType="{x:Type ToggleButton}" x:Key="TglButtonIP">
<Setter Property="IsTabStop" Value="False"/>
<Setter Property="Cursor" Value="Hand"/>
@@ -88,22 +57,31 @@
<Setter Property="RenderTransformOrigin" Value=".5,.5"/>
<Setter Property="RenderTransform">
<Setter.Value>
- <ScaleTransform x:Name="ImageScale" ScaleX="1" ScaleY="1" />
+ <ScaleTransform ScaleX="1" ScaleY="1" />
+ </Setter.Value>
+ </Setter>
+ <Setter Property="Template">
+ <Setter.Value>
+ <ControlTemplate TargetType="{x:Type ToggleButton}">
+ <Image Name="Image"/>
+ <ControlTemplate.Triggers>
+ <Trigger Property="IsChecked" Value="True">
+ <Setter TargetName="Image" Property="Source" Value="{StaticResource DI_Show}" />
+ </Trigger>
+ <Trigger Property="IsChecked" Value="False">
+ <Setter TargetName="Image" Property="Source" Value="{StaticResource DI_Hide}" />
+ </Trigger>
+ </ControlTemplate.Triggers>
+ </ControlTemplate>
</Setter.Value>
</Setter>
<Style.Triggers>
- <Trigger Property="IsChecked" Value="True">
- <Setter Property="Template" Value="{StaticResource IP_Show}" />
- </Trigger>
- <Trigger Property="IsChecked" Value="False">
- <Setter Property="Template" Value="{StaticResource IP_Hide}" />
- </Trigger>
<EventTrigger RoutedEvent="Button.MouseEnter">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard Timeline.DesiredFrameRate="400">
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="1.07" Duration="0:0:1.0" SpeedRatio="10"/>
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="1.07" Duration="0:0:1.0" SpeedRatio="10"/>
+ <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1" To="1.07" Duration="0:0:0.1"/>
+ <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1" To="1.07" Duration="0:0:0.1"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@@ -112,8 +90,8 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard Timeline.DesiredFrameRate="400">
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1.07" To="1" Duration="0:0:1.0" SpeedRatio="11"/>
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1.07" To="1" Duration="0:0:1.0" SpeedRatio="11"/>
+ <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" From="1.07" To="1" Duration="0:0:0.1"/>
+ <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleY" From="1.07" To="1" Duration="0:0:0.1"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
diff --git a/Assets/SVG Others/AvatarProfile.svg b/Assets/SVG Others/AvatarProfile.svg
index 614bf558..91f3dbef 100644
--- a/Assets/SVG Others/AvatarProfile.svg
+++ b/Assets/SVG Others/AvatarProfile.svg
@@ -1,15 +1,6 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Слой_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
-<g transform="translate(0.000000,96.000000) scale(0.100000,-0.100000)">
- <path d="M1984.8,557C1105,151,868.2-965.5,1511.1-1669.2l223.3-243.6l-297.7-189.5c-365.4-230.1-676.7-649.6-805.2-1089.4
- c-148.9-507.5-135.3-588.7,101.5-588.7c142.1,0,203,33.8,203,108.3c0,277.4,182.7,676.7,446.6,967.6l284.2,311.3l148.9-189.5
- c406-507.5,1082.7-507.5,1488.7,0l148.9,189.5l284.2-311.3c263.9-291,446.6-690.2,446.6-967.6c0-74.4,60.9-108.3,203-108.3
- c236.8,0,250.4,81.2,101.5,588.7c-128.6,439.8-439.8,859.4-805.2,1089.4l-297.9,189.5l223.3,243.6
- c480.4,521,487.2,1319.5,13.5,1860.8C3209.6,658.5,2532.9,814.2,1984.8,557z M3033.6,144.3c304.5-155.6,541.3-541.3,541.3-879.7
- c0-514.3-500.7-1015-1021.8-1015c-494,0-1008.2,514.3-1008.2,1015c0,324.8,236.8,724,527.8,872.9
- C2397.6,313.4,2702.1,313.4,3033.6,144.3z M2952.4-2217.3c135.3-81.2-162.4-345.1-392.5-345.1c-94.7,0-250.4,67.7-331.6,142.1
- c-196.2,182.7-101.5,263.9,331.6,263.9C2729.1-2156.4,2905.1-2183.5,2952.4-2217.3z"/>
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="75px" height="75px" viewBox="0 0 75 75" version="1.1">
+<g id="surface1">
+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 29.074219 5.902344 C 16.1875 11.851562 12.71875 28.207031 22.136719 38.515625 L 25.40625 42.082031 L 21.046875 44.859375 C 15.691406 48.230469 11.132812 54.375 9.25 60.816406 C 7.070312 68.25 7.269531 69.441406 10.738281 69.441406 C 12.820312 69.441406 13.710938 68.945312 13.710938 67.851562 C 13.710938 63.789062 16.386719 57.941406 20.253906 53.679688 L 24.417969 49.121094 L 26.597656 51.894531 C 32.542969 59.328125 42.457031 59.328125 48.40625 51.894531 L 50.585938 49.121094 L 54.75 53.679688 C 58.613281 57.941406 61.289062 63.789062 61.289062 67.851562 C 61.289062 68.941406 62.183594 69.441406 64.265625 69.441406 C 67.734375 69.441406 67.933594 68.25 65.75 60.816406 C 63.867188 54.375 59.308594 48.226562 53.957031 44.859375 L 49.59375 42.082031 L 52.863281 38.515625 C 59.902344 30.882812 60 19.183594 53.0625 11.253906 C 47.015625 4.417969 37.101562 2.136719 29.074219 5.902344 Z M 44.4375 11.949219 C 48.898438 14.226562 52.367188 19.878906 52.367188 24.835938 C 52.367188 32.367188 45.03125 39.703125 37.398438 39.703125 C 30.164062 39.703125 22.628906 32.167969 22.628906 24.835938 C 22.628906 20.078125 26.097656 14.230469 30.363281 12.046875 C 35.121094 9.472656 39.582031 9.472656 44.4375 11.949219 Z M 43.25 46.542969 C 45.230469 47.730469 40.871094 51.597656 37.5 51.597656 C 36.113281 51.597656 33.832031 50.605469 32.640625 49.515625 C 29.765625 46.839844 31.15625 45.652344 37.5 45.652344 C 39.976562 45.652344 42.554688 46.046875 43.25 46.542969 Z M 43.25 46.542969 "/>
</g>
</svg>