Skip to content

Commit

Permalink
Move window to another display
Browse files Browse the repository at this point in the history
  • Loading branch information
anildigital committed Apr 18, 2021
1 parent c60fb4f commit ede2df5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .config/skhd/skhdrc
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,8 @@ ctrl + alt - d : yabai -m space --layout float
# toggle window split type
shift + cmd - r : yabai -m window --toggle split

shift + cmd - space : yabai -m window --display prev; yabai -m display --focus prev || yabai -m window --display next; yabai -m display --focus next
# Move window to another display
shift + cmd - space : cur_window=$(yabai -m query --windows --window | jq '.id') && \
yabai -m window --display prev || yabai -m window --display next && \
yabai -m window --focus ${cur_window}

0 comments on commit ede2df5

Please sign in to comment.