mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 17:10:27 +00: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") {
|
||||
|
||||
@Override
|
||||
|
@ -386,6 +399,7 @@ public interface ExternalTerminalType extends PrefsChoiceValue {
|
|||
CMD,
|
||||
KONSOLE,
|
||||
XFCE,
|
||||
ELEMENTARY,
|
||||
GNOME_TERMINAL,
|
||||
TERMINATOR,
|
||||
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.
|
||||
konsole=Konsole
|
||||
xfce=Xfce 4
|
||||
elementaryTerminal=Elementary Terminal
|
||||
macosTerminal=Terminal.app
|
||||
iterm2=iTerm2
|
||||
warp=Warp
|
||||
|
|
Loading…
Reference in a new issue