mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-03-12 17:51:46 +08:00
40 lines
1.3 KiB
Markdown
40 lines
1.3 KiB
Markdown
---
|
|
title: "Center Taskbar Items"
|
|
description: ""
|
|
---
|
|
|
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2544}
|
|
"WPFToggleTaskbarAlignment": {
|
|
"Content": "Center Taskbar Items",
|
|
"Description": "[Windows 11] If enabled, the Taskbar Items will be shown on the Center, otherwise the Taskbar Items will be shown on the Left.",
|
|
"category": "Customize Preferences",
|
|
"panel": "2",
|
|
"Type": "Toggle",
|
|
"registry": [
|
|
{
|
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
|
"Name": "TaskbarAl",
|
|
"Value": "1",
|
|
"Type": "DWord",
|
|
"OriginalValue": "0",
|
|
"DefaultState": "true"
|
|
}
|
|
],
|
|
"InvokeScript": [
|
|
"
|
|
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
|
"
|
|
],
|
|
"UndoScript": [
|
|
"
|
|
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
|
"
|
|
],
|
|
```
|
|
|
|
## Registry Changes
|
|
|
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
|
|
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|