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",
|
||||
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")
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user