[yabai] removed
This commit is contained in:
parent
b91cb33519
commit
16ab1f6b3e
2 changed files with 37 additions and 56 deletions
65
.skhdrc
65
.skhdrc
|
@ -1,29 +1,38 @@
|
|||
# balance space
|
||||
cmd - 0x2A : yabai -m space --balance
|
||||
# YABAI
|
||||
# # balance space
|
||||
# cmd - 0x2A : yabai -m space --balance
|
||||
#
|
||||
# # resize horizontally - cmd + ,.
|
||||
# cmd - 0x2B : yabai -m window --resize left:-20:0 || yabai -m window --resize right:-20:0
|
||||
# cmd - 0x2F : yabai -m window --resize left:20:0 || yabai -m window --resize right:20:0
|
||||
#
|
||||
# # resize vertically
|
||||
# cmd - 0x29 : yabai -m window --resize top:0:-20 || yabai -m window --resize bottom:0:-20
|
||||
# cmd - 0x27 : yabai -m window --resize top:0:20 || yabai -m window --resize bottom:0:20
|
||||
#
|
||||
# # focus windows
|
||||
# cmd - 0x21 : yabai -m window --focus prev || yabai -m window --focus first
|
||||
# cmd - 0x1E : yabai -m window --focus next || yabai -m window --focus last
|
||||
#
|
||||
# # swap recent
|
||||
# cmd - 0x2C : yabai -m window --swap prev || yabai -m window --swap first
|
||||
#
|
||||
# # focus spaces
|
||||
# cmd - 0 : yabai -m space --focus first
|
||||
# cmd - 1 : yabai -m space --focus last
|
||||
# cmd - 2 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 1))
|
||||
# cmd - 3 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 2))
|
||||
# cmd - 4 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 3))
|
||||
# cmd - 5 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 4))
|
||||
# cmd - 6 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 5))
|
||||
# cmd - 7 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 6))
|
||||
# cmd - 8 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 7))
|
||||
# cmd - 9 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 8))
|
||||
|
||||
# resize horizontally - cmd + ,.
|
||||
cmd - 0x2B : yabai -m window --resize left:-20:0 || yabai -m window --resize right:-20:0
|
||||
cmd - 0x2F : yabai -m window --resize left:20:0 || yabai -m window --resize right:20:0
|
||||
|
||||
# resize vertically
|
||||
cmd - 0x29 : yabai -m window --resize top:0:-20 || yabai -m window --resize bottom:0:-20
|
||||
cmd - 0x27 : yabai -m window --resize top:0:20 || yabai -m window --resize bottom:0:20
|
||||
|
||||
# focus windows
|
||||
cmd - 0x21 : yabai -m window --focus prev || yabai -m window --focus first
|
||||
cmd - 0x1E : yabai -m window --focus next || yabai -m window --focus last
|
||||
|
||||
# swap recent
|
||||
cmd - 0x2C : yabai -m window --swap prev || yabai -m window --swap first
|
||||
|
||||
# focus spaces
|
||||
cmd - 0 : yabai -m space --focus first
|
||||
cmd - 1 : yabai -m space --focus last
|
||||
cmd - 2 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 1))
|
||||
cmd - 3 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 2))
|
||||
cmd - 4 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 3))
|
||||
cmd - 5 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 4))
|
||||
cmd - 6 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 5))
|
||||
cmd - 7 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 6))
|
||||
cmd - 8 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 7))
|
||||
cmd - 9 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 8))
|
||||
cmd - 1 : osascript -e 'tell application "Safari" to activate' || open -na "Safari"
|
||||
cmd - 2 : osascript -e 'tell application "iTerm2" to activate' || open -na "iTerm"
|
||||
cmd - 3 : osascript -e 'tell application "Mail" to activate' || open -na "Mail"
|
||||
cmd - 4 : osascript -e 'tell application "Discord" to activate' || open -na "Discord"
|
||||
cmd - 5 : osascript -e 'tell application "Messenger" to activate' || open -na "Messenger"
|
||||
cmd - 9 : osascript -e 'tell application "Music" to activate' || open -na "Music"
|
||||
cmd - 0 : osascript -e 'tell application "REAPER to activate' || open -na "REAPER"
|
||||
|
|
28
.yabairc
28
.yabairc
|
@ -1,28 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
|
||||
|
||||
yabai -m config external_bar all:0:0 \
|
||||
layout bsp \
|
||||
window_placement second_child \
|
||||
top_padding 5 \
|
||||
bottom_padding 5 \
|
||||
left_padding 5 \
|
||||
right_padding 5 \
|
||||
window_gap 5 \
|
||||
mouse_modifier fn \
|
||||
mouse_action1 move \
|
||||
mouse_action2 resize \
|
||||
window_opacity on \
|
||||
active_window_opacity 1.0 \
|
||||
normal_window_opacity 0.9
|
||||
|
||||
yabai -m rule --add app="^Simulator$" manage=off
|
||||
yabai -m rule --add app="^System Settings$" manage=off
|
||||
yabai -m rule --add app="^Finder$" manage=off
|
||||
yabai -m rule --add app="^Calendar$" manage=off
|
||||
yabai -m rule --add app="^Notes$" manage=off
|
||||
yabai -m rule --add app="^Messages$" manage=off
|
||||
yabai -m config --space 1 layout float
|
||||
|
||||
echo "yabai configuration loaded.."
|
Loading…
Reference in a new issue