my system configurations ^-^
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: aerospace and disable everything

42willow.bsky.social c9a2ccc6 ef957efa

verified
+58 -1
+56
modules/darwin/desktop/aerospace.nix
··· 1 + {lib, ...}: { 2 + services.aerospace = { 3 + enable = false; 4 + 5 + settings = { 6 + gaps = { 7 + outer.left = 8; 8 + outer.bottom = 8; 9 + outer.top = 8; 10 + outer.right = 8; 11 + }; 12 + mode.main.binding = 13 + { 14 + # focus 15 + # https://nikitabobko.github.io/AeroSpace/commands#focus 16 + alt-n = "focus left"; 17 + alt-e = "focus down"; 18 + alt-i = "focus up"; 19 + alt-o = "focus right"; 20 + 21 + alt-s = "fullscreen"; 22 + 23 + alt-shift-n = "workspace next"; 24 + alt-shift-o = "workspace prev"; 25 + alt-shift-e = "focus-monitor left"; 26 + alt-shift-i = "focus-monitor right"; 27 + 28 + # https://nikitabobko.github.io/AeroSpace/commands#resize 29 + alt-a = "resize smart -50"; 30 + alt-r = "resize smart +50"; 31 + 32 + # https://nikitabobko.github.io/AeroSpace/commands#layout 33 + alt-slash = "layout tiles horizontal vertical"; 34 + alt-comma = "layout accordion horizontal vertical"; 35 + 36 + # https://nikitabobko.github.io/AeroSpace/commands#exec-and-forget 37 + alt-f = "exec-and-forget open -a Firefox"; 38 + alt-q = "exec-and-forget open -a Ghostty -n"; 39 + alt-t = "exec-and-forget open -a Vesktop"; 40 + alt-w = "exec-and-forget open -a Finder -n"; 41 + 42 + 43 + # https://nikitabobko.github.io/AeroSpace/commands#workspace-back-and-forth 44 + alt-tab = "workspace-back-and-forth"; 45 + } 46 + // lib.foldl' ( 47 + attr: i: 48 + attr 49 + // { 50 + "alt-${toString i}" = "workspace ${toString i}"; 51 + "alt-shift-${toString i}" = "move-node-to-workspace ${toString i} --focus-follows-window"; 52 + } 53 + ) {} (lib.range 1 9); 54 + }; 55 + }; 56 + }
+1
modules/darwin/desktop/default.nix
··· 1 1 { 2 2 imports = [ 3 + ./aerospace.nix 3 4 ./janky-borders.nix 4 5 ./skhd.nix 5 6 ./yabai.nix
+1 -1
modules/darwin/desktop/skhd.nix
··· 1 1 { 2 2 services.skhd = { 3 - enable = true; 3 + enable = false; 4 4 5 5 skhdConfig = '' 6 6 alt - escape : yabai -m space --toggle mission-control