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,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.";