removed cmd+enter karabiner shortcut
This commit is contained in:
parent
ae1a4cf34d
commit
bd55ae1f9f
3 changed files with 0 additions and 34 deletions
|
@ -67,27 +67,6 @@
|
||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "New Alacritty Window",
|
|
||||||
"manipulators": [
|
|
||||||
{
|
|
||||||
"from": {
|
|
||||||
"key_code": "return_or_enter",
|
|
||||||
"modifiers": {
|
|
||||||
"mandatory": [
|
|
||||||
"command"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"to": [
|
|
||||||
{
|
|
||||||
"shell_command": "osascript /Users/teidesu/.config/new-alacritty-window.scpt"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "basic"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
on count_windows_on_current_space(process_name)
|
|
||||||
tell application "System Events"
|
|
||||||
tell process process_name
|
|
||||||
return count of windows
|
|
||||||
end tell
|
|
||||||
end tell
|
|
||||||
end count_windows_on_current_space
|
|
||||||
|
|
||||||
if application "Alacritty" is running and count_windows_on_current_space("Alacritty") = 0 then
|
|
||||||
do shell script "/Applications/Alacritty.app/Contents/MacOS/alacritty msg create-window"
|
|
||||||
end if
|
|
||||||
activate application "Alacritty"
|
|
|
@ -41,7 +41,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file.".config/alacritty/alacritty.toml".source = ./assets/alacritty.toml;
|
home.file.".config/alacritty/alacritty.toml".source = ./assets/alacritty.toml;
|
||||||
home.file.".config/new-alacritty-window.scpt".source = ./assets/new-alacritty-window.scpt; # todo: reference this directly from store
|
|
||||||
home.file.".config/karabiner/karabiner.json".source = ./assets/karabiner.json;
|
home.file.".config/karabiner/karabiner.json".source = ./assets/karabiner.json;
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue