removed cmd+enter karabiner shortcut

This commit is contained in:
alina 🌸 2024-05-16 18:43:25 +03:00
parent ae1a4cf34d
commit bd55ae1f9f
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI
3 changed files with 0 additions and 34 deletions

View file

@ -67,27 +67,6 @@
"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"
}
]
}
]
},

View file

@ -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"

View file

@ -41,7 +41,6 @@
];
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;
};
}