-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99e9303
commit 454af79
Showing
5 changed files
with
152 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
{...}: { | ||
home.file.".aerospace.toml".text = '' | ||
# Start aerospace at login | ||
start-at-login = true | ||
enable-normalization-flatten-containers = true | ||
enable-normalization-opposite-orientation-for-nested-containers = true | ||
accordion-padding = 30 | ||
default-root-container-layout = 'tiles' | ||
on-focused-monitor-changed = ['move-mouse monitor-lazy-center'] | ||
[key-mapping] | ||
preset = 'qwerty' | ||
[gaps] | ||
inner.vertical = 8 | ||
inner.horizontal = 8 | ||
outer.top = 8 | ||
outer.left = 8 | ||
outer.right = 8 | ||
outer.bottom = 8 | ||
[mode.main.binding] | ||
# Change split layout | ||
alt-slash = 'layout tiles horizontal vertical' | ||
alt-comma = 'layout accordion horizontal vertical' | ||
# Terminal | ||
alt-enter = 'exec-and-forget open -n /Users/alliana/Applications/Home Manager Apps/Alacritty.app' | ||
alt-t = 'exec-and-forget open -n /Users/alliana/Applications/Home Manager Apps/Alacritty.app' | ||
# Window Focus | ||
alt-h = 'focus left' | ||
alt-j = 'focus down' | ||
alt-k = 'focus up' | ||
alt-l = 'focus right' | ||
# Window Move | ||
alt-shift-h = 'move left' | ||
alt-shift-j = 'move down' | ||
alt-shift-k = 'move up' | ||
alt-shift-l = 'move right' | ||
# Window Resize | ||
alt-shift-minus = 'resize smart -50' | ||
alt-shift-equal = 'resize smart +50' | ||
# Switch workspaces | ||
alt-1 = 'workspace 1' | ||
alt-2 = 'workspace 2' | ||
alt-3 = 'workspace 3' | ||
alt-4 = 'workspace 4' | ||
alt-5 = 'workspace 5' | ||
alt-6 = 'workspace 6' | ||
alt-7 = 'workspace 7' | ||
alt-8 = 'workspace 8' | ||
alt-9 = 'workspace 9' | ||
alt-0 = 'workspace 0' | ||
# Window move to workspaces | ||
alt-shift-1 = 'move-node-to-workspace 1' | ||
alt-shift-2 = 'move-node-to-workspace 2' | ||
alt-shift-3 = 'move-node-to-workspace 3' | ||
alt-shift-4 = 'move-node-to-workspace 4' | ||
alt-shift-5 = 'move-node-to-workspace 5' | ||
alt-shift-6 = 'move-node-to-workspace 6' | ||
alt-shift-7 = 'move-node-to-workspace 7' | ||
alt-shift-8 = 'move-node-to-workspace 8' | ||
alt-shift-9 = 'move-node-to-workspace 9' | ||
alt-shift-0 = 'move-node-to-workspace 0' | ||
# Switch workspaces with F-row | ||
f1 = 'workspace 1' | ||
f2 = 'workspace 2' | ||
f3 = 'workspace 3' | ||
f4 = 'workspace 4' | ||
f5 = 'workspace 5' | ||
f6 = 'workspace 6' | ||
f7 = 'workspace 7' | ||
f8 = 'workspace 8' | ||
f9 = 'workspace 9' | ||
f10 = 'workspace 0' | ||
# Window move to workspaces with F-row | ||
shift-f1 = 'move-node-to-workspace 1' | ||
shift-f2 = 'move-node-to-workspace 2' | ||
shift-f3 = 'move-node-to-workspace 3' | ||
shift-f4 = 'move-node-to-workspace 4' | ||
shift-f5 = 'move-node-to-workspace 5' | ||
shift-f6 = 'move-node-to-workspace 6' | ||
shift-f7 = 'move-node-to-workspace 7' | ||
shift-f8 = 'move-node-to-workspace 8' | ||
shift-f9 = 'move-node-to-workspace 9' | ||
shift-f10 = 'move-node-to-workspace 0' | ||
# Mode service | ||
alt-shift-semicolon = 'mode service' | ||
# workspace assignment | ||
[workspace-to-monitor-force-assignment] | ||
1 = 'main' | ||
2 = 'main' | ||
3 = 'main' | ||
4 = 'main' | ||
5 = 'main' | ||
6 = ['secondary', 'main'] | ||
7 = ['secondary', 'main'] | ||
8 = ['secondary', 'main'] | ||
9 = ['secondary', 'main'] | ||
0 = ['secondary', 'main'] | ||
[mode.service.binding] | ||
esc = ['reload-config', 'mode main'] | ||
[[on-window-detected]] | ||
if.app-id = 'company.thebrowser.Browser' | ||
run = 'move-node-to-workspace 1' | ||
[[on-window-detected]] | ||
if.app-id = 'org.alacritty' | ||
run = 'move-node-to-workspace 2' | ||
''; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ pkgs, ... }: { | ||
imports = [ | ||
./system.nix | ||
./brew.nix | ||
./system.nix | ||
]; | ||
|
||
nix = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters