2020-08-03 20:56:38 +01:00
|
|
|
#ifndef __LABWC_RCXML_H
|
|
|
|
|
#define __LABWC_RCXML_H
|
2020-06-05 23:04:54 +01:00
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
2020-09-28 20:41:41 +01:00
|
|
|
#include <stdio.h>
|
2020-06-16 07:21:53 +01:00
|
|
|
#include <wayland-server-core.h>
|
2020-06-05 23:04:54 +01:00
|
|
|
|
2020-07-31 21:31:03 +01:00
|
|
|
#include "common/buf.h"
|
2020-06-19 22:00:22 +01:00
|
|
|
|
2020-06-05 23:04:54 +01:00
|
|
|
struct rcxml {
|
2020-09-15 21:10:02 +01:00
|
|
|
bool xdg_shell_server_side_deco;
|
2021-05-27 02:11:11 +03:00
|
|
|
bool focus_follow_mouse;
|
|
|
|
|
bool raise_on_focus;
|
2020-07-09 22:41:54 +01:00
|
|
|
char *theme_name;
|
2021-03-30 22:39:52 +01:00
|
|
|
int corner_radius;
|
2020-07-31 11:11:50 +01:00
|
|
|
char *font_name_activewindow;
|
2021-08-20 20:27:52 +01:00
|
|
|
char *font_name_menuitem;
|
2020-07-31 11:11:50 +01:00
|
|
|
int font_size_activewindow;
|
2021-08-20 20:27:52 +01:00
|
|
|
int font_size_menuitem;
|
2020-06-16 07:21:53 +01:00
|
|
|
struct wl_list keybinds;
|
2020-06-05 23:04:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extern struct rcxml rc;
|
|
|
|
|
|
2020-06-09 21:40:46 +01:00
|
|
|
void rcxml_parse_xml(struct buf *b);
|
2020-06-05 23:04:54 +01:00
|
|
|
void rcxml_read(const char *filename);
|
2020-08-13 20:18:48 +01:00
|
|
|
void rcxml_finish(void);
|
2020-06-05 23:04:54 +01:00
|
|
|
|
2020-08-03 20:56:38 +01:00
|
|
|
#endif /* __LABWC_RCXML_H */
|