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
|
|
@ -3,6 +3,10 @@
|
||||||
stdout: true
|
stdout: true
|
||||||
stderr: true
|
stderr: true
|
||||||
quiet: false
|
quiet: false
|
||||||
|
- command: macos/key-repeat
|
||||||
|
stdout: true
|
||||||
|
stderr: true
|
||||||
|
quiet: false
|
||||||
|
|
||||||
- link:
|
- link:
|
||||||
./git/config-os: git/config-darwin
|
./git/config-os: git/config-darwin
|
||||||
|
|
|
||||||
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