Compare

ce371efd802e63b08c16a43735f539df0d324c18 .. fd1da92fbc69dce6d2452fe0ee75d56c832b36ba · 1 commits

Changed files

FileChanges
hosts/RyanMac/configuration.nix +5 −2 raw

Commits

HashSubjectAuthorDate
fd1da92f skhd fixes Ryan Schanzenbacher
diff --git a/hosts/RyanMac/configuration.nix b/hosts/RyanMac/configuration.nix
index 2f125dd..406b9d7 100644
--- a/hosts/RyanMac/configuration.nix
+++ b/hosts/RyanMac/configuration.nix
@@ -27,7 +27,8 @@ let
enabled = true;
value = {
type = "standard";
- parameters = [ (48 + i) (builtins.elemAt [ 18 19 20 21 22 23 25 26 28 ] (i - 1)) 524288 ];
+ #parameters = [ (48 + i) (builtins.elemAt [ 18 19 20 21 22 23 25 26 28 ] (i - 1)) 524288 ]; # opt + num
+ parameters = [ (48 + i) (builtins.elemAt [ 18 19 20 21 22 23 25 26 28 ] (i - 1)) 1048576 ]; # cmd + num
};
};
};
@@ -74,7 +75,7 @@ in {
left_padding = "10";
right_padding = "10";
window_gap = "5";
- mouse_modifier = "alt";
+ mouse_modifier = "cmd";
mouse_drop_action = "swap";
mouse_action1 = "move";
mouse_action2 = "resize";
@@ -154,6 +155,8 @@ in {
cmd - d : osascript -e 'tell application "System Events" to key code 49 using {command down}'
cmd - return : osascript -e 'tell application "Ghostty"' -e 'new window' -e 'activate' -e 'end tell'
+ shift + cmd - q : ${pkgs.yabai}/bin/yabai -m window --close
+
cmd - up : ${pkgs.yabai}/bin/yabai -m window --focus north || ${pkgs.yabai}/bin/yabai -m display --focus north
shift + cmd - up : ${pkgs.yabai}/bin/yabai -m window --swap north || ${pkgs.yabai}/bin/yabai -m window --display north
cmd - down : ${pkgs.yabai}/bin/yabai -m window --focus south || ${pkgs.yabai}/bin/yabai -m display --focus south