even more mac changes

This commit is contained in:
Kyle Brown 2021-08-22 11:39:55 -07:00
parent f7f5e0747b
commit 7d8b317534
3 changed files with 8 additions and 1 deletions

View file

@ -4,6 +4,9 @@ ctrl - return : "${HOME}"/.config/yabai/scripts/open_iterm2.sh
# Close window
ctrl + shift - c : osascript -e 'tell application "System Events" to perform action "AXPress" of (first button whose subrole is "AXCloseButton") of (first window whose subrole is "AXStandardWindow") of (first process whose frontmost is true)'
# Restart yabai
ctrl + shift - r : brew services restart xorpse/formulae/yabai
# Toggle window split type
ctrl - v : yabai -m window --toggle split

View file

@ -22,7 +22,6 @@ yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
yabai -m config mouse_follows_focus off
yabai -m config focus_follows_mouse autoraise
yabai -m config window_placement second_child
yabai -m config window_topmost on
yabai -m config window_shadow on
yabai -m config window_opacity off
yabai -m config window_opacity_duration 0.0
@ -40,6 +39,9 @@ yabai -m config mouse_action1 move
yabai -m config mouse_action2 resize
yabai -m config mouse_drop_action swap
# Turning on breaks kodi
yabai -m config window_topmost off
#
# general space settings
yabai -m config layout bsp
yabai -m config top_padding 20
@ -66,11 +68,13 @@ yabai -m rule --add label="KeePassXC" app="^KeePassXC$" manage=off
yabai -m rule --add label="Calculator" app="^Calculator$" manage=off
yabai -m rule --add label="Dictionary" app="^Dictionary$" manage=off
yabai -m rule --add label="mpv" app="^mpv$" manage=off
yabai -m rule --add app="^Kodi$" manage=off
yabai -m rule --add label="Software Update" title="Software Update" manage=off
yabai -m rule --add label="About This Mac" app="System Information" title="About This Mac" manage=off
yabai -m rule --add app="^Discord$" space=main
yabai -m rule --add app="^Schildi$" space=main
yabai -m rule --add app="^Firefox$" space=main
yabai -m rule --add app="^iTerm$" title="Preferences" manage=off
set +x