Support a layout-specific config.h.

* Rename config.def.h to config.mobintl.h.
* config.mobintl.h:
  * Rename the macro config_def_h_INCLUDED to config_h_INCLUDED.
  * Remove a tailing space as a refactoring.
* Makefile: Add config.h to the clean task.

Signed-off-by: Jun Aruga <jun.aruga@gmail.com>
This commit is contained in:
Jun Aruga
2025-08-09 18:05:21 +02:00
committed by Maarten van Gompel
parent b0fd6777fc
commit 49975e78ee
2 changed files with 6 additions and 6 deletions

45
config.mobintl.h Normal file
View File

@@ -0,0 +1,45 @@
#ifndef config_h_INCLUDED
#define config_h_INCLUDED
#define DEFAULT_FONT "Sans 14"
#define DEFAULT_ROUNDING 5
static const int transparency = 255;
struct clr_scheme schemes[] = {
{
/* colors */
.bg = {.bgra = {15, 15, 15, transparency}},
.fg = {.bgra = {45, 45, 45, transparency}},
.high = {.bgra = {100, 100, 100, transparency}},
.swipe = {.bgra = {100, 255, 100, 64}},
.text = {.color = UINT32_MAX},
.font = DEFAULT_FONT,
.rounding = DEFAULT_ROUNDING,
},
{
/* colors */
.bg = {.bgra = {15, 15, 15, transparency}},
.fg = {.bgra = {32, 32, 32, transparency}},
.high = {.bgra = {100, 100, 100, transparency}},
.swipe = {.bgra = {100, 255, 100, 64}},
.text = {.color = UINT32_MAX},
.font = DEFAULT_FONT,
.rounding = DEFAULT_ROUNDING,
}
};
/* layers is an ordered list of layouts, used to cycle through */
static enum layout_id layers[] = {
Full, // First layout is the default layout on startup
Special,
NumLayouts // signals the last item, may not be omitted
};
/* layers is an ordered list of layouts, used to cycle through */
static enum layout_id landscape_layers[] = {
Landscape, // First layout is the default layout on startup
LandscapeSpecial,
NumLayouts // signals the last item, may not be omitted
};
#endif // config_h_INCLUDED