forked from colonelpanic/dotfiles
Clear dock, keyboard stuff.
This commit is contained in:
parent
ac996d6ad8
commit
7a9175137d
@ -169,3 +169,8 @@ function socks_proxy {
|
|||||||
echo "$@"
|
echo "$@"
|
||||||
ssh -CND 9999 "$@"
|
ssh -CND 9999 "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function clear_dock {
|
||||||
|
defaults write com.apple.dock persistent-apps -array
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -16,8 +16,10 @@ def setup(ctx):
|
|||||||
rvm(ctx)
|
rvm(ctx)
|
||||||
fonts(ctx)
|
fonts(ctx)
|
||||||
fix_htop(ctx)
|
fix_htop(ctx)
|
||||||
|
iTerm(ctx)
|
||||||
# setup_dbus(ctx)
|
# setup_dbus(ctx)
|
||||||
keyboard_settings()
|
keyboard_settings(ctx)
|
||||||
|
clear_dock(ctx)
|
||||||
|
|
||||||
|
|
||||||
@ctask
|
@ctask
|
||||||
@ -167,3 +169,8 @@ def launch_agents(ctx, flags=''):
|
|||||||
@ctask
|
@ctask
|
||||||
def keyboard_settings(ctx):
|
def keyboard_settings(ctx):
|
||||||
ctx.run("zsh -c 'refresh_config && set_modifier_keys_on_all_keyboards'")
|
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'")
|
||||||
|
Loading…
Reference in New Issue
Block a user