Make urlopen command configurable

This commit is contained in:
Michael Vetter
2020-05-20 10:41:59 +02:00
parent fc5fa62951
commit 21cc53bdfd
3 changed files with 6 additions and 1 deletions

View File

@@ -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");
}