Clear dock, keyboard stuff.

This commit is contained in:
Ivan Malison 2015-01-21 18:42:18 -08:00
parent ac996d6ad8
commit 7a9175137d
3 changed files with 13 additions and 1 deletions

View File

@ -169,3 +169,8 @@ function socks_proxy {
echo "$@"
ssh -CND 9999 "$@"
}
function clear_dock {
defaults write com.apple.dock persistent-apps -array
}

View File

@ -16,8 +16,10 @@ def setup(ctx):
rvm(ctx)
fonts(ctx)
fix_htop(ctx)
iTerm(ctx)
# setup_dbus(ctx)
keyboard_settings()
keyboard_settings(ctx)
clear_dock(ctx)
@ctask
@ -167,3 +169,8 @@ def launch_agents(ctx, flags=''):
@ctask
def keyboard_settings(ctx):
ctx.run("zsh -c 'refresh_config && set_modifier_keys_on_all_keyboards'")
@ctask
def configure_dock(ctx):
ctx.run("zsh -c 'refresh_config && clear_dock'")