Make i3-nagbar use the same font as configured for i3

This commit is contained in:
Michael Stapelberg
2013-01-26 09:55:38 +01:00
parent 76ef3a4ab8
commit 62b0df0640
4 changed files with 20 additions and 7 deletions

View File

@ -4,7 +4,7 @@
* vim:ts=4:sw=4:expandtab
*
* i3 - an improved dynamic tiling window manager
* © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE)
* © 2009-2013 Michael Stapelberg and contributors (see also: LICENSE)
*
* config_parser.c: hand-written parser to parse configuration directives.
*
@ -1059,6 +1059,8 @@ void parse_file(const char *f) {
sasprintf(&pageraction, "i3-sensible-pager \"%s\"\n", errorfilename);
char *argv[] = {
NULL, /* will be replaced by the executable path */
"-f",
config.font.pattern,
"-t",
(context->has_errors ? "error" : "warning"),
"-m",