From adf1c91401b1246f49490635e854f70ec2371099 Mon Sep 17 00:00:00 2001 From: winston Date: Thu, 5 Oct 2023 09:05:21 +0200 Subject: [PATCH] revert: 97116c7 'fix(yabai): hotfix for focus workspace on macOS >14' --- machines/common/darwin/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/machines/common/darwin/default.nix b/machines/common/darwin/default.nix index 6d2fbf8..93634d7 100644 --- a/machines/common/darwin/default.nix +++ b/machines/common/darwin/default.nix @@ -1,8 +1,4 @@ -{ - config, - lib, - ... -}: { +{lib, ...}: { # manipulate the global /etc/zshenv for PATH, etc. programs.zsh.enable = true; @@ -102,7 +98,7 @@ ctrl - left : yabai -m space --focus prev ctrl - right : yabai -m space --focus next # switch to space - ${mapKeymaps "cmd + ctrl - Num : ${config.services.skhd.package}/bin/skhd -k 'ctrl + shift + alt + cmd - Num'"} + ${mapKeymaps "cmd + ctrl - Num : yabai -m space --focus Num"} # send window to desktop and follow focus ${mapKeymaps "cmd + shift - Num : yabai -m window --space Num; yabai -m space --focus Num"} '';