This commit is contained in:
2025-11-16 23:52:15 +08:00
parent b3f72c85ba
commit 646b68b960
6 changed files with 56 additions and 127 deletions
+5 -4
View File
@@ -6,10 +6,12 @@
pkgs,
...
}: {
services.skhd = {
services.skhd = lib.mkIf pkgs.stdenv.isDarwin {
enable = true;
package = pkgs.skhd;
skhdConfig = ''
};
home.file.".skhdrc".text = lib.mkIf pkgs.stdenv.isDarwin ''
## Navigation (lalt - ...)
# Space Navigation (four spaces per display): lalt - {1, 2, 3, 4}
lalt - 1 : yabai -m space --focus 1
@@ -104,7 +106,6 @@
# Open new Alacritty window
cmd - return : kitty
cmd - o : yabai -m window $(yabai -m query --windows | jq '.[] | select(.app==".kitty-wrapped") | .id') --space $(yabai -m query --spaces | jq '.[] | select(.has-focus==1) .id')
'';
};
'';
}