macos: Set key repeat settings on install
This commit is contained in:
parent
ae38f04a2c
commit
03cf93f810
2 changed files with 10 additions and 0 deletions
6
macos/key-repeat
Executable file
6
macos/key-repeat
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -exuo pipefail
|
||||
|
||||
defaults write -g InitialKeyRepeat -float 13.333 # ~200 ms, GUI minimum is 15 = 225 ms
|
||||
defaults write -g KeyRepeat -int 1 # 15 ms/char, GUI minimum is 2 = 30 ms/ch
|
||||
Loading…
Reference in a new issue