File xdg-terminal.patch of Package rofi

diff -urEbw rofi-1.7.2/config/config.c rofi-1.7.2.patch/config/config.c
--- rofi-1.7.2/config/config.c	2021-09-02 21:02:03.000000000 +0200
+++ rofi-1.7.2.patch/config/config.c	2021-12-06 11:26:20.147107427 +0100
@@ -47,16 +47,16 @@
     .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