blob: fed5783490b3b2b009b59c479550335c44e88eed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
#+title: Aerospace Configuration
#+begin_src nix
{ config, pkgs, ... }:
{
services.aerospace = {
enable = true;
settings = {
gaps = {
outer.left = 0;
outer.bottom = 0;
outer.top = 0;
outer.right = 0;
};
on-focused-monitor-changed = [
"move-mouse monitor-lazy-center"
];
mode.main.binding = {
cmd-enter = "exec-and-forget open -n /Applications/Ghostty.app/";
cmd-h = "focus left";
cmd-j = "focus down";
cmd-k = "focus up";
cmd-l = "focus right";
cmd-shift-h = "move left";
cmd-shift-j = "move down";
cmd-shift-k = "move up";
cmd-shift-l = "move right";
cmd-shift-minus = "resize smart -50";
cmd-shift-equal = "resize smart +50";
cmd-1 = "workspace 1";
cmd-2 = "workspace 2";
cmd-3 = "workspace 3";
cmd-4 = "workspace 4";
cmd-5 = "workspace 5";
cmd-6 = "workspace 6";
cmd-7 = "workspace 7";
cmd-8 = "workspace 8";
cmd-9 = "workspace 9";
cmd-0 = "workspace 0";
cmd-shift-1 = "move-node-to-workspace 1";
cmd-shift-2 = "move-node-to-workspace 2";
cmd-shift-3 = "move-node-to-workspace 3";
cmd-shift-4 = "move-node-to-workspace 4";
cmd-shift-5 = "move-node-to-workspace 5";
cmd-shift-6 = "move-node-to-workspace 6";
cmd-shift-7 = "move-node-to-workspace 7";
cmd-shift-8 = "move-node-to-workspace 8";
cmd-shift-9 = "move-node-to-workspace 9";
cmd-shift-0 = "move-node-to-workspace 0";
};
};
};
}
#+end_src
|