commit ec43b08130072e2db572181598bd15c55d226067
parent e3c929a622f87a4463fd1feb99dd3faf3acd3f55
Author: Luke Jones <luke.jones.2567@gmail.com>
Date: Tue, 13 Oct 2026 11:55:46 +0100
refactor: some configz
Diffstat:
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -3,20 +3,20 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const unsigned int borderpx = 3; /* border pixel of windows */
+static const unsigned int borderpx = 2; /* border pixel of windows */
static const unsigned int snap = 0; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
-static const char *fonts[] = { "monospace:size=10" };
-static const char dmenufont[] = "monospace:size=10";
-#define COORDINATES_STYLE "[x%d y%d]" /* The style of coordinates displayed in bar, do not remove %d. */
-
-static MAYBE_CONST char normbgcolor[] = "#222222";
-static MAYBE_CONST char normbordercolor[] = "#444444";
-static MAYBE_CONST char normfgcolor[] = "#bbbbbb";
-static MAYBE_CONST char selfgcolor[] = "#eeeeee";
-static MAYBE_CONST char selbordercolor[] = "#005577";
-static MAYBE_CONST char selbgcolor[] = "#005577";
+static const char *fonts[] = { "monospace:size=9" };
+static const char dmenufont[] = "monospace:size=9";
+#define COORDINATES_STYLE "%d %d" /* The style of coordinates displayed in bar, do not remove %d. */
+
+static MAYBE_CONST char normbgcolor[] = "#ffffff";
+static MAYBE_CONST char normbordercolor[] = "#ffffff";
+static MAYBE_CONST char normfgcolor[] = "#000000";
+static MAYBE_CONST char selfgcolor[] = "#ffffff";
+static MAYBE_CONST char selbordercolor[] = "#ffffff";
+static MAYBE_CONST char selbgcolor[] = "#000000";
static MAYBE_CONST char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { normfgcolor, normbgcolor, normbordercolor },
@@ -52,10 +52,10 @@ static const int right_sidepad = 0; /* right horizontal padding of bar */
#endif
/* tagging */
-static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+static const char *tags[] = { "1", "2", "3" };
#if OCCUPIED_TAGS_DECORATION
-static const char *occupiedtags[] = { "1+", "2+", "3+", "4+", "5+", "6+", "7+", "8+", "9+" };
+static const char *occupiedtags[] = { "1+", "2+", "3+" };
#endif
#if INFINITE_TAGS
@@ -75,7 +75,7 @@ static const char *occupiedtags[] = { "1+", "2+", "3+", "4+", "5+", "6+", "7+",
/* vxwm will execute this on startup (can be skipped with -ignoreautostart vxwm flag). */
static const char *const autostart[] = {
- "st",
+ "terminator",
NULL /* must end with NULL */
};
#endif
@@ -96,7 +96,7 @@ static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
#if LOCK_MOVE_RESIZE_REFRESH_RATE
-static const int refreshrate = 360; /* refresh rate (per second) for client move/resize, set it to your monitor refresh rate or double of that*/
+static const int refreshrate = 60; /* refresh rate (per second) for client move/resize, set it to your monitor refresh rate or double of that*/
#endif //LOCK_MOVE_RESIZE_REFRESH_RATE
static const Layout layouts[] = {
/* symbol arrange function */
@@ -123,9 +123,9 @@ static const Layout layouts[] = {
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
-static const char *dmenucmd[] = { "dmenu_run", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
+static const char *dmenucmd[] = { "dmenu_run", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, "-y", 480, "-z", 300, NULL };
-static const char *termcmd[] = { "st", NULL };
+static const char *termcmd[] = { "terminator", NULL };
#if ZOOM
static const char *zoomin[] = { "vcompmgr", "-Z", "+0.15", NULL }; // zoom in
@@ -136,7 +136,7 @@ static const char *zoomreset[] = { "vcompmgr", "-Z", "1", NULL }; // set zoom to
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
- { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },