Skip to content

Commit

Permalink
yabai: Adjusting shortcuts to go left/right.
Browse files Browse the repository at this point in the history
Found
koekeishiya/yabai#203 (comment)
which will cycle through the current windows instead of just stopping.
  • Loading branch information
sendhil committed May 2, 2021
1 parent cfb37d4 commit ca8e95c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions skhd/.config/skhd/skhdrc
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,9 @@ alt + shift - r : launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai"

# Stack Related
alt - s : yabai -m space --layout "$(yabai -m query --spaces --space | jq -r 'if .type == "bsp" then "stack" else "bsp" end')"
alt - h : yabai -m window --focus "$(yabai -m query --spaces --space | jq -r 'if .type == "bsp" then "west" else "stack.prev" end')"
alt - l : yabai -m window --focus "$(yabai -m query --spaces --space | jq -r 'if .type == "bsp" then "east" else "stack.next" end')"

alt - h : yabai -m window --focus stack.prev || yabai -m window --focus prev || yabai -m window --focus last
alt - l : yabai -m window --focus stack.next || yabai -m window --focus next || yabai -m window --focus first

# Toggle Split

Expand Down

0 comments on commit ca8e95c

Please sign in to comment.