rux616 / karabiner-windows-mode

Karabiner-Elements complex ruleset to make using macOS friendlier by enabling common keyboard functionality used in Linux and Windows.
The Unlicense
331 stars 65 forks source link

Add exception for WezTerm and Chrome Remote Desktop #62

Closed kingamajick closed 2 years ago

kingamajick commented 2 years ago

This adds support for WezTerm and Chrome Remote Desktop. Due to the fact that CRD is a Chrome App, it has a unique bundle id created, and as such has to be identified by the file path.

Note: This will only work if CRD is used as a Chrome App, not within side the Chrome Browser directly.

kingamajick commented 2 years ago

Hey, I'm not sure what the failure is for the formatting, checking locally, it all looks good, is there a way to get more detailed logs?

rux616 commented 2 years ago

Hey, I'm not sure what the failure is for the formatting, checking locally, it all looks good, is there a way to get more detailed logs?

Hmm, that's weird. Let me check some things out on my end.

kingamajick commented 2 years ago

Sorry for slacking on the pull request, let me know if anything else needs to be added to get this merged?

rux616 commented 2 years ago

No worries, I've been busy myself! I'll double check this tomorrow and let you know.

github-actions[bot] commented 2 years ago

Summary of JSON file changes this PR will cause:

 json/windows_shortcuts.json | 402 ++++++++++++++++++++++++++++++++++++++------
 1 file changed, 353 insertions(+), 49 deletions(-)

Detailed diffs:

json/windows_shortcuts.json ```diff diff --git a/json/windows_shortcuts.json b/json/windows_shortcuts.json index e9629cc..e1ca2fd 100644 --- a/json/windows_shortcuts.json +++ b/json/windows_shortcuts.json @@ -20,6 +20,11 @@ "^com\\.citrix\\.XenAppViewer$", "^com\\.microsoft\\.rdc\\.macos$" ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] + ], "type": "frontmost_application_unless" } ], @@ -68,7 +73,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -116,6 +127,11 @@ "^com\\.citrix\\.XenAppViewer$", "^com\\.microsoft\\.rdc\\.macos$" ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] + ], "type": "frontmost_application_unless" } ], @@ -164,7 +180,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -214,7 +236,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -261,7 +289,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -311,7 +345,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -362,7 +402,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -414,7 +460,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -461,7 +513,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -511,7 +569,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -562,7 +626,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -614,7 +684,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -664,7 +740,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -716,7 +798,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -766,7 +854,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -818,7 +912,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -868,7 +968,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -918,7 +1024,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -968,7 +1080,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1036,7 +1154,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1086,7 +1210,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1136,7 +1266,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1174,7 +1310,8 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" ], "type": "frontmost_application_if" } @@ -1225,7 +1362,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1275,7 +1418,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1431,7 +1580,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1481,7 +1636,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1531,7 +1692,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1581,7 +1748,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1631,7 +1804,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1681,7 +1860,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1731,7 +1916,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1781,7 +1972,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1819,7 +2016,8 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" ], "type": "frontmost_application_if" } @@ -1870,7 +2068,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1920,7 +2124,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -1970,7 +2180,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2020,7 +2236,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2070,7 +2292,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2117,7 +2345,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2164,7 +2398,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2211,7 +2451,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2258,7 +2504,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2305,7 +2557,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2352,7 +2610,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2399,7 +2663,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2446,7 +2716,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2491,6 +2767,11 @@ "^com\\.citrix\\.XenAppViewer$", "^com\\.microsoft\\.rdc\\.macos$" ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] + ], "type": "frontmost_application_unless" } ], @@ -2539,7 +2820,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2589,7 +2876,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2637,7 +2930,13 @@ "^io\\.alacritty$", "^co\\.zeit\\.hyper$", "^com\\.googlecode\\.iterm2$", - "^com\\.apple\\.Terminal$" + "^com\\.apple\\.Terminal$", + "^com\\.github\\.wez\\.wezterm$" + ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] ], "type": "frontmost_application_unless" } @@ -2682,6 +2981,11 @@ "^com\\.citrix\\.XenAppViewer$", "^com\\.microsoft\\.rdc\\.macos$" ], + "file_paths": [ + [ + "Chrome Remote Desktop\\.app" + ] + ], "type": "frontmost_application_unless" } ], ```
rux616 commented 2 years ago

Thanks for your contribution, @kingamajick!