mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Add theme.c to parse openbox's themerc
This commit is contained in:
parent
0ede4c61e6
commit
d40445da1d
10 changed files with 146 additions and 2 deletions
|
|
@ -1,8 +1,10 @@
|
|||
#include "labwc.h"
|
||||
#include "rcxml.h"
|
||||
#include "theme.h"
|
||||
|
||||
struct server server = { 0 };
|
||||
struct rcxml rc = { 0 };
|
||||
struct theme theme = { 0 };
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
@ -27,6 +29,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
rcxml_init(&rc);
|
||||
rcxml_read("data/rc.xml");
|
||||
theme_read("data/themerc");
|
||||
|
||||
/* Wayland requires XDG_RUNTIME_DIR to be set */
|
||||
if (!getenv("XDG_RUNTIME_DIR")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue