Skip to content

smh/puppet-karabiner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Karabiner Puppet Module for Boxen

Build Status

Installs Karabiner on your Mac.

Note: This module was previously known as puppet-keyremap4macbook. This is a continuation of that module to accomodate the name change as of 10.0.0.

Usage

include karabiner

# launch and add login-item
include karabiner::login_item

# enable remapping left control to left control + escape
karabiner::remap{ 'controlL2controlL_escape': }

# set the parameter.keyoverlaidmodifier_timeout to 300
karabiner::set{ 'parameter.keyoverlaidmodifier_timeout':
  value => '300'
}

# set the contents of the private.xml file.
karabiner::private_xml{ 'private.xml':
  content => '<some>xml</some>'
}

# create & select the profile 'foo' (default profile is 'Default')
karabiner::profile{ 'foo': }

# set the parameter.keyoverlaidmodifier_timeout to 300 in profile 'foo'
karabiner::set{ 'parameter.keyoverlaidmodifier_timeout':
  value   => '300',
  profile => 'foo'
}

Required Puppet Modules

  • boxen
  • osx

Development

Write code. Run script/cibuild to test it. Check the script directory for other useful tools.

About

A Boxen puppet module for the Karabiner application

Resources

Stars

Watchers

Forks

Packages

No packages published