Puppet Class: osx::mouse::silent_trackpad
- Defined in:
- manifests/mouse/silent_trackpad.pp
Overview
Public: Controls silent clicking
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'manifests/mouse/silent_trackpad.pp', line 2
class osx::mouse::silent_trackpad(
$enabled = true
) {
$value = $enabled ? {
false => 1,
true => 0
}
boxen::osx_defaults { 'Toggle silent clicking':
user => $::boxen_user,
domain => 'com.apple.AppleMultitouchTrackpad',
key => 'ActuationStrength',
value => $value,
type => 'integer'
}
}
|