change .font to .bar.font for consistency (#48)
This commit is contained in:
parent
7cce7ea857
commit
0b20783164
@ -9,6 +9,7 @@ nsxiv
|
|||||||
Changes:
|
Changes:
|
||||||
* Re-release under the name nsxiv
|
* Re-release under the name nsxiv
|
||||||
* Sxiv.foreground and Sxiv.background changed to Nsxiv.window.foreground and Nsxiv.window.background
|
* Sxiv.foreground and Sxiv.background changed to Nsxiv.window.foreground and Nsxiv.window.background
|
||||||
|
* `Sxiv.font` changed to `Nsxiv.bar.font`
|
||||||
* Rework the build system (#19). Now by default we'll build with only optional dependencies that are already installed
|
* Rework the build system (#19). Now by default we'll build with only optional dependencies that are already installed
|
||||||
Added:
|
Added:
|
||||||
* Fill scale mode (#2)
|
* Fill scale mode (#2)
|
||||||
|
2
nsxiv.1
2
nsxiv.1
@ -408,7 +408,7 @@ Color of the bar background. Defaults to window.foreground
|
|||||||
.B bar.foreground
|
.B bar.foreground
|
||||||
Color of the bar foreground. Defaults to window.background
|
Color of the bar foreground. Defaults to window.background
|
||||||
.TP
|
.TP
|
||||||
.B font
|
.B bar.font
|
||||||
Name of Xft bar font
|
Name of Xft bar font
|
||||||
.TP
|
.TP
|
||||||
Please see xrdb(1) on how to change them.
|
Please see xrdb(1) on how to change them.
|
||||||
|
2
window.c
2
window.c
@ -130,7 +130,7 @@ void win_init(win_t *win)
|
|||||||
res_man = XResourceManagerString(e->dpy);
|
res_man = XResourceManagerString(e->dpy);
|
||||||
db = res_man != NULL ? XrmGetStringDatabase(res_man) : None;
|
db = res_man != NULL ? XrmGetStringDatabase(res_man) : None;
|
||||||
|
|
||||||
f = win_res(db, RES_CLASS ".font", "monospace-8");
|
f = win_res(db, RES_CLASS ".bar.font", "monospace-8");
|
||||||
win_init_font(e, f);
|
win_init_font(e, f);
|
||||||
|
|
||||||
win_bg = win_res(db, RES_CLASS ".window.background", "white");
|
win_bg = win_res(db, RES_CLASS ".window.background", "white");
|
||||||
|
Loading…
Reference in New Issue
Block a user