From b36cf6a8d19074dde9c2c81550bdf5a3901b37f6 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Mon, 7 Oct 2024 22:41:46 -0500 Subject: more migrations --- common/.flake/system/yabai.nix.org | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 common/.flake/system/yabai.nix.org (limited to 'common/.flake/system/yabai.nix.org') diff --git a/common/.flake/system/yabai.nix.org b/common/.flake/system/yabai.nix.org new file mode 100644 index 0000000..4cdbf5e --- /dev/null +++ b/common/.flake/system/yabai.nix.org @@ -0,0 +1,32 @@ +#+title: Yabai Configuration + +#+begin_src nix + { config, pkgs, ... }: + + { + services.yabai = { + enable = true; + enableScriptingAddition = true; + config = { + layout = "bsp"; + auto_balance = "on"; + top_padding = 10; + bottom_padding = 10; + left_padding = 10; + right_padding = 10; + window_gap = 10; + window_shadow = "float"; + focus_follows_mouse = "autoraise"; + mouse_follows_focus = "on"; + mouse_modifier = "cmd"; + mouse_action1 = "move"; + mouse_action2 = "resize"; + mouse_drop_action = "swap"; + }; + extraConfig = '' + yabai -m rule --add app="^System Settings$" manage=off + yabai -m rule --add app="^Calculator$" manage=off + ''; + }; + } +#+end_src -- cgit v1.2.3