From d14fdd1b47398262459a428d3d7544c04458fda7 Mon Sep 17 00:00:00 2001 From: Adam Fidel Date: Thu, 2 Jan 2025 19:49:52 -0600 Subject: [PATCH] chore: remove unused xdg-terminal-exec program (#66) * feat: use more feature-complete xdg-terminal-exec * remove xdg-terminal-exec completely --- system_files/kinoite/usr/bin/xdg-terminal-exec | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 system_files/kinoite/usr/bin/xdg-terminal-exec diff --git a/system_files/kinoite/usr/bin/xdg-terminal-exec b/system_files/kinoite/usr/bin/xdg-terminal-exec deleted file mode 100755 index 3eb0cc9e..00000000 --- a/system_files/kinoite/usr/bin/xdg-terminal-exec +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/bash - -if command -v /usr/bin/ptyxis > /dev/null; then - if [[ -z "$@" ]]; then - /usr/bin/ptyxis --new-window - else - /usr/bin/ptyxis -- "$@" - fi -elif grep '^org\.gnome\.Ptyxis$' <<< $(/usr/bin/flatpak list --app --columns=application); then - if [[ -z "$@" ]]; then - /usr/bin/flatpak run org.gnome.Ptyxis --new-window - else - /usr/bin/flatpak run org.gnome.Ptyxis -- "$@" - fi -else - /usr/bin/gnome-terminal -- "$@" -fi