41 lines
1.4 KiB
Bash
Executable file
41 lines
1.4 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# Logs:
|
|
# /tmp/yabai_$USER.err.log
|
|
# /tmp/yabai_$USER.out.log
|
|
#
|
|
# Border:
|
|
# https://github.com/FelixKratz/JankyBorders
|
|
|
|
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
|
|
|
|
# Launch borders
|
|
#borders active_color=0xffFF2400 inactive_color=0xff494d64 width=4.0 style=round blur_radius=7.4 &
|
|
#borders active_color=0xff228B22 inactive_color=0xff494d64 width=6.0 style=round blur_radius=7.4 &
|
|
#borders order=above active_color=0xff228B22 inactive_color=0xff494d64 width=8.0 style=square blur_radius=7.4 &
|
|
#borders order=above active_color=0xff228B22 inactive_color=0xff494d64 width=8.0 style=square &
|
|
borders order=above active_color=0xff007777 inactive_color=0xff004444 width=8.0 style=square &
|
|
|
|
echo "$(date) yabai config $0 loaded"
|