dot/.yabairc
2024-08-22 14:11:39 +02:00

28 lines
988 B
Bash
Executable file

#!/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.."