diff --git a/dotfiles/emacs.d b/dotfiles/emacs.d index 5466bf09..e6e801fb 160000 --- a/dotfiles/emacs.d +++ b/dotfiles/emacs.d @@ -1 +1 @@ -Subproject commit 5466bf097ec4cf9f4029a70fb7365b5495e8160b +Subproject commit e6e801fba96f0c355418542e1fbdc0de41135d96 diff --git a/dotfiles/slate.js b/dotfiles/slate.js index d8cc2e83..32f54a34 100644 --- a/dotfiles/slate.js +++ b/dotfiles/slate.js @@ -44,14 +44,25 @@ hyperBindAll({ width: "screenSizeX", height: "screenSizeY" }), - q: quarterCorner("top-left"), - w: quarterCorner("top-right"), - a: quarterCorner("bottom-left"), - s: quarterCorner("bottom-right"), + q: slate.op("corner", { + direction: "top-left", + width: "screenSizeX/2", + height: "screenSizeY" + }), + w: slate.op("corner", { + direction: "top-right", + width: "screenSizeX/2", + height: "screenSizeY" + }), + a: quarterCorner("top-left"), + s: quarterCorner("top-right"), + z: quarterCorner("bottom-left"), + x: quarterCorner("bottom-right"), // App focus e: focusApp("Emacs"), c: focusApp("Google Chrome"), t: focusApp("iTerm"), + m: focusApp("Spotify"), // Slate operations r: slate.op("relaunch"), u: slate.op("undo") diff --git a/tasks/osx.py b/tasks/osx.py index b760729b..6e534849 100644 --- a/tasks/osx.py +++ b/tasks/osx.py @@ -91,7 +91,10 @@ def enable_access_for_assistive_devices(ctx): user_application = os.path.expanduser('~' + app_string) enable_access_if_exists(ctx, user_application) enable_access_if_exists(ctx, app_string) - enable_access_if_exists("/Applications/Karabiner.app/Contents/Applications/Karabiner_AXNotifier.app") + enable_access_if_exists( + ctx, + "/Applications/Karabiner.app/Contents/Applications/Karabiner_AXNotifier.app" + ) def enable_access_if_exists(ctx, app_string):