mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-08-28 23:02:24 +02:00
Because the deskintl layout set is for desktop, laptop, and tablet devices with a larger touchscreen. The default font size can be larger than the mobintl layout set's default font size. We created the config.deskintl.h based on config.mobintl.h, which is for mobile devices. However, the current font "Sans 14" is a bit small in my environment, Framework Laptop 12 (a 2-in-1 laptop with a 12.2-inch touchscreen). Signed-off-by: Jun Aruga <jun.aruga@gmail.com> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
#ifndef config_h_INCLUDED
|
|
#define config_h_INCLUDED
|
|
|
|
#define DEFAULT_FONT "Sans 18"
|
|
#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[] = {
|
|
Full, // First layout is the default layout on startup
|
|
Special,
|
|
NumLayouts // signals the last item, may not be omitted
|
|
};
|
|
|
|
#endif // config_h_INCLUDED
|