File Use-xdg-terminal-instead-of-the-proprietary-solution.patch of Package rofi-wayland

From fa7f73a7a65e967b74e64c6702e01bf399adf037 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <mcepl@cepl.eu>
Date: Sat, 20 Aug 2022 21:51:51 +0200
Subject: [PATCH 1/2] Use standard xdg-terminal instead of the proprietary
 solution.

---
 config/config.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: rofi-1.7.5+wayland1+git.1679493688.d06095b/config/config.c
===================================================================
--- rofi-1.7.5+wayland1+git.1679493688.d06095b.orig/config/config.c
+++ rofi-1.7.5+wayland1+git.1679493688.d06095b/config/config.c
@@ -47,16 +47,16 @@ Settings config = {
     .show_icons = FALSE,
 
     /** Terminal to use. (for ssh and open in terminal) */
-    .terminal_emulator = "rofi-sensible-terminal",
+    .terminal_emulator = "xdg-terminal",
     .ssh_client = "ssh",
     /** Command when executing ssh. */
-    .ssh_command = "{terminal} -e {ssh-client} {host} [-p {port}]",
+    .ssh_command = "{terminal} {ssh-client} {host} [-p {port}]",
     /** Command when running */
     .run_command = "{cmd}",
     /** Command used to list executable commands. empty -> internal */
     .run_list_command = "",
     /** Command executed when running application in terminal */
-    .run_shell_command = "{terminal} -e {cmd}",
+    .run_shell_command = "{terminal} {cmd}",
     /** Command executed on accep-entry-custom for window modus */
     .window_command = "wmctrl -i -R {window}",
     /** No default icon theme, we search Adwaita and gnome as fallback */
openSUSE Build Service is sponsored by