Update hyprland autostart options
This commit is contained in:
@ -53,17 +53,29 @@ with mylib.modules; {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
autostart = mkOption {
|
autostart = {
|
||||||
|
immediate = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
description = "Programs to launch when Hyprland starts";
|
description = "Programs to launch when Hyprland starts";
|
||||||
example = ''
|
example = ''
|
||||||
[
|
[
|
||||||
"keepassxc"
|
"kitty"
|
||||||
"nextcloud --background"
|
|
||||||
]
|
]
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
delayed = mkOption {
|
||||||
|
type = types.listOf types.str;
|
||||||
|
description = "Programs to launch with a slight delay when Hyprland starts (e.g. because they need waybar to display tray indicators)";
|
||||||
|
example = ''
|
||||||
|
[
|
||||||
|
"keepassxc"
|
||||||
|
"nextcloud --background"
|
||||||
|
];
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
workspacerules = mkOption {
|
workspacerules = mkOption {
|
||||||
type = types.attrs;
|
type = types.attrs;
|
||||||
description = "Launch programs on specified workspaces, accepts window class.";
|
description = "Launch programs on specified workspaces, accepts window class.";
|
||||||
|
Reference in New Issue
Block a user