Krolyxon
Commit 0b20783

Branches

Refs →

nsxiv0b20783

change .font to .bar.font for consistency (#48)

Author
N-R-K
Date
2021-09-16 17:11 +0600
Committer
Berke Kocaoğlu · 2021-09-16 22:55 +0300
Parent
7cce7ea
Commit
0b2078316405af6b96a174628004f828f8fb8092

+3 −2

3 files changed

  1. M CHANGELOG.md +1 −0
  2. M nsxiv.1 +1 −1
  3. M window.c +1 −1
M CHANGELOG.md View
@@ -9,6 +9,7 @@ nsxiv
99 Changes:
1010 * Re-release under the name nsxiv
1111 * Sxiv.foreground and Sxiv.background changed to Nsxiv.window.foreground and Nsxiv.window.background
12+ * `Sxiv.font` changed to `Nsxiv.bar.font`
1213 * Rework the build system (#19). Now by default we'll build with only optional dependencies that are already installed
1314 Added:
1415 * Fill scale mode (#2)
M nsxiv.1 View
@@ -408,7 +408,7 @@ Color of the bar background. Defaults to window.foreground
408408 .B bar.foreground
409409 Color of the bar foreground. Defaults to window.background
410410 .TP
411−.B font
411+.B bar.font
412412 Name of Xft bar font
413413 .TP
414414 Please see xrdb(1) on how to change them.
M window.c View
@@ -130,7 +130,7 @@ void win_init(win_t *win)
130130 res_man = XResourceManagerString(e->dpy);
131131 db = res_man != NULL ? XrmGetStringDatabase(res_man) : None;
132132
133− f = win_res(db, RES_CLASS ".font", "monospace-8");
133+ f = win_res(db, RES_CLASS ".bar.font", "monospace-8");
134134 win_init_font(e, f);
135135
136136 win_bg = win_res(db, RES_CLASS ".window.background", "white");