[skhd] changed resize stuff

This commit is contained in:
Afonso Franco 2024-03-17 12:33:44 +00:00
parent e296716fa2
commit a4dce8ae59
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys

View file

@ -8,10 +8,8 @@ cmd - return : yabai -m window --swap west
cmd - u : yabai --load-sa && yabai --restart # Assuming you have scripting additions installed cmd - u : yabai --load-sa && yabai --restart # Assuming you have scripting additions installed
# Window Management # Window Management
cmd - h : yabai -m window --resize left:20:0 cmd - h : yabai -m window --resize right:-20:0
cmd - l : yabai -m window --resize right:20:0 cmd - l : yabai -m window --resize left:20:0
cmd - j : yabai -m window --focus prev || yabai -m window --focus last
cmd - k : yabai -m window --focus next || yabai -m window --focus first
# Focus workspaces 1 through 6 # Focus workspaces 1 through 6
cmd - 1 : index=$(yabai -m query --spaces --space | jq .display); yabai -m space 1 --display ${index}; yabai -m space --focus 1 cmd - 1 : index=$(yabai -m query --spaces --space | jq .display); yabai -m space 1 --display ${index}; yabai -m space --focus 1