Skip to content

Commit

Permalink
chore: skhd
Browse files Browse the repository at this point in the history
  • Loading branch information
heypoom committed Aug 14, 2023
1 parent d9ad8f7 commit 73b06b7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions config/dot_skhdrc
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ alt - l: yabai -m window --focus east
alt + shift - f: yabai -m window --toggle float
alt + shift - t: yabai -m window --toggle topmost

# Open kitty terminal.

# Resize window: alt + shift + [arrow]
alt + shift - left: yabai -m window --resize right:-100:0 || yabai -m window --resize left:-100:0

Expand All @@ -85,6 +83,17 @@ ctrl + alt - right: yabai -m window --warp east
ctrl + alt - up: yabai -m window --warp north
ctrl + alt - down: yabai -m window --warp south

# Focus window up/down in stack
ctrl - n: yabai -m window --focus stack.next
ctrl - p: yabai -m window --focus stack.prev

# Add the active window to the window or stack to the {direction}
# Note that this only works when the active window does *not* already belong to a stack
cmd + ctrl - left: yabai -m window west --stack $(yabai -m query --windows --window | jq -r '.id')
cmd + ctrl - down: yabai -m window south --stack $(yabai -m query --windows --window | jq -r '.id')
cmd + ctrl - up: yabai -m window north --stack $(yabai -m query --windows --window | jq -r '.id')
cmd + ctrl - right: yabai -m window east --stack $(yabai -m query --windows --window | jq -r '.id')

# Cycle focus the window
# alt - x: yabai -m window --focus next || yabai -m window --focus first

Expand Down

0 comments on commit 73b06b7

Please sign in to comment.