mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-06-28 19:10:57 +12:00
Add support for gnome text editor
This commit is contained in:
parent
54aefedd28
commit
4961f53c26
|
@ -62,6 +62,8 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
|||
}
|
||||
};
|
||||
|
||||
LinuxPathType GNOME = new LinuxPathType("app.gnomeTextEditor", "gnome-text-editor");
|
||||
|
||||
LinuxPathType KATE = new LinuxPathType("app.kate", "kate");
|
||||
|
||||
LinuxPathType GEDIT = new LinuxPathType("app.gedit", "gedit");
|
||||
|
@ -187,7 +189,7 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
|||
}
|
||||
|
||||
List<ExternalEditorType> WINDOWS_EDITORS = List.of(VSCODE_WINDOWS, NOTEPADPLUSPLUS_WINDOWS, NOTEPAD);
|
||||
List<LinuxPathType> LINUX_EDITORS = List.of(VSCODE_LINUX, KATE, GEDIT, PLUMA, LEAFPAD, MOUSEPAD);
|
||||
List<LinuxPathType> LINUX_EDITORS = List.of(VSCODE_LINUX, KATE, GEDIT, PLUMA, LEAFPAD, MOUSEPAD, GNOME);
|
||||
List<ExternalEditorType> MACOS_EDITORS = List.of(BBEDIT, VSCODE_MACOS, SUBLIME_MACOS, TEXT_EDIT);
|
||||
|
||||
@SuppressWarnings("TrivialFunctionalExpressionUsage")
|
||||
|
|
|
@ -153,6 +153,7 @@ addMore=Add more
|
|||
vscode=Visual Studio Code
|
||||
kate=Kate
|
||||
gedit=GEdit
|
||||
gnomeTextEditor=Gnome Text Editor
|
||||
leafpad=Leafpad
|
||||
mousepad=Mousepad
|
||||
pluma=Pluma
|
||||
|
|
Loading…
Reference in a new issue