From 9c2a7d001dc4cf205b79aeb2d1196e26977111fc Mon Sep 17 00:00:00 2001 From: 0scar Date: Mon, 20 Jan 2025 20:39:48 +0100 Subject: tmp --- config.def.h | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index f5b274b..adb2dfe 100644 --- a/config.def.h +++ b/config.def.h @@ -20,11 +20,25 @@ static const float rootcolor[] = COLOR(0x000000ff); /* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */ static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */ +static const uint32_t col_primary = 0xae81ffff; /* selection bg */ + +static const uint32_t col_border = 0x444444ff; + +static const uint32_t col_fg = 0xbbbbbbff; +static const uint32_t col_fg_sel = 0xeeeeeeff; + +static const uint32_t col_bg = 0x080808ff; +static const uint32_t col_bg_sel = 0x323437ff; + +static const uint32_t col_sel = 0x323437ff; +static const uint32_t col_red = 0x770000ff; + static uint32_t colors[][3] = { - /* fg bg border */ - [SchemeNorm] = { 0xbbbbbbff, 0x222222ff, 0x444444ff }, - [SchemeSel] = { 0xeeeeeeff, 0x005577ff, 0xae81ffff }, - [SchemeUrg] = { 0, 0, 0x770000ff }, + /* fg bg border */ + [SchemeNorm] = { col_fg, col_bg, col_border }, + [SchemeSel] = { col_fg_sel, col_bg_sel, col_primary }, + [SchemeTagSel] = { col_bg, col_primary, col_border }, + [SchemeUrg] = { 0, 0, col_red }, }; static char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; @@ -144,8 +158,8 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ -static const char *browsercmd[] = {"firefox-developer-edition"}; -static const char *browsercmd_p[] = {"firefox-developer-edition", "-P"}; +static const char *browsercmd[] = {"firefox-developer-edition", NULL}; +static const char *browsercmd_p[] = {"firefox-developer-edition", "-P", NULL}; static const char *menucmd[] = { "bemenu_run_history", "-p", "$", NULL }; static const char *termcmd[] = { TERMINAL, "-d", "none", NULL }; -- cgit v1.3