diff options
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/config.def.h b/config.def.h index 74ce003..d69d0ff 100644 --- a/config.def.h +++ b/config.def.h @@ -20,14 +20,12 @@ static const int showbar = 0; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const char *fonts[] = { "BigBlueTermPlus Nerd Font:size=14" }; static const float rootcolor[] = COLOR(0x000000ff); -static const int trayspacing = 4; /* Spacing between icons in system tray */ -static const int traymargins = 4; /* System tray inner margins */ /* 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 uint32_t colors[][3] = { /* fg bg border */ - [SchemeNorm] = { 0xbbbbbbff, 0x222222ff, 0x444444ff }, - [SchemeSel] = { 0xeeeeeeff, 0x005577ff, 0x005577ff }, + [SchemeNorm] = { 0xebdbb2ff, 0x1d2021ff, 0x32302fff }, + [SchemeSel] = { 0xebdbb2ff, 0x9d0006ff, 0x9d0006ff }, [SchemeUrg] = { 0, 0, 0x770000ff }, }; @@ -44,11 +42,36 @@ static char *tags[] = { " " }; -static const unsigned int ulinepad = 5; /* horizontal padding between the underline and tag */ +static const unsigned int ulinepad = 6; /* horizontal padding between the underline and tag */ static const unsigned int ulinestroke = 2; /* thickness / height of the underline */ static const unsigned int ulinevoffset = 0; /* how far above the bottom of the bar the line should appear */ static const int ulineall = 0; /* 1 to show underline on all tags, 0 for just the active ones */ +static uint32_t tagsel[][3] = { + /* fg bg */ + // gruvbox light + // { "#9d0006", "#1d2021", "" }, // red + // { "#79740e", "#1d2021", "" }, // green + // { "#b57614", "#1d2021", "" }, // yellow + // { "#076678", "#1d2021", "" }, // blue + // { "#8f3f71", "#1d2021", "" }, // magenta + // { "#427b58", "#1d2021", "" }, // cyan + // { "#af3a03", "#1d2021", "" }, // orange + // { "#928374", "#1d2021", "" }, // gray + // { "#ebdbb2", "#1d2021", "" }, // white + // gruvbox dark + { 0xcc241dff, 0x1d2021ff }, // red + { 0xd65d0eff, 0x1d2021ff }, // orange + { 0xd79921ff, 0x1d2021ff }, // yellow + { 0x458588ff, 0x1d2021ff }, // blue + { 0x8ec07cff, 0x1d2021ff }, // cyan + { 0x98971aff, 0x1d2021ff }, // green + { 0xb16286ff, 0x1d2021ff }, // magenta + { 0xfe8019ff, 0x1d2021ff }, // re orange + { 0xebdbb2ff, 0x1d2021ff }, // white + { 0x7c6f64ff, 0x1d2021ff }, // empty +}; + /* logging */ static int log_level = WLR_ERROR; @@ -80,6 +103,7 @@ const char *spnews[] = {"n", "alacritty", "--title", "spnews", "-e", "nb", NULL static const Layout layouts[] = { /* symbol arrange function */ { "[]=", tile }, + { "###", gaplessgrid }, { "[M]", monocle }, { "><>", NULL }, /* no layout function means floating behavior */ }; @@ -221,8 +245,9 @@ static const Key keys[] = { { META, XKB_KEY_Escape, view, {0} }, { MODKEY, XKB_KEY_q, killclient, {0} }, { MODKEY, XKB_KEY_s, setlayout, {.v = &layouts[0]} }, - { MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[1]} }, - { MODKEY, XKB_KEY_n, setlayout, {.v = &layouts[2]} }, + { MODKEY, XKB_KEY_v, setlayout, {.v = &layouts[1]} }, + { MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} }, + { MODKEY, XKB_KEY_n, setlayout, {.v = &layouts[3]} }, { MODKEY|SHIFT, XKB_KEY_space, setlayout, {0} }, { MODKEY, XKB_KEY_space, togglefloating, {0} }, { MODKEY, XKB_KEY_f, togglefullscreen, {0} }, |