mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-05 22:28:31 +00:00
* updated theme to the latest version * Update en.yaml * removed all the order from the docs * add the store link * update homepage * add filename and line number to all the code blocks and also removed pages * auto pull the code from the json files * Merge branch 'main' into winutil-new-features * the script updated linenostart= * Delete LaptopHibernation.md
29 lines
949 B
Markdown
29 lines
949 B
Markdown
---
|
|
title: "Remove Widgets"
|
|
description: ""
|
|
---
|
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=61}
|
|
"WPFTweaksWidget": {
|
|
"Content": "Remove Widgets",
|
|
"Description": "Removes the annoying widgets in the bottom left of the taskbar",
|
|
"category": "Essential Tweaks",
|
|
"panel": "1",
|
|
"InvokeScript": [
|
|
"
|
|
# Sometimes if you dont stop Widgets Process for removal to work
|
|
Stop-Process -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\"
|
|
"
|
|
],
|
|
```
|