testbed: wrap autostart command in a shell script (#1204)
Allows testbeds autostart to be more complex than a single command. Link: https://github.com/danth/stylix/pull/1204 Reviewed-by: awwpotato <awwpotato@voidq.com> Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
This commit is contained in:
parent
953e7247ac
commit
fe3feecf23
1 changed files with 3 additions and 1 deletions
|
|
@ -138,7 +138,9 @@ let
|
|||
package = pkgs.makeDesktopItem {
|
||||
name = "stylix-testbed";
|
||||
desktopName = "stylix-testbed";
|
||||
exec = config.stylix.testbed.ui.command.text;
|
||||
exec = toString (
|
||||
pkgs.writeShellScript "startup" config.stylix.testbed.ui.command.text
|
||||
);
|
||||
terminal = config.stylix.testbed.ui.command.useTerminal;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue