diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-11 22:47:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-11 22:47:09 +0000 |
| commit | 4845f271d9531aa718ee835b6a9645a67101261d (patch) | |
| tree | 08db1fe727be15056cf5baa2eac782e47b618b93 /tools | |
| parent | 770360278c9acd563149b3d6bb2bbcc2f4f1b99b (diff) | |
add support for these...
menu.border.color
window.active.border.color
window.inactive.border.color
Bear2 has a menu color now, the old themerc had that specified
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/themetoxml/themetoxml.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/themetoxml/themetoxml.c b/tools/themetoxml/themetoxml.c index ae9972e2..ace17bf8 100644 --- a/tools/themetoxml/themetoxml.c +++ b/tools/themetoxml/themetoxml.c @@ -346,12 +346,20 @@ int main(int argc, char **argv) CONT3("dimensions", "window", "border", NUM(i)); CONT3("dimensions", "menu", "border", NUM(i)); } + if (read_int(db, "menu.border.width", &i)) + CONT3("dimensions", "menu", "border", NUM(i)); if (read_color(db, "border.color", &i, &j, &k)) { COLOR3("window", "active", "border", i, j, k, 255); COLOR3("window", "inactive", "border", i, j, k, 255); COLOR2("menu", "border", i, j, k, 255); } + if (read_color(db, "window.active.border.color", &i, &j, &k)) + COLOR3("window", "active", "border", i, j, k, 255); + if (read_color(db, "window.inactive.border.color", &i, &j, &k)) + COLOR3("window", "inactive", "border", i, j, k, 255); + if (read_color(db, "menu.border.color", &i, &j, &k)) + COLOR2("menu", "border", i, j, k, 255); if (read_int(db, "window.client.padding.width", &i)) { ATTR3("dimensions", "window", "clientpadding", "x", NUM(i)); |
