mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 11:06:18 +00:00
Merge branch 'master' of https://github.com/Raphire/Win11Debloat
This commit is contained in:
@@ -42,6 +42,7 @@ File Explorer
|
|||||||
|
|
||||||
Taskbar
|
Taskbar
|
||||||
- Align taskbar icons to the left. (W11 only)
|
- Align taskbar icons to the left. (W11 only)
|
||||||
|
- Choose combine mode for taskbar buttons and labels. (W11 only)
|
||||||
- Hide or change the search icon/box on the taskbar. (W11 only)
|
- Hide or change the search icon/box on the taskbar. (W11 only)
|
||||||
- Hide the taskview button from the taskbar. (W11 only)
|
- Hide the taskview button from the taskbar. (W11 only)
|
||||||
- Disable widgets on the taskbar & lockscreen.
|
- Disable widgets on the taskbar & lockscreen.
|
||||||
|
|||||||
1
Get.ps1
1
Get.ps1
@@ -35,6 +35,7 @@ param (
|
|||||||
[switch]$DisableTransparency,
|
[switch]$DisableTransparency,
|
||||||
[switch]$DisableAnimations,
|
[switch]$DisableAnimations,
|
||||||
[switch]$TaskbarAlignLeft,
|
[switch]$TaskbarAlignLeft,
|
||||||
|
[switch]$CombineTaskbarAlways, [switch]$CombineTaskbarWhenFull, [switch]$CombineTaskbarNever,
|
||||||
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
||||||
[switch]$HideTaskview,
|
[switch]$HideTaskview,
|
||||||
[switch]$DisableStartRecommended,
|
[switch]$DisableStartRecommended,
|
||||||
|
|||||||
@@ -136,6 +136,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
|||||||
#### Taskbar
|
#### Taskbar
|
||||||
|
|
||||||
- Align taskbar icons to the left. (W11 only)
|
- Align taskbar icons to the left. (W11 only)
|
||||||
|
- Choose combine mode for taskbar buttons and labels. (W11 only)
|
||||||
- Hide or change the search icon/box on the taskbar. (W11 only)
|
- Hide or change the search icon/box on the taskbar. (W11 only)
|
||||||
- Hide the taskview button from the taskbar. (W11 only)
|
- Hide the taskview button from the taskbar. (W11 only)
|
||||||
- Disable widgets on the taskbar & lockscreen.
|
- Disable widgets on the taskbar & lockscreen.
|
||||||
|
|||||||
BIN
Regfiles/Combine_Taskbar_Always.reg
Normal file
BIN
Regfiles/Combine_Taskbar_Always.reg
Normal file
Binary file not shown.
BIN
Regfiles/Combine_Taskbar_Never.reg
Normal file
BIN
Regfiles/Combine_Taskbar_Never.reg
Normal file
Binary file not shown.
BIN
Regfiles/Combine_Taskbar_When_Full.reg
Normal file
BIN
Regfiles/Combine_Taskbar_When_Full.reg
Normal file
Binary file not shown.
@@ -37,6 +37,7 @@ param (
|
|||||||
[switch]$DisableTransparency,
|
[switch]$DisableTransparency,
|
||||||
[switch]$DisableAnimations,
|
[switch]$DisableAnimations,
|
||||||
[switch]$TaskbarAlignLeft,
|
[switch]$TaskbarAlignLeft,
|
||||||
|
[switch]$CombineTaskbarAlways, [switch]$CombineTaskbarWhenFull, [switch]$CombineTaskbarNever,
|
||||||
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
[switch]$HideSearchTb, [switch]$ShowSearchIconTb, [switch]$ShowSearchLabelTb, [switch]$ShowSearchBoxTb,
|
||||||
[switch]$HideTaskview,
|
[switch]$HideTaskview,
|
||||||
[switch]$DisableStartRecommended,
|
[switch]$DisableStartRecommended,
|
||||||
@@ -1176,6 +1177,31 @@ function DisplayCustomModeOptions {
|
|||||||
AddParameter 'TaskbarAlignLeft' 'Align taskbar icons to the left'
|
AddParameter 'TaskbarAlignLeft' 'Align taskbar icons to the left'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Show options for combine icon on taskbar, only continue on valid input
|
||||||
|
Do {
|
||||||
|
Write-Output ""
|
||||||
|
Write-Host " Options:" -ForegroundColor Yellow
|
||||||
|
Write-Host " (n) No change" -ForegroundColor Yellow
|
||||||
|
Write-Host " (1) Always" -ForegroundColor Yellow
|
||||||
|
Write-Host " (2) When taskbar is full" -ForegroundColor Yellow
|
||||||
|
Write-Host " (3) Never" -ForegroundColor Yellow
|
||||||
|
$TbCombineTaskbar = Read-Host " Combine taskbar buttons and hide labels? (n/1/2/3)"
|
||||||
|
}
|
||||||
|
while ($TbCombineTaskbar -ne 'n' -and $TbCombineTaskbar -ne '0' -and $TbCombineTaskbar -ne '1' -and $TbCombineTaskbar -ne '2' -and $TbCombineTaskbar -ne '3')
|
||||||
|
|
||||||
|
# Select correct taskbar goup option based on user input
|
||||||
|
switch ($TbCombineTaskbar) {
|
||||||
|
'1' {
|
||||||
|
AddParameter 'CombineTaskbarAlways' 'Always combine taskbar buttons and hide labels'
|
||||||
|
}
|
||||||
|
'2' {
|
||||||
|
AddParameter 'CombineTaskbarWhenFull' 'Combine taskbar buttons and hide labels when taskbar is full'
|
||||||
|
}
|
||||||
|
'3' {
|
||||||
|
AddParameter 'CombineTaskbarNever' 'Never combine taskbar buttons and show labels'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Show options for search icon on taskbar, only continue on valid input
|
# Show options for search icon on taskbar, only continue on valid input
|
||||||
Do {
|
Do {
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
@@ -1856,6 +1882,18 @@ switch ($script:Params.Keys) {
|
|||||||
RegImport "> Aligning taskbar buttons to the left..." "Align_Taskbar_Left.reg"
|
RegImport "> Aligning taskbar buttons to the left..." "Align_Taskbar_Left.reg"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
'CombineTaskbarAlways' {
|
||||||
|
RegImport "> Setting the taskbar to always combine buttons and hide labels..." "Combine_Taskbar_Never.reg"
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
'CombineTaskbarWhenFull' {
|
||||||
|
RegImport "> Setting the taskbar to only combine buttons and hide labels when the taskbar is full..." "Combine_Taskbar_When_Full.reg"
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
'CombineTaskbarNever' {
|
||||||
|
RegImport "> Setting the taskbar to never combine buttons or hide labels..." "Combine_Taskbar_Never.reg"
|
||||||
|
continue
|
||||||
|
}
|
||||||
'HideSearchTb' {
|
'HideSearchTb' {
|
||||||
RegImport "> Hiding the search icon from the taskbar..." "Hide_Search_Taskbar.reg"
|
RegImport "> Hiding the search icon from the taskbar..." "Hide_Search_Taskbar.reg"
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user