From: Michael Stapelberg Date: Thu, 26 Mar 2015 09:03:30 +0000 (+0100) Subject: update default fonts for i3-{input,config-wizard,nagbar} X-Git-Tag: 4.10.1~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ad31b13cb66f65431189f0ade323b9634cc26e8c;p=i3%2Fi3 update default fonts for i3-{input,config-wizard,nagbar} We’ve done this a while ago in i3.config itself, but the tools in question aren’t hooked up to that setting, so we need to do it here as well. --- diff --git a/i3-config-wizard/main.c b/i3-config-wizard/main.c index d94ad96f..f052d6d5 100644 --- a/i3-config-wizard/main.c +++ b/i3-config-wizard/main.c @@ -760,8 +760,8 @@ static void finish() { int main(int argc, char *argv[]) { config_path = resolve_tilde("~/.i3/config"); socket_path = getenv("I3SOCK"); - char *pattern = "-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1"; - char *patternbold = "-misc-fixed-bold-r-normal--13-120-75-75-C-70-iso10646-1"; + char *pattern = "pango:monospace 8"; + char *patternbold = "pango:monospace bold 8"; int o, option_index = 0; static struct option long_options[] = { diff --git a/i3-input/main.c b/i3-input/main.c index 1f9cfe04..996fc0ea 100644 --- a/i3-input/main.c +++ b/i3-input/main.c @@ -317,7 +317,7 @@ static int handle_key_press(void *ignored, xcb_connection_t *conn, xcb_key_press int main(int argc, char *argv[]) { format = strdup("%s"); socket_path = getenv("I3SOCK"); - char *pattern = sstrdup("-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1"); + char *pattern = sstrdup("pango:monospace 8"); int o, option_index = 0; static struct option long_options[] = { diff --git a/i3-nagbar/main.c b/i3-nagbar/main.c index 16559c96..805066f8 100644 --- a/i3-nagbar/main.c +++ b/i3-nagbar/main.c @@ -322,7 +322,7 @@ int main(int argc, char *argv[]) { argv0 = argv[0]; - char *pattern = sstrdup("-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1"); + char *pattern = sstrdup("pango:monospace 8"); int o, option_index = 0; enum { TYPE_ERROR = 0, TYPE_WARNING = 1 } bar_type = TYPE_ERROR;