15 lines
887 B
Plaintext
15 lines
887 B
Plaintext
$OpenBSD: patch-src_cfgparse_y,v 1.5 2011/12/27 09:05:17 dcoppa Exp $
|
|
--- src/cfgparse.y.orig Sat Dec 24 16:25:08 2011
|
|
+++ src/cfgparse.y Tue Dec 27 09:24:53 2011
|
|
@@ -286,8 +286,8 @@ static void start_configerror_nagbar(const char *confi
|
|
if (configerror_pid == 0) {
|
|
char *editaction,
|
|
*pageraction;
|
|
- sasprintf(&editaction, "i3-sensible-terminal -e sh -c \"i3-sensible-editor \\\"%s\\\" && i3-msg reload\"", config_path);
|
|
- sasprintf(&pageraction, "i3-sensible-terminal -e i3-sensible-pager \"%s\"", errorfilename);
|
|
+ sasprintf(&editaction, "${X11BASE}/bin/xterm -e sh -c \"/usr/bin/vi \\\"%s\\\" && i3-msg reload\"", config_path);
|
|
+ sasprintf(&pageraction, "${X11BASE}/bin/xterm -e /usr/bin/less \"%s\"", errorfilename);
|
|
char *argv[] = {
|
|
NULL, /* will be replaced by the executable path */
|
|
"-t",
|