aboutsummaryrefslogtreecommitdiff
path: root/src/blocks/text.c
blob: 74df3c327527de8985a543a0a10294d1c2455278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "info.h"

static const config_entry_t block_text_entries[] = {
    { "text",       CONFIG_STRING, offsetof(block_t, text.text) },
    { "text-color", CONFIG_COLOR,  offsetof(block_t, text.text_color) },
    { "text-size",  CONFIG_INT,    offsetof(block_t, text.text_size) },
    { 0 },
};

const config_block_t block_text_info = {
    .type_name = "text",
    .type_size = 0,
    .base = { 0 },
    .entries = block_text_entries,
    .apply = NULL,
};