Add Remove widgets (#3962)

* Update tweaks.json

* Create Widget.md

* Update tweaks.json

* Update Widget.md

* Update tweaks.json

* Update Widget.md

* Update Widget.md

* Update tweaks.json

* Update tweaks.json

* Update Widget.md
This commit is contained in:
Gabi
2026-02-10 21:42:45 +02:00
committed by GitHub
parent ef29ab9ffc
commit b00c7b1ea2
2 changed files with 52 additions and 0 deletions

View File

@@ -60,6 +60,31 @@
],
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/hibernation"
},
"WPFTweaksWidget": {
"Content": "Remove Widgets",
"Description": "Removes the annoying widgets in the bottom left of the taskbar",
"category": "Essential Tweaks",
"panel": "1",
"Order": "a005_",
"InvokeScript": [
"
# Sometimes if you dont stop Widgets Process for removal to work
Stop-Procces -Name Widgets
Get-AppxPackage Microsoft.WidgetsPlatformRuntime -AllUsers | Remove-AppxPackage -AllUsers
Invoke-WinUtilExplorerUpdate -action \"restart\"
Write-Host \"Removed widgets\"
"
],
"UndoScript": [
"
Write-Host \"Restoring widgets AppxPackages\"
Add-AppxPackage -DisableDevelopmentMode -Register \"C:\\Program Files\\WindowsApps\\Microsoft.WidgetsPlatformRuntime*\\AppxManifest.xml\"
Invoke-WinUtilExplorerUpdate -action \"restart\"
"
],
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/widgets"
},
"WPFTweaksLaptopHibernation": {
"Content": "Set Hibernation as default (good for laptops)",
"Description": "Most modern laptops have connected standby enabled which drains the battery, this sets hibernation as default which will not drain the battery. See issue https://github.com/ChrisTitusTech/winutil/issues/1399",

View File

@@ -0,0 +1,27 @@
# Remove Widgets
```json
"WPFTweaksWidget": {
"Content": "Remove Widgets",
"Description": "Removes the annoying widgets in the bottom left of the taskbar",
"category": "Essential Tweaks",
"panel": "1",
"Order": "a005_",
"InvokeScript": [
"
# Sometimes if you dont stop Widgets Process for removal to work
Stop-Procces -Name Widgets
Get-AppxPackage Microsoft.WidgetsPlatformRuntime -AllUsers | Remove-AppxPackage -AllUsers
Invoke-WinUtilExplorerUpdate -action \"restart\"
Write-Host \"Removed widgets\"
"
],
"UndoScript": [
"
Write-Host \"Restoring widgets AppxPackages\"
Add-AppxPackage -DisableDevelopmentMode -Register \"C:\\Program Files\\WindowsApps\\Microsoft.WidgetsPlatformRuntime*\\AppxManifest.xml\"
Invoke-WinUtilExplorerUpdate -action \"restart\"
"
],
```