1

Update hyprland autostart options

This commit is contained in:
2024-06-03 18:46:44 +02:00
parent 883f74fbf8
commit d04089f74e

View File

@ -53,15 +53,27 @@ with mylib.modules; {
'';
};
autostart = mkOption {
type = types.listOf types.str;
description = "Programs to launch when Hyprland starts";
example = ''
[
"keepassxc"
"nextcloud --background"
]
'';
autostart = {
immediate = mkOption {
type = types.listOf types.str;
description = "Programs to launch when Hyprland starts";
example = ''
[
"kitty"
]
'';
};
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 {