Skip to content
Permalink
Browse files

add jq and add hotkey for moving window to a new screen

  • Loading branch information
BosEriko committed Feb 10, 2020
1 parent 9a902ea commit 59ea7c3f3b76d766485c290f0c775c8af8b44043
Showing with 5 additions and 4 deletions.
  1. +1 −0 install/modules/brew.sh
  2. +4 −4 skhdrc
@@ -12,6 +12,7 @@ brew install fzf
brew install git-flow
brew install htop
brew install hub
brew install jq
brew install koekeishiya/formulae/skhd
brew install koekeishiya/formulae/yabai
brew install links
8 skhdrc
@@ -100,10 +100,10 @@ shift + alt - 0 : yabai -m space --balance
# shift + alt - right : yabai -m window --grid 1:2:1:0:1:1

# create desktop, move window and follow focus - uses jq for parsing json (brew install jq)
# shift + cmd - n : yabai -m space --create && \
# index="$(yabai -m query --spaces --display | jq 'map(select(."native-fullscreen" == 0))[-1].index')" && \
# yabai -m window --space "${index}" && \
# yabai -m space --focus "${index}"
shift + cmd - n : yabai -m space --create && \
index="$(yabai -m query --spaces --display | jq 'map(select(."native-fullscreen" == 0))[-1].index')" && \
yabai -m window --space "${index}" && \
yabai -m space --focus "${index}"

# create desktop and follow focus - uses jq for parsing json (brew install jq)
# cmd + alt - n : yabai -m space --create && \

0 comments on commit 59ea7c3

Please sign in to comment.
You can’t perform that action at this time.