aboutsummaryrefslogtreecommitdiff
path: root/modules/aerospace.nix
blob: 34e7bf4eb25ea6a51c9097e9e41181b3de8d2f92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, pkgs, lib, ...}:

{
  config.aerospace.enable = lib.mkEnableOption "Enalbe aerospace and setup";
  config.enable = lib.mkIf config.aerospace.enable {
    programs.aerospace = {
      enable = true;
      userSettings = {
        gaps = {
          outer = 5;
        };
        mode.main.binding = {
          alt-h = "focus left";
          alt-j = "focus down";
          alt-k = "focus up";
          alt-l = "focus right";
        };
      };
    };
  };
}