nsxiv0b20783
change .font to .bar.font for consistency (#48)
+3 −2
3 files changed
- M CHANGELOG.md +1 −0
- M nsxiv.1 +1 −1
- M window.c +1 −1
| @@ -9,6 +9,7 @@ nsxiv | |||
| 9 | 9 | Changes: | |
| 10 | 10 | * Re-release under the name nsxiv | |
| 11 | 11 | * Sxiv.foreground and Sxiv.background changed to Nsxiv.window.foreground and Nsxiv.window.background | |
| 12 | + | * `Sxiv.font` changed to `Nsxiv.bar.font` | |
| 12 | 13 | * Rework the build system (#19). Now by default we'll build with only optional dependencies that are already installed | |
| 13 | 14 | Added: | |
| 14 | 15 | * Fill scale mode (#2) | |
| @@ -408,7 +408,7 @@ Color of the bar background. Defaults to window.foreground | |||
| 408 | 408 | .B bar.foreground | |
| 409 | 409 | Color of the bar foreground. Defaults to window.background | |
| 410 | 410 | .TP | |
| 411 | − | .B font | |
| 411 | + | .B bar.font | |
| 412 | 412 | Name of Xft bar font | |
| 413 | 413 | .TP | |
| 414 | 414 | Please see xrdb(1) on how to change them. | |
| @@ -130,7 +130,7 @@ void win_init(win_t *win) | |||
| 130 | 130 | res_man = XResourceManagerString(e->dpy); | |
| 131 | 131 | db = res_man != NULL ? XrmGetStringDatabase(res_man) : None; | |
| 132 | 132 | ||
| 133 | − | f = win_res(db, RES_CLASS ".font", "monospace-8"); | |
| 133 | + | f = win_res(db, RES_CLASS ".bar.font", "monospace-8"); | |
| 134 | 134 | win_init_font(e, f); | |
| 135 | 135 | ||
| 136 | 136 | win_bg = win_res(db, RES_CLASS ".window.background", "white"); | |