diff options
Diffstat (limited to 'macos.local/.flake/system/yabai.nix.org')
-rw-r--r-- | macos.local/.flake/system/yabai.nix.org | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/macos.local/.flake/system/yabai.nix.org b/macos.local/.flake/system/yabai.nix.org deleted file mode 100644 index 1c70dcc..0000000 --- a/macos.local/.flake/system/yabai.nix.org +++ /dev/null @@ -1,61 +0,0 @@ -#+title: Yabai Configuration - -#+begin_src nix - { config, pkgs, ... }: - - { - services.yabai = { - enable = true; -#+end_src - -Use scripting addition features. -#+begin_src nix - enableScriptingAddition = true; - config = { -#+end_src - -Use auto-tiling. -#+begin_src nix - layout = "bsp"; - auto_balance = "on"; -#+end_src - -Do not use padding between windows. -#+begin_src nix - top_padding = 0; - bottom_padding = 0; - left_padding = 0; - right_padding = 0; - window_gap = 0; -#+end_src - -Disable window shadows unless the application is floating. -#+begin_src nix - window_shadow = "float"; -#+end_src - -Mouse moves to focused window and windows are focused on mouse hover. -#+begin_src nix - focus_follows_mouse = "autoraise"; - mouse_follows_focus = "on"; -#+end_src - -Use =⌘= with the mouse to move and resize. -#+begin_src nix - mouse_modifier = "cmd"; - mouse_action1 = "move"; - mouse_action2 = "resize"; - mouse_drop_action = "swap"; -#+end_src - -Add exceptions for some apps. -#+begin_src nix - }; - extraConfig = '' - yabai -m rule --add app="^System Settings$" manage=off - yabai -m rule --add app="^Calculator$" manage=off - yabai -m rule --add app="^mpv" manage=off - ''; - }; - } -#+end_src |