about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-05-20 10:41:59 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-05-20 10:54:58 +0200
commit21cc53bdfdb70bc375bf6b4c46593889b9702489 (patch)
treebd426c61c839affc49af40a9cebd7076cdd018fd /src/command
parentfc5fa629513d804dee5371f85acc4c4558e699a1 (diff)
downloadprofani-tty-21cc53bdfdb70bc375bf6b4c46593889b9702489.tar.gz
Make urlopen command configurable
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index d0f97810..f91a901c 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -8871,7 +8871,7 @@ cmd_urlopen(ProfWin *window, const char *const command, gchar **args)
             return TRUE;
         }
 
-        call_external("xdg-open", args[0]);
+        call_external(prefs_get_string(PREF_URL_OPEN_CMD), args[0]);
     } else {
         cons_show("urlopen not supported in this window");
     }