Skip to content

Commit

Permalink
Handle GNOME Terminal quirk
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeIsMeh committed Sep 3, 2022
1 parent d8b108d commit 3609d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/file_item.vala
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ public class FileItem : DesktopItem {
string[] args = { preferred_terminal }; // Add our preferred terminal as first arg

// alacritty supports -e, --working-directory WITHOUT equal
// gnome-terminal supports --tab and --working-directory (no -w) WITH equal, but not -e
// gnome-terminal supports --working-directory (no -w) WITH equal, but not -e
// --tab is used for specifying tabs in a new window
// mate-terminal supports --tab and -e, --working-directory (no -w) WITH equal
// konsole supports --new-tab and -e, --workdir WITHOUT equal
// kitty supports --directory WITH equal
Expand All @@ -237,7 +238,6 @@ public class FileItem : DesktopItem {

switch (preferred_terminal) {
// Terminals that use --tab
case "gnome-terminal":
case "mate-terminal":
case "xfce4-terminal":
args += "--tab";
Expand Down

0 comments on commit 3609d4e

Please sign in to comment.