Working with yabai #25
-
|
I would feel like with karabiner's ability to send shell commands via key press combinations, we should be able to send yabai commands... However, adding sublayers such as: where export function yabai(command: string): LayerCommand {
return {
to: [
{
shell_command: `yabai -m ${command}`,
},
],
description: `Yabai: ${command}`,
};
}Doesn't really seem to work 🤔 Any idea how to go about making this happen? |
Beta Was this translation helpful? Give feedback.
Answered by
noidwasavailable
Apr 27, 2024
Replies: 1 comment
-
|
I have no idea why this doesn't work, but I've fixed it by updating export function yabai(command: string): LayerCommand {
return {
to: [
{
shell_command: `/opt/homebrew/bin/yabai -m ${command}`,
},
],
description: `Yabai: ${command}`,
};
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
noidwasavailable
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have no idea why this doesn't work, but I've fixed it by updating
yabaifunction to this: