Skip to content

Commit

Permalink
Darwin: Stack window management
Browse files Browse the repository at this point in the history
  • Loading branch information
shajra committed Jan 26, 2024
1 parent f8539a6 commit 8d840ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion home/modules/base/gui/darwin/xdg/configFile/skhd/skhdrc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ let
'';
gaps-toggle = "${gaps-toggle-script}/bin/gaps-toggle";


in ''
# Strategy for keybindings:
#
Expand Down Expand Up @@ -226,6 +225,10 @@ lalt + shift + cmd - 9 : "${space-move}" 9
lalt + ctrl - 0x2B : yabai -m window --focus stack.prev
lalt + ctrl - 0x2F : yabai -m window --focus stack.next
# move window within stack
lalt + shift + ctrl - 0x2B : yabai -m window --swap stack.prev && yabai -m window --focus stack.prev
lalt + shift + ctrl - 0x2F : yabai -m window --swap stack.next && yabai -m window --focus stack.next
# create spaces
lalt + cmd - 0x2C : "${space-create}" last
lalt + cmd - 0x2B : "${space-create}" prev
Expand Down

0 comments on commit 8d840ce

Please sign in to comment.