14 lines
687 B
Text
14 lines
687 B
Text
Index: src/config_parser.c
|
|
--- src/config_parser.c.orig
|
|
+++ src/config_parser.c
|
|
@@ -745,8 +745,8 @@ static char *migrate_config(char *input, off_t size) {
|
|
*/
|
|
void start_config_error_nagbar(const char *configpath, bool has_errors) {
|
|
char *editaction, *pageraction;
|
|
- sasprintf(&editaction, "i3-sensible-editor \"%s\" && i3-msg reload\n", configpath);
|
|
- sasprintf(&pageraction, "i3-sensible-pager \"%s\"\n", errorfilename);
|
|
+ sasprintf(&editaction, "/usr/bin/vi \"%s\" && i3-msg reload\n", configpath);
|
|
+ sasprintf(&pageraction, "/usr/bin/less \"%s\"\n", errorfilename);
|
|
char *argv[] = {
|
|
NULL, /* will be replaced by the executable path */
|
|
"-f",
|