diff options
Diffstat (limited to 'hosts/RyanMac/configuration.nix')
| -rw-r--r-- | hosts/RyanMac/configuration.nix | 7 |
1 files changed, 5 insertions, 2 deletions
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 | |||
| 27 | enabled = true; | 27 | enabled = true; |
| 28 | value = { | 28 | value = { |
| 29 | type = "standard"; | 29 | type = "standard"; |
| 30 | parameters = [ (48 + i) (builtins.elemAt [ 18 19 20 21 22 23 25 26 28 ] (i - 1)) 524288 ]; | 30 | #parameters = [ (48 + i) (builtins.elemAt [ 18 19 20 21 22 23 25 26 28 ] (i - 1)) 524288 ]; # opt + num |
| 31 | parameters = [ (48 + i) (builtins.elemAt [ 18 19 20 21 22 23 25 26 28 ] (i - 1)) 1048576 ]; # cmd + num | ||
| 31 | }; | 32 | }; |
| 32 | }; | 33 | }; |
| 33 | }; | 34 | }; |
| @@ -74,7 +75,7 @@ in { | |||
| 74 | left_padding = "10"; | 75 | left_padding = "10"; |
| 75 | right_padding = "10"; | 76 | right_padding = "10"; |
| 76 | window_gap = "5"; | 77 | window_gap = "5"; |
| 77 | mouse_modifier = "alt"; | 78 | mouse_modifier = "cmd"; |
| 78 | mouse_drop_action = "swap"; | 79 | mouse_drop_action = "swap"; |
| 79 | mouse_action1 = "move"; | 80 | mouse_action1 = "move"; |
| 80 | mouse_action2 = "resize"; | 81 | mouse_action2 = "resize"; |
| @@ -154,6 +155,8 @@ in { | |||
| 154 | cmd - d : osascript -e 'tell application "System Events" to key code 49 using {command down}' | 155 | cmd - d : osascript -e 'tell application "System Events" to key code 49 using {command down}' |
| 155 | cmd - return : osascript -e 'tell application "Ghostty"' -e 'new window' -e 'activate' -e 'end tell' | 156 | cmd - return : osascript -e 'tell application "Ghostty"' -e 'new window' -e 'activate' -e 'end tell' |
| 156 | 157 | ||
| 158 | shift + cmd - q : ${pkgs.yabai}/bin/yabai -m window --close | ||
| 159 | |||
| 157 | cmd - up : ${pkgs.yabai}/bin/yabai -m window --focus north || ${pkgs.yabai}/bin/yabai -m display --focus north | 160 | cmd - up : ${pkgs.yabai}/bin/yabai -m window --focus north || ${pkgs.yabai}/bin/yabai -m display --focus north |
| 158 | shift + cmd - up : ${pkgs.yabai}/bin/yabai -m window --swap north || ${pkgs.yabai}/bin/yabai -m window --display north | 161 | shift + cmd - up : ${pkgs.yabai}/bin/yabai -m window --swap north || ${pkgs.yabai}/bin/yabai -m window --display north |
| 159 | cmd - down : ${pkgs.yabai}/bin/yabai -m window --focus south || ${pkgs.yabai}/bin/yabai -m display --focus south | 162 | cmd - down : ${pkgs.yabai}/bin/yabai -m window --focus south || ${pkgs.yabai}/bin/yabai -m display --focus south |
