39 lines
1.2 KiB
Bash
Executable file
39 lines
1.2 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# Logs:
|
|
# /tmp/yabai_$USER.err.log
|
|
# /tmp/yabai_$USER.out.log
|
|
|
|
yabai -m config layout bsp
|
|
|
|
# Global
|
|
yabai -m config focus_follows_mouse off
|
|
yabai -m config mouse_follows_focus off
|
|
|
|
yabai -m config layout bsp
|
|
yabai -m config top_padding 0
|
|
yabai -m config bottom_padding 0
|
|
yabai -m config left_padding 0
|
|
yabai -m config right_padding 0
|
|
yabai -m config window_gap 0
|
|
|
|
yabai -m config mouse_action1 move
|
|
yabai -m config mouse_action2 resize
|
|
yabai -m config mouse_modifier ctrl
|
|
|
|
# Override gaps for space 2 only
|
|
#yabai -m config --space 2 window_gap
|
|
|
|
# Floating (unmanaged) apps
|
|
yabai -m rule --add app=Finder manage=off
|
|
yabai -m rule --add app=Calculator manage=off
|
|
yabai -m rule --add app=VLC manage=off
|
|
|
|
# Launch borders
|
|
# https://github.com/FelixKratz/JankyBorders/issues/37#issuecomment-1871262622
|
|
#borders order=above active_color=0xff007777 inactive_color=0xff004444 width=8.0 style=square &
|
|
#borders order=above active_color=0xffffd700 inactive_color=0xff004444 width=8.0 style=square &
|
|
#borders order=above active_color=0xffffd700 inactive_color=0xff897400 width=8.0 style=square &
|
|
borders order=above active_color=0xffffd700 background_color=0xee897400 width=8.0 style=square blacklist="firefox" ax_focus=true &
|
|
|
|
echo "$(date) yabai config $0 loaded"
|