prefix eprint() with awesome:
This commit is contained in:
parent
11effcd7af
commit
6241354fec
|
@ -229,7 +229,7 @@ setup_screen(awesome_config *awesomeconf, int screen)
|
|||
static int __attribute__ ((noreturn))
|
||||
xerrorstart(Display * disp __attribute__ ((unused)), XErrorEvent * ee __attribute__ ((unused)))
|
||||
{
|
||||
eprint("awesome: another window manager is already running\n");
|
||||
eprint("another window manager is already running\n");
|
||||
}
|
||||
|
||||
/** Quit awesome
|
||||
|
@ -302,17 +302,17 @@ main(int argc, char *argv[])
|
|||
if(a_strlen(argv[2]))
|
||||
confpath = argv[2];
|
||||
else
|
||||
eprint("awesome: -c require a file\n");
|
||||
eprint("-c require a file\n");
|
||||
}
|
||||
else
|
||||
eprint("usage: awesome [-v | -c configfile]\n");
|
||||
eprint("options: [-v | -c configfile]\n");
|
||||
}
|
||||
|
||||
/* Tag won't be printed otherwised */
|
||||
setlocale(LC_CTYPE, "");
|
||||
|
||||
if(!(dpy = XOpenDisplay(NULL)))
|
||||
eprint("awesome: cannot open display\n");
|
||||
eprint("cannot open display\n");
|
||||
|
||||
xfd = ConnectionNumber(dpy);
|
||||
|
||||
|
|
4
config.c
4
config.c
|
@ -495,7 +495,7 @@ parse_config(const char *confpatharg, awesome_config *awesomeconf)
|
|||
}
|
||||
|
||||
if(!awesomeconf->screens[screen].nlayouts)
|
||||
eprint("awesome: fatal: no default layout available\n");
|
||||
eprint("fatal: no default layout available\n");
|
||||
|
||||
/* Tags */
|
||||
awesomeconf->screens[screen].ntags = cfg_size(cfg_tags, "tag");
|
||||
|
@ -519,7 +519,7 @@ parse_config(const char *confpatharg, awesome_config *awesomeconf)
|
|||
}
|
||||
|
||||
if(!awesomeconf->screens[screen].ntags)
|
||||
eprint("awesome: fatal: no tags found in configuration file\n");
|
||||
eprint("fatal: no tags found in configuration file\n");
|
||||
|
||||
/* select first tag by default */
|
||||
awesomeconf->screens[screen].tags[0].selected = True;
|
||||
|
|
Loading…
Reference in New Issue