mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 17:10:27 +00:00
Fix kitty arguments
This commit is contained in:
parent
d3c173dbcd
commit
fe1665eace
1 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@ public class KittyTerminalType {
|
||||||
private static void open(ExternalTerminalType.LaunchConfiguration configuration) throws Exception {
|
private static void open(ExternalTerminalType.LaunchConfiguration configuration) throws Exception {
|
||||||
try (var sc = LocalShell.getShell().start()) {
|
try (var sc = LocalShell.getShell().start()) {
|
||||||
var payload = JsonNodeFactory.instance.objectNode();
|
var payload = JsonNodeFactory.instance.objectNode();
|
||||||
payload.putArray("args").add("bash");
|
var args = configuration.getDialectLaunchCommand().buildBaseParts(sc);
|
||||||
|
var argsArray = payload.putArray("args");
|
||||||
|
args.forEach(argsArray::add);
|
||||||
payload.put("tab_title",configuration.getColoredTitle());
|
payload.put("tab_title",configuration.getColoredTitle());
|
||||||
payload.put("type", "tab");
|
payload.put("type", "tab");
|
||||||
payload.put("logo_alpha", 0.01);
|
payload.put("logo_alpha", 0.01);
|
||||||
|
|
Loading…
Reference in a new issue