fix(yabai): hotfix for focus workspace on macOS >14

This commit is contained in:
winston 2023-09-23 00:16:10 +02:00
parent 75d51d6498
commit 97116c78ea
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -1,4 +1,8 @@
{lib, ...}: {
{
config,
lib,
...
}: {
# manipulate the global /etc/zshenv for PATH, etc.
programs.zsh.enable = true;
@ -98,7 +102,7 @@
ctrl - left : yabai -m space --focus prev
ctrl - right : yabai -m space --focus next
# switch to space
${mapKeymaps "cmd + ctrl - Num : yabai -m space --focus Num"}
${mapKeymaps "cmd + ctrl - Num : ${config.services.skhd.package}/bin/skhd -k 'ctrl + shift + alt + cmd - Num'"}
# send window to desktop and follow focus
${mapKeymaps "cmd + shift - Num : yabai -m window --space Num; yabai -m space --focus Num"}
'';