Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
-reducing border by 60%
Greedeksb67d00407834
diff --git a/.Source/GTweak/Styles/Themes/Dark/Colors.xaml b/.Source/GTweak/Styles/Themes/Dark/Colors.xamlindex d9d9d44f..368d01d2 100644--- a/.Source/GTweak/Styles/Themes/Dark/Colors.xaml+++ b/.Source/GTweak/Styles/Themes/Dark/Colors.xaml@@ -16,9 +16,7 @@<SolidColorBrush x:Key="Color_Border" Color="#00D65E"/><SolidColorBrush x:Key="Color_ComboBoxOver" Color="#303030"/>- <SolidColorBrush x:Key="Color_Background_ScrollBar" Color="#181818"/><SolidColorBrush x:Key="Color_Background_Slider" Color="#262626"/>- <SolidColorBrush x:Key="Color_Border_Slider" Color="#00AD4C"/><SolidColorBrush x:Key="Color_TetBlock_Inactivity" Color="#BFBFBF"/><SolidColorBrush x:Key="Color_TetBox_Border" Color="#D1DBE4"/><SolidColorBrush x:Key="Color_Background_RadialProgressBar" Color="#4D4D4D"/>diff --git a/.Source/GTweak/Styles/Themes/Light/Colors.xaml b/.Source/GTweak/Styles/Themes/Light/Colors.xamlindex e4be3cd0..d68c7dcd 100644--- a/.Source/GTweak/Styles/Themes/Light/Colors.xaml+++ b/.Source/GTweak/Styles/Themes/Light/Colors.xaml@@ -16,7 +16,6 @@<SolidColorBrush x:Key="Color_Border" Color="#009843"/><SolidColorBrush x:Key="Color_ComboBoxOver" Color="#DADADA"/>- <SolidColorBrush x:Key="Color_Background_ScrollBar" Color="#A9A9A9"/><SolidColorBrush x:Key="Color_Background_Slider" Color="#737373"/><SolidColorBrush x:Key="Color_TetBlock_Inactivity" Color="#202020"/><SolidColorBrush x:Key="Color_TetBox_Border" Color="#242527"/>diff --git a/.Source/GTweak/Windows/ImportWindow.xaml b/.Source/GTweak/Windows/ImportWindow.xamlindex 56d083ad..8c31079d 100644--- a/.Source/GTweak/Windows/ImportWindow.xaml+++ b/.Source/GTweak/Windows/ImportWindow.xaml@@ -7,18 +7,23 @@xmlns:local="clr-namespace:GTweak.Windows"mc:Ignorable="d"Title="GTweak" WindowStyle="None"- Height="160" Width="390" MinHeight="160" MinWidth="390" MaxHeight="160" MaxWidth="390" SnapsToDevicePixels="True" UseLayoutRounding="True"- Background="Transparent" AllowsTransparency="True" WindowStartupLocation="CenterScreen" Topmost="True" ResizeMode="CanMinimize"+ Height="160" Width="390" ResizeMode="NoResize" SnapsToDevicePixels="True" UseLayoutRounding="True"+ Background="Transparent" AllowsTransparency="True" WindowStartupLocation="CenterScreen" Topmost="True"ShowInTaskbar="False" IsTabStop="False" Loaded="Window_Loaded">-+ <Window.Clip>+ <RectangleGeometry RadiusX="7" RadiusY="7" Rect="0,0,390,160"/>+ </Window.Clip>+<Grid MouseDown="TitleBar_MouseDown">- <Border Background="{StaticResource Color_Background}" BorderThickness="1" CornerRadius="7" Opacity="0.98">- <Border.BorderBrush>- <LinearGradientBrush>- <GradientStop Color="{StaticResource Color_Border_Gradient_1}" Offset="0"/>- <GradientStop Color="{StaticResource Color_Border_Gradient_2}" Offset="1"/>- </LinearGradientBrush>- </Border.BorderBrush>+ <Grid Background="{StaticResource Color_Background}" Opacity="0.98">+ <Rectangle Width="auto" Height="auto" RadiusX="7" RadiusY="7" StrokeThickness="0.4" Panel.ZIndex="1">+ <Rectangle.Stroke>+ <LinearGradientBrush>+ <GradientStop Color="{StaticResource Color_Border_Gradient_1}" Offset="0"/>+ <GradientStop Color="{StaticResource Color_Border_Gradient_2}" Offset="1"/>+ </LinearGradientBrush>+ </Rectangle.Stroke>+ </Rectangle><Grid Margin="0" Background="Transparent"><StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Center" Height="140" Margin="20,20,0,0">@@ -36,7 +41,7 @@<Border Margin="0,20,0,0" CornerRadius="5" Background="{StaticResource Color_Background_RadialProgressBar}" Height="30" Width="350" HorizontalAlignment="Left"><StackPanel Orientation="Horizontal"><uc:ProggressRing ChangeBackground="{StaticResource Color_Background_Dark}" ChangeStrokeThickness="10" Width="25" Margin="10,0,0,0" />- <TextBlock Text="{DynamicResource wait_win_import}" Foreground="{StaticResource Color_Highlighted}" Height="auto" Width="auto" FontFamily="{StaticResource Jura}" FontSize="13px" HorizontalAlignment="Left" TextAlignment="Center" Margin="10,5,0,0"/>+ <TextBlock Text="{DynamicResource wait_win_import}" Foreground="{StaticResource Color_Highlighted}" Height="auto" Width="auto" FontFamily="{StaticResource Jura}" FontSize="13px" HorizontalAlignment="Left" TextAlignment="Center" Margin="10,5,0,0"/></StackPanel></Border><TextBlock Foreground="{StaticResource Color_Inactive}" Height="auto" Width="auto" MaxWidth="350" FontFamily="{StaticResource Jura}" FontSize="12px" HorizontalAlignment="Left" TextAlignment="Center" Margin="0,12,0,0">@@ -45,7 +50,6 @@</TextBlock></StackPanel></Grid>-- </Border>+ </Grid></Grid></Window>diff --git a/.Source/GTweak/Windows/MainWindow.xaml b/.Source/GTweak/Windows/MainWindow.xamlindex 2be38771..c0ddac32 100644--- a/.Source/GTweak/Windows/MainWindow.xaml+++ b/.Source/GTweak/Windows/MainWindow.xaml@@ -10,25 +10,26 @@xmlns:uс="clr-namespace:GTweak.Assets.UserControl"mc:Ignorable="d"Title="GTweak"- Height="630" Width="1100"- MaxHeight="630" MaxWidth="1100" MinHeight="630" MinWidth="1100"- Background="Transparent"- WindowStyle="None" AllowsTransparency="True"- WindowStartupLocation="CenterScreen"- SnapsToDevicePixels="True" UseLayoutRounding="True"+ Height="630" Width="1100" ResizeMode="NoResize" WindowStyle="None" Background="Transparent"+ AllowsTransparency="True" WindowStartupLocation="CenterScreen" SnapsToDevicePixels="True" UseLayoutRounding="True"Closing="Window_Closing" Loaded="Window_Loaded" WindowChrome.IsHitTestVisibleInChrome="False"><Window.DataContext><vm:MainViewModel/></Window.DataContext>-- <Border Background="{StaticResource Color_Background}" BorderThickness="1" CornerRadius="7" Opacity="0.98">- <Border.BorderBrush>- <LinearGradientBrush>- <GradientStop Color="{StaticResource Color_Border_Gradient_1}" Offset="0"/>- <GradientStop Color="{StaticResource Color_Border_Gradient_2}" Offset="1"/>- </LinearGradientBrush>- </Border.BorderBrush>-+ <Window.Clip>+ <RectangleGeometry RadiusX="7" RadiusY="7" Rect="0,0,1100,630"/>+ </Window.Clip>++ <Grid Background="{StaticResource Color_Background}" Opacity="0.98">+ <Rectangle Width="auto" Height="auto" RadiusX="7" RadiusY="7" StrokeThickness="0.4" Panel.ZIndex="1">+ <Rectangle.Stroke>+ <LinearGradientBrush>+ <GradientStop Color="{StaticResource Color_Border_Gradient_1}" Offset="0"/>+ <GradientStop Color="{StaticResource Color_Border_Gradient_2}" Offset="1"/>+ </LinearGradientBrush>+ </Rectangle.Stroke>+ </Rectangle>+<Grid Margin="0" Background="Transparent"><Grid.RowDefinitions><RowDefinition Height="4*"/>@@ -36,14 +37,12 @@<RowDefinition Height="5*"/></Grid.RowDefinitions>- <Grid x:Name="TitleBar" Grid.Row="0" SnapsToDevicePixels="True" UseLayoutRounding="True" MouseDown="TitleBar_MouseDown">- <Border Background="{StaticResource Color_Background_Dark}" CornerRadius="7,7,0,0">- <TextBlock x:Name="UtilityTitle" FontFamily="{StaticResource Jura}" Text="GTweak" Foreground="{StaticResource Color_Accent}" FontSize="18" Margin="20,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center">- <TextBlock.Effect>- <DropShadowEffect BlurRadius="20" ShadowDepth="1" Direction="-90" Color="{StaticResource Color_Shadow}" />- </TextBlock.Effect>- </TextBlock>- </Border>+ <Grid x:Name="TitleBar" Grid.Row="0" Background="{StaticResource Color_Background_Dark}" SnapsToDevicePixels="True" UseLayoutRounding="True" MouseDown="TitleBar_MouseDown">+ <TextBlock x:Name="UtilityTitle" FontFamily="{StaticResource Jura}" Text="GTweak" Foreground="{StaticResource Color_Accent}" FontSize="18" Margin="20,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center">+ <TextBlock.Effect>+ <DropShadowEffect BlurRadius="20" ShadowDepth="1" Direction="-90" Color="{StaticResource Color_Shadow}" />+ </TextBlock.Effect>+ </TextBlock><StackPanel Orientation="Horizontal" Width="Auto" VerticalAlignment="Center" HorizontalAlignment="Center"><Grid>@@ -156,13 +155,10 @@</StackPanel></Grid>-<Grid x:Name="BodyContent" Grid.Row="1">-<ContentControl x:Name="Pages" Content="{Binding CurrentView}" IsTabStop="False" QueryCursor="SettingsMenu_QueryCursor"/><Grid x:Name="SettingsMenu" Width="0" HorizontalAlignment="Right" Opacity="0.97" Panel.ZIndex="1">-<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Background="{StaticResource Color_Background_Dark}" VirtualizingStackPanel.IsVirtualizing="True"><StackPanel.OpacityMask><LinearGradientBrush StartPoint="0,0" EndPoint="1,0">@@ -184,7 +180,6 @@<DropShadowEffect BlurRadius="20" ShadowDepth="1" Direction="-90" Color="{StaticResource Color_Shadow}" /></TextBlock.Effect></TextBlock>-<Border Background="{StaticResource Color_Accent}" Height="1.2" Width="330" VerticalAlignment="Bottom" CornerRadius="10 10 0 0"/></Grid>@@ -319,35 +314,17 @@<ColumnDefinition Width="120*"/></Grid.ColumnDefinitions>- <nav:ButtonNavigation Grid.Column="0" Style="{StaticResource BtnNavigation}" x:Name="BtnConfidentiality" Content="{DynamicResource btn1_main}" Command="{Binding ConfidentialityCommand}">- <nav:ButtonNavigation.Resources>- <Style TargetType="{x:Type Border}">- <Setter Property="CornerRadius" Value="0,0,0,7"/>- </Style>- </nav:ButtonNavigation.Resources>- </nav:ButtonNavigation>-+ <nav:ButtonNavigation Grid.Column="0" Style="{StaticResource BtnNavigation}" x:Name="BtnConfidentiality" Content="{DynamicResource btn1_main}" Command="{Binding ConfidentialityCommand}"/><nav:ButtonNavigation Grid.Column="1" Style="{StaticResource BtnNavigation}" x:Name="BtnInterface" Content="{DynamicResource btn2_main}" Command="{Binding InterfaceCommand}"/>-<nav:ButtonNavigation Grid.Column="2" Style="{StaticResource BtnNavigation}" x:Name="BtnApplication" Content="{DynamicResource btn3_main}" Command="{Binding PakagesCommand}"/>-<nav:ButtonNavigation Grid.Column="3" Style="{StaticResource BtnNavigation}" x:Name="BtnServices" Content="{DynamicResource btn4_main}" Command="{Binding ServicesCommand}"/>-<nav:ButtonNavigation Grid.Column="4" Style="{StaticResource BtnNavigation}" x:Name="BtnSystem" Content="{DynamicResource btn5_main}" Command="{Binding SystemCommand}"/>-<nav:ButtonNavigation Grid.Column="5" Style="{StaticResource BtnNavigation}" x:Name="BtnSystemInfo" Content="{DynamicResource btn6_main}" Command="{Binding DataSystemCommand}"/>-- <nav:ButtonNavigation Grid.Column="6" Style="{StaticResource BtnNavigation}" x:Name="BtnMore" Content="{DynamicResource btn7_main}" Command="{Binding MoreCommand}" IsChecked="True">- <nav:ButtonNavigation.Resources>- <Style TargetType="{x:Type Border}">- <Setter Property="CornerRadius" Value="0,0,7,0"/>- </Style>- </nav:ButtonNavigation.Resources>- </nav:ButtonNavigation>+ <nav:ButtonNavigation Grid.Column="6" Style="{StaticResource BtnNavigation}" x:Name="BtnMore" Content="{DynamicResource btn7_main}" Command="{Binding MoreCommand}" IsChecked="True"/></Grid></Border></Grid></Grid>- </Border>+ </Grid></Window>diff --git a/.Source/GTweak/Windows/MessageWindow.xaml b/.Source/GTweak/Windows/MessageWindow.xamlindex 56fc7d0d..5a76b61e 100644--- a/.Source/GTweak/Windows/MessageWindow.xaml+++ b/.Source/GTweak/Windows/MessageWindow.xaml@@ -6,17 +6,22 @@xmlns:local="clr-namespace:GTweak.Windows"mc:Ignorable="d"Title="GTweak" WindowStyle="None"- Height="170" Width="370" MinHeight="170" MinWidth="370" MaxHeight="170" MaxWidth="370" SnapsToDevicePixels="True" UseLayoutRounding="True"- Background="Transparent" AllowsTransparency="True" WindowStartupLocation="CenterScreen" Topmost="True" ResizeMode="CanMinimize"- ShowInTaskbar="False" IsTabStop="False">+ Height="170" Width="370" ResizeMode="NoResize" SnapsToDevicePixels="True" UseLayoutRounding="True" Background="Transparent" AllowsTransparency="True"+ WindowStartupLocation="CenterScreen" Topmost="True" ShowInTaskbar="False" IsTabStop="False">+ <Window.Clip>+ <RectangleGeometry RadiusX="7" RadiusY="7" Rect="0,0,370,170"/>+ </Window.Clip>+<Grid MouseDown="TitleBar_MouseDown">- <Border Background="{StaticResource Color_Background}" BorderThickness="1" CornerRadius="7" Opacity="0.98">- <Border.BorderBrush>- <LinearGradientBrush>- <GradientStop Color="{StaticResource Color_Border_Gradient_1}" Offset="0"/>- <GradientStop Color="{StaticResource Color_Border_Gradient_2}" Offset="1"/>- </LinearGradientBrush>- </Border.BorderBrush>+ <Grid Background="{StaticResource Color_Background}" Opacity="0.98">+ <Rectangle Width="auto" Height="auto" RadiusX="7" RadiusY="7" StrokeThickness="0.4" Panel.ZIndex="1">+ <Rectangle.Stroke>+ <LinearGradientBrush>+ <GradientStop Color="{StaticResource Color_Border_Gradient_1}" Offset="0"/>+ <GradientStop Color="{StaticResource Color_Border_Gradient_2}" Offset="1"/>+ </LinearGradientBrush>+ </Rectangle.Stroke>+ </Rectangle><Grid Margin="0" Background="Transparent"><Grid x:Name="CreateWarn" Visibility="Visible">@@ -65,6 +70,6 @@<Button x:Name="BtnAccept" Content="{DynamicResource button_message}" Style="{StaticResource BtnDefault}" HorizontalAlignment="Right" VerticalAlignment="Top" Width="110" Height="30" Cursor="Hand" PreviewMouseDown="BtnAccept_PreviewMouseDown"/></Grid></Grid>- </Border>+ </Grid></Grid></Window>diff --git a/.Source/GTweak/Windows/NotificationWindow.xaml b/.Source/GTweak/Windows/NotificationWindow.xamlindex ee6c1db5..2b1e7a92 100644--- a/.Source/GTweak/Windows/NotificationWindow.xaml+++ b/.Source/GTweak/Windows/NotificationWindow.xaml@@ -6,21 +6,24 @@xmlns:local="clr-namespace:GTweak.Windows"mc:Ignorable="d"Title="{DynamicResource title_win_notification}"- Height="125" Width="375" MaxHeight="125" MaxWidth="375" MinHeight="125" MinWidth="375"- Background="Transparent" WindowStyle="None"- ShowInTaskbar="False" IsTabStop="False"- SnapsToDevicePixels="True" UseLayoutRounding="True"- AllowsTransparency="True" WindowStartupLocation="Manual" ResizeMode="CanMinimize"+ Height="125" Width="375" ResizeMode="NoResize" SnapsToDevicePixels="True" UseLayoutRounding="True"+ Background="Transparent" WindowStyle="None" ShowInTaskbar="False" IsTabStop="False"+ AllowsTransparency="True" WindowStartupLocation="Manual"Topmost="True" Closing="Window_Closing" Loaded="Window_Loaded">+ <Window.Clip>+ <RectangleGeometry RadiusX="7" RadiusY="7" Rect="0,0,375,125"/>+ </Window.Clip>- <Border Background="{StaticResource Color_Background}" BorderThickness="1" CornerRadius="7" Opacity="0.98">- <Border.BorderBrush>- <LinearGradientBrush>- <GradientStop Color="{StaticResource Color_Border_Gradient_1}" Offset="0"/>- <GradientStop Color="{StaticResource Color_Border_Gradient_2}" Offset="1"/>- </LinearGradientBrush>- </Border.BorderBrush>-+ <Grid Background="{StaticResource Color_Background}" Opacity="0.98">+ <Rectangle Width="auto" Height="auto" RadiusX="7" RadiusY="7" StrokeThickness="0.4" Panel.ZIndex="1">+ <Rectangle.Stroke>+ <LinearGradientBrush>+ <GradientStop Color="{StaticResource Color_Border_Gradient_1}" Offset="0"/>+ <GradientStop Color="{StaticResource Color_Border_Gradient_2}" Offset="1"/>+ </LinearGradientBrush>+ </Rectangle.Stroke>+ </Rectangle>+<Grid><Grid.RowDefinitions><RowDefinition Height="28*"/>@@ -107,11 +110,9 @@</TextBlock.Effect></TextBlock></Grid>-</Grid></Grid>-</Grid>- </Border>+ </Grid></Window>diff --git a/.Source/GTweak/Windows/RebootWindow.xaml b/.Source/GTweak/Windows/RebootWindow.xamlindex 697226b3..18f5a859 100644--- a/.Source/GTweak/Windows/RebootWindow.xaml+++ b/.Source/GTweak/Windows/RebootWindow.xaml@@ -6,9 +6,8 @@xmlns:local="clr-namespace:GTweak.Windows"mc:Ignorable="d"xmlns:xrpb="http://XamlRadialProgressBar/DotNet"- Title="GTweak" WindowStyle="None"- Height="180" Width="180"- Background="Transparent" AllowsTransparency="True" WindowStartupLocation="CenterScreen" ResizeMode="CanMinimize" SnapsToDevicePixels="True" UseLayoutRounding="True"+ Title="GTweak" WindowStyle="None" Height="180" Width="180" ResizeMode="NoResize"+ Background="Transparent" AllowsTransparency="True" WindowStartupLocation="CenterScreen" SnapsToDevicePixels="True" UseLayoutRounding="True"IsTabStop="False" Opacity="0.98" Topmost="True" ShowInTaskbar="False" Loaded="Window_Loaded"><Grid><Ellipse Height="140" Width="140" Fill="{StaticResource Color_Background_Dark}" StrokeThickness="6.6" VerticalAlignment="Center" HorizontalAlignment="Center"/>diff --git a/.Source/GTweak/Windows/UpdateWindow.xaml b/.Source/GTweak/Windows/UpdateWindow.xamlindex 12ce6eeb..b17c18fe 100644--- a/.Source/GTweak/Windows/UpdateWindow.xaml+++ b/.Source/GTweak/Windows/UpdateWindow.xaml@@ -6,17 +6,23 @@xmlns:local="clr-namespace:GTweak.Windows"mc:Ignorable="d"Title="{DynamicResource title_win_update}" WindowStyle="None"- Height="180" Width="400" MinHeight="180" MinWidth="400" MaxHeight="180" MaxWidth="350" SnapsToDevicePixels="True" UseLayoutRounding="True"- Background="Transparent" AllowsTransparency="True" WindowStartupLocation="CenterScreen" ResizeMode="CanMinimize"+ Height="180" Width="400" SnapsToDevicePixels="True" UseLayoutRounding="True"+ Background="Transparent" AllowsTransparency="True" WindowStartupLocation="CenterScreen" ResizeMode="NoResize"IsTabStop="False" Topmost="True" ShowInTaskbar="True" Loaded="Window_Loaded" Closing="Window_Closing">+ <Window.Clip>+ <RectangleGeometry RadiusX="7" RadiusY="7" Rect="0,0,400,180"/>+ </Window.Clip>+<Grid MouseDown="TitleBar_MouseDown">- <Border Background="{StaticResource Color_Background}" BorderThickness="1" CornerRadius="7" Opacity="0.98">- <Border.BorderBrush>- <LinearGradientBrush>- <GradientStop Color="{StaticResource Color_Border_Gradient_1}" Offset="0"/>- <GradientStop Color="{StaticResource Color_Border_Gradient_2}" Offset="1"/>- </LinearGradientBrush>- </Border.BorderBrush>+ <Grid Background="{StaticResource Color_Background}" Opacity="0.98">+ <Rectangle Width="auto" Height="auto" RadiusX="7" RadiusY="7" StrokeThickness="0.4" Panel.ZIndex="1">+ <Rectangle.Stroke>+ <LinearGradientBrush>+ <GradientStop Color="{StaticResource Color_Border_Gradient_1}" Offset="0"/>+ <GradientStop Color="{StaticResource Color_Border_Gradient_2}" Offset="1"/>+ </LinearGradientBrush>+ </Rectangle.Stroke>+ </Rectangle><Grid Margin="0" Background="Transparent">@@ -122,6 +128,6 @@</Grid>- </Border>+ </Grid></Grid></Window>