1

Refine hyprland autostart option

This commit is contained in:
2024-06-03 20:36:18 +02:00
parent dbc84a1d97
commit fc62ee87ae
2 changed files with 195 additions and 174 deletions

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 delay when Hyprland starts (e.g. to wait for the waybar tray)";
example = ''
[
"keepassxc"
"nextcloud --background"
]
'';
};
};
workspacerules = mkOption {