From 6df9e6ae432bcdb2fa53f5ef8773460e25ba94e7 Mon Sep 17 00:00:00 2001
From: khaneliman
Type: -open submodule of (TOML value)
+TOML valueDefault:
{ }
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.enable-normalization-flatten-containers
-
-
-Containers that have only one child are “flattened”.
- -Type: -boolean
- -Default:
-true
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.enable-normalization-opposite-orientation-for-nested-containers
-
-
-Containers that nest into each other must have opposite orientations.
- -Type: -boolean
- -Default:
-true
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.accordion-padding
-
-
-Padding between windows in an accordion container.
- -Type: -signed integer
- -Default:
-30
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.after-startup-command
-
-
-A list of AeroSpace commands to execute immediately after the AeroSpace application starts.
-These commands are written to your aerospace.toml config file and are run after the after-login-command sequence.
A list of all available commands can be found at https://nikitabobko.github.io/AeroSpace/commands.
While this module checks for valid command names, using incorrect arguments can still cause issues.
-If AeroSpace is not behaving correctly after startup, check the logs for errors with cat /tmp/aerospace.err.log.
Type: -list of string
- -Default:
-[ ]
Example:
[
- "exec-and-forget open -n /System/Applications/Utilities/Terminal.app"
- "layout tiles accordion"
-]
-
-
-Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.default-root-container-layout
-
-
-Default layout for the root container.
- -Type: -one of “tiles”, “accordion”
- -Default:
-"tiles"
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.default-root-container-orientation
-
-
-Default orientation for the root container.
- -Type: -one of “horizontal”, “vertical”, “auto”
- -Default:
-"auto"
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.exec-on-workspace-change
-
-
-Commands to run every time workspace changes.
- -Type: -list of string
- -Default:
-[ ]
Example:
[
- "/bin/bash"
- "-c"
- "sketchybar --trigger aerospace_workspace_change FOCUSED_WORKSPACE=$AEROSPACE_FOCUSED_WORKSPACE"
-]
-
-
-Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.key-mapping.preset
-
-
-Keymapping preset.
- -Type: -one of “qwerty”, “dvorak”, “colemak”
- -Default:
-"qwerty"
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.on-focus-changed
-
-
-Commands to run every time focused window or workspace changes.
- -Type: -list of string
- -Default:
-[ ]
Example:
[
- "move-mouse monitor-lazy-center"
-]
-
-
-Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.on-focused-monitor-changed
-
-
-Commands to run every time focused monitor changes.
- -Type: -list of string
- -Default:
[
- "move-mouse monitor-lazy-center"
-]
-
-
-Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.on-window-detected
-
-
-Commands to run every time a new window is detected with optional conditions.
- -Type: -list of (submodule)
- -Default:
-[ ]
Example:
[
- {
- check-further-callbacks = false;
- if = {
- app-id = "Another.Cool.App";
- app-name-regex-substring = "CoolApp";
- during-aerospace-startup = false;
- window-title-regex-substring = "Title";
- workspace = "cool-workspace";
- };
- run = [
- "move-node-to-workspace m"
- "resize-node"
- ];
- }
-]
-
-
-Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.on-window-detected.*.check-further-callbacks
-
-
-Whether to check further callbacks after this rule (optional).
- -Type: -null or boolean
- -Default:
-null
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.on-window-detected.*.if
-
-
-Conditions for detecting a window.
- -Type: -submodule
- -Default:
-{ }
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.on-window-detected.*.if.app-id
-
-
-The application ID to match (optional).
- -Type: -null or string
- -Default:
-null
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.on-window-detected.*.if.app-name-regex-substring
-
-
-Regex substring to match the app name (optional).
- -Type: -null or string
- -Default:
-null
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.on-window-detected.*.if.during-aerospace-startup
-
-
-Whether to match during aerospace startup (optional).
- -Type: -null or boolean
- -Default:
-null
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.on-window-detected.*.if.window-title-regex-substring
-
-
-Substring to match in the window title (optional).
- -Type: -null or string
- -Default:
-null
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.on-window-detected.*.if.workspace
-
-
-The workspace name to match (optional).
- -Type: -null or string
- -Default:
-null
Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.on-window-detected.*.run
-
-
-Commands to execute when the conditions match (required).
- -Type: -string or list of string
- -Example:
[
- "move-node-to-workspace m"
- "resize-node"
-]
-
-
-Declared by:
-
-
-<home-manager/modules/programs/aerospace.nix>
-
- |
programs.aerospace.userSettings.workspace-to-monitor-force-assignment
-
-
-Map workspaces to specific monitors. -Left-hand side is the workspace name, and right-hand side is the monitor pattern.
- -Type: -null or (attribute set of (signed integer or string or list of string))
- -Default:
-null
Example:
{
- "1" = 1;
- "2" = "main";
- "3" = "secondary";
- "4" = "built-in";
- "5" = "^built-in retina display$";
- "6" = [
- "secondary"
- "dell"
- ];
-}
-
-
Declared by: