1

Update hyprland autostart options

This commit is contained in:
2024-06-03 18:46:44 +02:00
parent 63546228c8
commit eb3a106d4e

View File

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