From 4353b692fc79d8142591d7bc4d2af070827211a6 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 21 Jan 2015 16:58:29 -0800 Subject: [PATCH] invoke task for keyboard remapping of capslock... --- tasks/osx.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tasks/osx.py b/tasks/osx.py index 6cae420f..d67611b5 100644 --- a/tasks/osx.py +++ b/tasks/osx.py @@ -16,7 +16,8 @@ def setup(ctx): rvm(ctx) fonts(ctx) fix_htop(ctx) - setup_dbus(ctx) + # setup_dbus(ctx) + keyboard_settings() @ctask @@ -161,3 +162,9 @@ def iTerm(ctx): def launch_agents(ctx, flags=''): ctx.run('dotfiles -sn{1} -R {0}/resources/LaunchAgents/ ' '-H ~/Library/LaunchAgents'.format(util.REPO_DIRECTORY, flags)) + + + +@ctask +def keyboard_settings(ctx): + ctx.run("zsh -c 'refresh_config &&set_modifier_keys_for_vendor_product_id'")