Puppet Class: osx::global::key_repeat_rate
- Defined in:
- manifests/global/key_repeat_rate.pp
Overview
Public: Sets the repeat rate for held keys.
rate - the delay between key ‘presses’. Defaults to 0.
Examples
# set the repeat rate to 0 (the default)...
include osx::global::key_repeat_rate
# ...or pick your own repeat rate!
class { 'osx::global::key_repeat_rate':
rate => 2
}
14 15 16 17 18 19 20 21 22 |
# File 'manifests/global/key_repeat_rate.pp', line 14
class osx::global::key_repeat_rate($rate = 0) {
boxen::osx_defaults { 'key repeat rate':
domain => 'NSGlobalDomain',
type => 'int',
key => 'KeyRepeat',
value => $rate,
user => $::boxen_user;
}
}
|