Puppet Class: osx::global::key_repeat_delay

Defined in:
manifests/global/key_repeat_delay.pp

Overview

Public: Sets the delay before held keys repeat.

delay - ms before key starts repeating. Defaults to 35.

Examples

# set the repeat delay to 35 (the default)...
include osx::global::key_repeat_delay

# ...or pick your own delay!
class { 'osx::global::key_repeat_delay':
  delay => 10
}

Parameters:

  • delay (Any) (defaults to: 35)


14
15
16
17
18
19
20
21
22
# File 'manifests/global/key_repeat_delay.pp', line 14

class osx::global::key_repeat_delay($delay = 35) {
  boxen::osx_defaults { 'key repeat delay':
    domain => 'NSGlobalDomain',
    type   => 'int',
    key    => 'InitialKeyRepeat',
    value  => $delay,
    user   => $::boxen_user
  }
}