mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
30 lines
710 B
Nix
30 lines
710 B
Nix
{ config, pkgs, ... }: {
|
|
services.yabai = {
|
|
enable = true;
|
|
enableScriptingAddition = true;
|
|
config = {
|
|
focus_follows_mouse = "autoraise";
|
|
mouse_follows_focus = "on";
|
|
window_placement = "second_child";
|
|
window_opacity = "off";
|
|
top_padding = 12;
|
|
bottom_padding = 12;
|
|
left_padding = 12;
|
|
right_padding = 12;
|
|
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.jankyborders = {
|
|
enable = true;
|
|
hidpi = true;
|
|
};
|
|
}
|
|
|