mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 02:56:17 +00:00
Add "Last Active Click" Taskbar Behaviour Option (#280)
This commit is contained in:
@@ -43,6 +43,7 @@ param (
|
||||
[switch]$DisableWidgets, [switch]$HideWidgets,
|
||||
[switch]$DisableChat, [switch]$HideChat,
|
||||
[switch]$EnableEndTask,
|
||||
[switch]$EnableLastActiveClick,
|
||||
[switch]$ClearStart,
|
||||
[string]$ReplaceStart,
|
||||
[switch]$ClearStartAllUsers,
|
||||
@@ -1095,6 +1096,11 @@ function DisplayCustomModeOptions {
|
||||
AddParameter 'EnableEndTask' "Enable the 'End Task' option in the taskbar right click menu"
|
||||
}
|
||||
}
|
||||
|
||||
Write-Output ""
|
||||
if ($( Read-Host -Prompt " Enable the 'Last Active Click' behavior in the taskbar app area? (y/n)" ) -eq 'y') {
|
||||
AddParameter 'EnableLastActiveClick' "Enable the 'Last Active Click' behavior in the taskbar app area"
|
||||
}
|
||||
}
|
||||
|
||||
Write-Output ""
|
||||
@@ -1677,6 +1683,10 @@ switch ($script:Params.Keys) {
|
||||
RegImport "> Enabling the 'End Task' option in the taskbar right click menu..." "Enable_End_Task.reg"
|
||||
continue
|
||||
}
|
||||
'EnableLastActiveClick' {
|
||||
RegImport "> Enabling the 'Last Active Click' behavior in the taskbar app area..." "Enable_Last_Active_Click.reg"
|
||||
continue
|
||||
}
|
||||
'ExplorerToHome' {
|
||||
RegImport "> Changing the default location that File Explorer opens to `Home`..." "Launch_File_Explorer_To_Home.reg"
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user