Skip to content

Commit

Permalink
Increase MouseHoverTime a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
LeDragoX committed Mar 27, 2024
1 parent 20eb829 commit c3888be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/Optimize-Performance.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ function Optimize-Performance() {
Write-Status -Types "*", $TweakType -Status "Don't clear page file at shutdown (takes more time) to ALL users..."
Set-ItemPropertyVerified -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" -Name "ClearPageFileAtShutdown" -Type DWord -Value 0 # Default: 0

Write-Status -Types "+", $TweakType -Status "Reducing mouse hover time events to 100ms..."
Set-ItemPropertyVerified -Path "HKCU:\Control Panel\Mouse" -Name "MouseHoverTime" -Type String -Value "100" # Default: "400" (ms)
Write-Status -Types "+", $TweakType -Status "Reducing mouse hover time events to 250ms..."
Set-ItemPropertyVerified -Path "HKCU:\Control Panel\Mouse" -Name "MouseHoverTime" -Type String -Value "250" # Default: "400" (ms)

# Details: https://windowsreport.com/how-to-speed-up-windows-11-animations/ and https://www.tenforums.com/tutorials/97842-change-hungapptimeout-value-windows-10-a.html
ForEach ($DesktopRegistryPath in @($PathToUsersControlPanelDesktop, $PathToCUControlPanelDesktop)) {
Expand Down

0 comments on commit c3888be

Please sign in to comment.