Browse Source

retab

pull/17/head
Alex Hirsch 9 years ago
parent
commit
0d20c081db
  1. 14
      scripts/disable-searchui.ps1
  2. 20
      scripts/optimize-input.ps1

14
scripts/disable-searchui.ps1

@ -6,11 +6,11 @@ taskkill.exe /F /IM "SearchUI.exe"
# try to rename folder while SearchUI is restarting
foreach ($_ in (0..15)) {
if (Test-Path "$env:windir\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy") {
mv "$env:windir\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy" `
"$env:windir\SystemApps\_Microsoft.Windows.Cortana_cw5n1h2txyewy" `
-ErrorAction SilentlyContinue
} else {
break
}
if (Test-Path "$env:windir\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy") {
mv "$env:windir\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy" `
"$env:windir\SystemApps\_Microsoft.Windows.Cortana_cw5n1h2txyewy" `
-ErrorAction SilentlyContinue
} else {
break
}
}

20
scripts/optimize-input.ps1

@ -9,17 +9,17 @@ Import-Registry(@"
[HKEY_CURRENT_USER\Control Panel\Mouse]
"MouseSensitivity"="10"
"SmoothMouseXCurve"=hex:\
00,00,00,00,00,00,00,00,\
C0,CC,0C,00,00,00,00,00,\
80,99,19,00,00,00,00,00,\
40,66,26,00,00,00,00,00,\
00,33,33,00,00,00,00,00
00,00,00,00,00,00,00,00,\
C0,CC,0C,00,00,00,00,00,\
80,99,19,00,00,00,00,00,\
40,66,26,00,00,00,00,00,\
00,33,33,00,00,00,00,00
"SmoothMouseYCurve"=hex:\
00,00,00,00,00,00,00,00,\
00,00,38,00,00,00,00,00,\
00,00,70,00,00,00,00,00,\
00,00,A8,00,00,00,00,00,\
00,00,E0,00,00,00,00,00
00,00,00,00,00,00,00,00,\
00,00,38,00,00,00,00,00,\
00,00,70,00,00,00,00,00,\
00,00,A8,00,00,00,00,00,\
00,00,E0,00,00,00,00,00
[HKEY_USERS\.DEFAULT\Control Panel\Mouse]
"MouseSpeed"="0"

Loading…
Cancel
Save