diff --git a/MainWindow.xaml b/MainWindow.xaml
index f0b57bea..98a8b2ef 100644
--- a/MainWindow.xaml
+++ b/MainWindow.xaml
@@ -174,7 +174,9 @@
-
+
+
+
diff --git a/winutil.ps1 b/winutil.ps1
index e357ac34..99e63d3d 100644
--- a/winutil.ps1
+++ b/winutil.ps1
@@ -1231,6 +1231,22 @@ $WPFtweaksbutton.Add_Click({
[System.Windows.MessageBox]::Show($Messageboxbody, $MessageboxTitle, $ButtonType, $MessageIcon)
})
+
+$WPFEnableDarkMode.Add_Click({
+ Write-Host "Enabling Dark Mode"
+ $Theme = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize"
+ Set-ItemProperty $Theme AppsUseLightTheme -Value 0
+ Write-Host "Enabled"
+ }
+)
+
+$WPFDisableDarkMode.Add_Click({
+ Write-Host "Disabling Dark Mode"
+ $Theme = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize"
+ Set-ItemProperty $Theme AppsUseLightTheme -Value 1
+ Write-Host "Disabled"
+ }
+)
#===========================================================================
# Undo All
#===========================================================================