mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-30 00:56:56 +13:00
Add support for elementary terminal
This commit is contained in:
parent
e85945f25a
commit
3f6bba601d
2 changed files with 15 additions and 0 deletions
|
@ -220,6 +220,19 @@ public interface ExternalTerminalType extends PrefsChoiceValue {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ExternalTerminalType ELEMENTARY = new SimplePathType("app.elementaryTerminal", "io.elementary.terminal") {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected CommandBuilder toCommand(String name, String file) {
|
||||||
|
return CommandBuilder.of().add("--new-tab").add("-e").addFile(file);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isSelectable() {
|
||||||
|
return OsType.getLocal().equals(OsType.LINUX);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
ExternalTerminalType TERMINATOR = new SimplePathType("app.terminator", "terminator") {
|
ExternalTerminalType TERMINATOR = new SimplePathType("app.terminator", "terminator") {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -386,6 +399,7 @@ public interface ExternalTerminalType extends PrefsChoiceValue {
|
||||||
CMD,
|
CMD,
|
||||||
KONSOLE,
|
KONSOLE,
|
||||||
XFCE,
|
XFCE,
|
||||||
|
ELEMENTARY,
|
||||||
GNOME_TERMINAL,
|
GNOME_TERMINAL,
|
||||||
TERMINATOR,
|
TERMINATOR,
|
||||||
KITTY,
|
KITTY,
|
||||||
|
|
|
@ -96,6 +96,7 @@ developerDisableConnectorInstallationVersionCheck=Disable Connector Version Chec
|
||||||
developerDisableConnectorInstallationVersionCheckDescription=Controls whether the update checker will ignore the version number when inspecting the version of an XPipe connector installed on a remote machine.
|
developerDisableConnectorInstallationVersionCheckDescription=Controls whether the update checker will ignore the version number when inspecting the version of an XPipe connector installed on a remote machine.
|
||||||
konsole=Konsole
|
konsole=Konsole
|
||||||
xfce=Xfce 4
|
xfce=Xfce 4
|
||||||
|
elementaryTerminal=Elementary Terminal
|
||||||
macosTerminal=Terminal.app
|
macosTerminal=Terminal.app
|
||||||
iterm2=iTerm2
|
iterm2=iTerm2
|
||||||
warp=Warp
|
warp=Warp
|
||||||
|
|
Loading…
Reference in a new issue