feat: add more yabai configuration

This commit is contained in:
Youwen Wu 2024-08-05 17:04:54 -07:00
parent 89097fcb16
commit e9badf4d3d

View file

@ -4,14 +4,21 @@
enableScriptingAddition = true; enableScriptingAddition = true;
config = { config = {
focus_follows_mouse = "autoraise"; focus_follows_mouse = "autoraise";
mouse_follows_focus = "off"; mouse_follows_focus = "on";
window_placement = "second_child"; window_placement = "second_child";
window_opacity = "off"; window_opacity = "off";
top_padding = 36; top_padding = 12;
bottom_padding = 10; bottom_padding = 12;
left_padding = 10; left_padding = 12;
right_padding = 10; right_padding = 12;
window_gap = 10; window_gap = 10;
split_ratio = 0.50;
split_type = "auto";
layout = "bsp";
mouse_modifier = "fn";
mouse_action1 = "move";
mouse_action2 = "resize";
mouse_drop_action = "swap";
}; };
}; };
services.skhd = { enable = true; }; services.skhd = { enable = true; };