summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-07-30 00:22:57 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2024-07-30 00:22:57 -0400
commit5232803db693c40bdf4e6a4eb0ab19e06fb5592c (patch)
tree4aecee80f23d9a825b6dfe0a2de0fecb2e1e2a7d /config.h
parenta326eda9c46cae81880181406f99b811826e4b56 (diff)
Revert bar patch in preparation for ipc
Diffstat (limited to 'config.h')
-rw-r--r--config.h32
1 files changed, 4 insertions, 28 deletions
diff --git a/config.h b/config.h
index 424877d..476f3b7 100644
--- a/config.h
+++ b/config.h
@@ -17,26 +17,11 @@ static const float rootcolor[] = COLOR(0x222222ff); // #222222
static const float bordercolor[] = COLOR(0x444444ff); // #444444
static const float focuscolor[] = COLOR(0x005577ff); // #005577
static const float urgentcolor[] = COLOR(0xff0000ff);
-static const int showbar = 1; /* 0 means no bar */
-static const int topbar = 1; /* 0 means bottom bar */
-static const char *fonts[] = {"monospace:size=8"};
/* 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 norm_fg = 0x447a6cff;
-static const uint32_t norm_bg = 0x1b1d1bd0;
-static const uint32_t sel_fg = 0x1b1d1bff;
-static const uint32_t sel_bg = 0x7d4b23d0;
-
-static uint32_t colors[][3] = {
- /* fg bg border */
- [SchemeNorm] = { norm_fg, norm_bg, norm_bg }, // d2 -> 82% Alpha
- [SchemeSel] = { sel_fg, sel_bg, norm_fg },
- [SchemeUrg] = { 0, 0, 0x770000ff },
-};
-
/* tagging - TAGCOUNT must be no greater than 31 */
-static char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+#define TAGCOUNT (9)
/* logging */
static int log_level = WLR_ERROR;
@@ -161,7 +146,6 @@ static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XKB_KEY_d, spawn, {.v = menucmd} },
{ MODKEY, XKB_KEY_Return, spawn, {.v = termcmd} },
- { MODKEY, XKB_KEY_b, togglebar, {0} },
{ MODKEY, XKB_KEY_j, focusstack, {.i = +1} },
{ MODKEY, XKB_KEY_k, focusstack, {.i = -1} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_L, movestack, {.i = +1} },
@@ -254,15 +238,7 @@ static const Key keys[] = {
};
static const Button buttons[] = {
- { ClkLtSymbol, 0, BTN_LEFT, setlayout, {.v = &layouts[0]} },
- { ClkLtSymbol, 0, BTN_RIGHT, setlayout, {.v = &layouts[2]} },
- { ClkTitle, 0, BTN_MIDDLE, zoom, {0} },
- { ClkStatus, 0, BTN_MIDDLE, spawn, {.v = termcmd} },
- { ClkClient, MODKEY, BTN_LEFT, moveresize, {.ui = CurMove} },
- { ClkClient, MODKEY, BTN_MIDDLE, togglefloating, {0} },
- { ClkClient, MODKEY, BTN_RIGHT, moveresize, {.ui = CurResize} },
- { ClkTagBar, 0, BTN_LEFT, view, {0} },
- { ClkTagBar, 0, BTN_RIGHT, toggleview, {0} },
- { ClkTagBar, MODKEY, BTN_LEFT, tag, {0} },
- { ClkTagBar, MODKEY, BTN_RIGHT, toggletag, {0} },
+ { MODKEY, BTN_LEFT, moveresize, {.ui = CurMove} },
+ { MODKEY, BTN_MIDDLE, togglefloating, {0} },
+ { MODKEY, BTN_RIGHT, moveresize, {.ui = CurResize} },
};