Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
/ puppet-karabiner Public archive
forked from smh/puppet-karabiner

A Boxen puppet module for the Karabiner application

Notifications You must be signed in to change notification settings

boxen/puppet-karabiner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 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

Languages

  • Ruby 56.6%
  • Puppet 41.2%
  • Shell 2.2%