Add slate command for spotify, half screen commands. Emacs.d bump.
This commit is contained in:
parent
875117a64b
commit
d2f75a1d47
@ -1 +1 @@
|
|||||||
Subproject commit 5466bf097ec4cf9f4029a70fb7365b5495e8160b
|
Subproject commit e6e801fba96f0c355418542e1fbdc0de41135d96
|
@ -44,14 +44,25 @@ hyperBindAll({
|
|||||||
width: "screenSizeX",
|
width: "screenSizeX",
|
||||||
height: "screenSizeY"
|
height: "screenSizeY"
|
||||||
}),
|
}),
|
||||||
q: quarterCorner("top-left"),
|
q: slate.op("corner", {
|
||||||
w: quarterCorner("top-right"),
|
direction: "top-left",
|
||||||
a: quarterCorner("bottom-left"),
|
width: "screenSizeX/2",
|
||||||
s: quarterCorner("bottom-right"),
|
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
|
// App focus
|
||||||
e: focusApp("Emacs"),
|
e: focusApp("Emacs"),
|
||||||
c: focusApp("Google Chrome"),
|
c: focusApp("Google Chrome"),
|
||||||
t: focusApp("iTerm"),
|
t: focusApp("iTerm"),
|
||||||
|
m: focusApp("Spotify"),
|
||||||
// Slate operations
|
// Slate operations
|
||||||
r: slate.op("relaunch"),
|
r: slate.op("relaunch"),
|
||||||
u: slate.op("undo")
|
u: slate.op("undo")
|
||||||
|
@ -91,7 +91,10 @@ def enable_access_for_assistive_devices(ctx):
|
|||||||
user_application = os.path.expanduser('~' + app_string)
|
user_application = os.path.expanduser('~' + app_string)
|
||||||
enable_access_if_exists(ctx, user_application)
|
enable_access_if_exists(ctx, user_application)
|
||||||
enable_access_if_exists(ctx, app_string)
|
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):
|
def enable_access_if_exists(ctx, app_string):
|
||||||
|
Loading…
Reference in New Issue
Block a user