liminalOS/modules/darwin/yabai.nix

32 lines
773 B
Nix
Raw Normal View History

2024-08-05 02:51:43 -07:00
{ config, pkgs, ... }: {
services.yabai = {
enable = true;
enableScriptingAddition = true;
config = {
focus_follows_mouse = "autoraise";
2024-08-05 17:04:54 -07:00
mouse_follows_focus = "on";
2024-08-05 02:51:43 -07:00
window_placement = "second_child";
window_opacity = "off";
2024-08-05 17:04:54 -07:00
top_padding = 12;
bottom_padding = 12;
left_padding = 12;
right_padding = 12;
2024-08-05 02:51:43 -07:00
window_gap = 10;
2024-08-05 17:04:54 -07:00
split_ratio = 0.50;
split_type = "auto";
layout = "bsp";
mouse_modifier = "fn";
mouse_action1 = "move";
mouse_action2 = "resize";
mouse_drop_action = "swap";
2024-08-05 02:51:43 -07:00
};
};
services.jankyborders = {
enable = true;
hidpi = true;
2024-08-05 18:42:42 -07:00
inactive_color = "gradient(top_right=0x9992B3F5,bottom_left=0x9992B3F5)";
blur_radius = 5.0;
2024-08-05 02:51:43 -07:00
};
}