Add New Toggle to Disable/Enable Widgets found in Taskbar (#1768)

This commit is contained in:
Mr.k
2024-03-31 20:07:36 +03:00
committed by GitHub
parent 07abbba938
commit 25ce9df16f
4 changed files with 54 additions and 2 deletions

View File

@ -89,4 +89,13 @@ Function Get-WinUtilToggleStatus {
return $true
}
}
}
if ($ToggleSwitch -eq "WPFToggleTaskbarWidgets") {
$TaskbarWidgets = (Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced").TaskBarDa
if($TaskbarWidgets -eq 0) {
return $false
}
else{
return $true
}
}
}