mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
aerospace: remove broken on-window-detected option
This commit is contained in:
parent
af119feb17
commit
7f619d2a72
3 changed files with 0 additions and 79 deletions
|
|
@ -151,83 +151,6 @@ in
|
||||||
default = "auto";
|
default = "auto";
|
||||||
description = "Default orientation for the root container.";
|
description = "Default orientation for the root container.";
|
||||||
};
|
};
|
||||||
on-window-detected = mkOption {
|
|
||||||
type = types.listOf (
|
|
||||||
types.submodule {
|
|
||||||
options = {
|
|
||||||
"if" = mkOption {
|
|
||||||
type = types.submodule {
|
|
||||||
options = {
|
|
||||||
app-id = mkOption {
|
|
||||||
type = with types; nullOr str;
|
|
||||||
default = null;
|
|
||||||
description = "The application ID to match (optional).";
|
|
||||||
};
|
|
||||||
workspace = mkOption {
|
|
||||||
type = with types; nullOr str;
|
|
||||||
default = null;
|
|
||||||
description = "The workspace name to match (optional).";
|
|
||||||
};
|
|
||||||
window-title-regex-substring = mkOption {
|
|
||||||
type = with types; nullOr str;
|
|
||||||
default = null;
|
|
||||||
description = "Substring to match in the window title (optional).";
|
|
||||||
};
|
|
||||||
app-name-regex-substring = mkOption {
|
|
||||||
type = with types; nullOr str;
|
|
||||||
default = null;
|
|
||||||
description = "Regex substring to match the app name (optional).";
|
|
||||||
};
|
|
||||||
during-aerospace-startup = mkOption {
|
|
||||||
type = with types; nullOr bool;
|
|
||||||
default = null;
|
|
||||||
description = "Whether to match during aerospace startup (optional).";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
default = { };
|
|
||||||
description = "Conditions for detecting a window.";
|
|
||||||
};
|
|
||||||
check-further-callbacks = mkOption {
|
|
||||||
type = with types; nullOr bool;
|
|
||||||
default = null;
|
|
||||||
description = "Whether to check further callbacks after this rule (optional).";
|
|
||||||
};
|
|
||||||
run = mkOption {
|
|
||||||
type =
|
|
||||||
with types;
|
|
||||||
oneOf [
|
|
||||||
str
|
|
||||||
(listOf str)
|
|
||||||
];
|
|
||||||
example = [
|
|
||||||
"move-node-to-workspace m"
|
|
||||||
"resize-node"
|
|
||||||
];
|
|
||||||
description = "Commands to execute when the conditions match (required).";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
);
|
|
||||||
default = [ ];
|
|
||||||
example = [
|
|
||||||
{
|
|
||||||
"if" = {
|
|
||||||
app-id = "Another.Cool.App";
|
|
||||||
workspace = "cool-workspace";
|
|
||||||
window-title-regex-substring = "Title";
|
|
||||||
app-name-regex-substring = "CoolApp";
|
|
||||||
during-aerospace-startup = false;
|
|
||||||
};
|
|
||||||
check-further-callbacks = false;
|
|
||||||
run = [
|
|
||||||
"move-node-to-workspace m"
|
|
||||||
"resize-node"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
description = "Commands to run every time a new window is detected with optional conditions.";
|
|
||||||
};
|
|
||||||
workspace-to-monitor-force-assignment = mkOption {
|
workspace-to-monitor-force-assignment = mkOption {
|
||||||
type =
|
type =
|
||||||
with types;
|
with types;
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ enable-normalization-opposite-orientation-for-nested-containers = true
|
||||||
exec-on-workspace-change = []
|
exec-on-workspace-change = []
|
||||||
on-focus-changed = []
|
on-focus-changed = []
|
||||||
on-focused-monitor-changed = ["move-mouse monitor-lazy-center"]
|
on-focused-monitor-changed = ["move-mouse monitor-lazy-center"]
|
||||||
on-window-detected = []
|
|
||||||
|
|
||||||
[gaps.outer]
|
[gaps.outer]
|
||||||
bottom = 8
|
bottom = 8
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ enable-normalization-opposite-orientation-for-nested-containers = true
|
||||||
exec-on-workspace-change = []
|
exec-on-workspace-change = []
|
||||||
on-focus-changed = []
|
on-focus-changed = []
|
||||||
on-focused-monitor-changed = ["move-mouse monitor-lazy-center"]
|
on-focused-monitor-changed = ["move-mouse monitor-lazy-center"]
|
||||||
on-window-detected = []
|
|
||||||
start-at-login = false
|
start-at-login = false
|
||||||
|
|
||||||
[gaps.outer]
|
[gaps.outer]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue