chore: updated keybinds and style 34049bdf
Steve Simkins · 2025-11-09 19:34 4 file(s) · +16 −16
config.def.h +8 −8
10 10
static const char col_fg[]          = "#ffffff";  /* foreground */
11 11
static const char col_selection[]   = "#222222";  /* selection bg */
12 12
static const char col_gray[]        = "#888888";  /* muted gray */
13 -
static const char col_accent[]      = "#fbcb97";  /* accent color */
13 +
static const char col_accent[]      = "#ffffff";  /* accent color */
14 14
static const char *colors[][3]      = {
15 15
	/*               fg         bg         border   */
16 16
	[SchemeNorm] = { col_fg,    col_bg,    col_gray     },
31 31
};
32 32
33 33
/* layout(s) */
34 -
static const float mfact     = 0.55; /* factor of master area size [0.05..0.95] */
34 +
static const float mfact     = 0.5; /* factor of master area size [0.05..0.95] */
35 35
static const int nmaster     = 1;    /* number of clients in master area */
36 36
static const int resizehints = 1;    /* 1 means respect size hints in tiled resizals */
37 37
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
39 39
40 40
static const Layout layouts[] = {
41 41
	/* symbol     arrange function */
42 -
	{ "[]=",      tile },    /* first entry is default */
43 -
	{ "><>",      NULL },    /* no layout function means floating behavior */
44 -
	{ "[M]",      monocle },
42 +
	{ "",      tile },    /* first entry is default */
43 +
	{ "",      NULL },    /* no layout function means floating behavior */
44 +
	{ "",      monocle },
45 45
};
46 46
47 47
/* key definitions */
59 59
static const char *dmenucmd[] = { "rofi", "-show", "drun", NULL };
60 60
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
61 61
static const char *termcmd[]  = { "wezterm", NULL };
62 -
static const char *browsercmd[]  = { "/home/stevedylandev/Applications/helium-0.6.4.1-x86_64_892a013378cdb3a291a71a624890c408.AppImage %U", NULL };
62 +
// static const char *browsercmd[]  = { "/home/stevedylandev/Applications/helium-0.6.4.1-x86_64_892a013378cdb3a291a71a624890c408.AppImage %U", NULL };
63 63
64 64
static const Key keys[] = {
65 65
	/* modifier                     key        function        argument */
76 76
	{ MODKEY|ShiftMask,             XK_k,      movestack,      {.i = -1 } },
77 77
	{ MODKEY|ShiftMask,             XK_h,      movestack,      {.i = -1 } },
78 78
	{ MODKEY|ShiftMask,             XK_l,      movestack,      {.i = +1 } },
79 -
	// { MODKEY,                       XK_h,      setmfact,       {.f = -0.05} },
80 -
	// { MODKEY,                       XK_l,      setmfact,       {.f = +0.05} },
79 +
	{ MODKEY|ShiftMask,             XK_d,      setmfact,       {.f = -0.05} },
80 +
	{ MODKEY|ShiftMask,             XK_i,      setmfact,       {.f = +0.05} },
81 81
	{ MODKEY,                       XK_Return, zoom,           {0} },
82 82
	{ MODKEY,                       XK_Tab,    view,           {0} },
83 83
	{ MODKEY|ShiftMask,             XK_c,      killclient,     {0} },
config.h +8 −8
10 10
static const char col_fg[]          = "#ffffff";  /* foreground */
11 11
static const char col_selection[]   = "#222222";  /* selection bg */
12 12
static const char col_gray[]        = "#888888";  /* muted gray */
13 -
static const char col_accent[]      = "#fbcb97";  /* accent color */
13 +
static const char col_accent[]      = "#ffffff";  /* accent color */
14 14
static const char *colors[][3]      = {
15 15
	/*               fg         bg         border   */
16 16
	[SchemeNorm] = { col_fg,    col_bg,    col_gray     },
31 31
};
32 32
33 33
/* layout(s) */
34 -
static const float mfact     = 0.55; /* factor of master area size [0.05..0.95] */
34 +
static const float mfact     = 0.5; /* factor of master area size [0.05..0.95] */
35 35
static const int nmaster     = 1;    /* number of clients in master area */
36 36
static const int resizehints = 1;    /* 1 means respect size hints in tiled resizals */
37 37
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
39 39
40 40
static const Layout layouts[] = {
41 41
	/* symbol     arrange function */
42 -
	{ "[]=",      tile },    /* first entry is default */
43 -
	{ "><>",      NULL },    /* no layout function means floating behavior */
44 -
	{ "[M]",      monocle },
42 +
	{ "",      tile },    /* first entry is default */
43 +
	{ "",      NULL },    /* no layout function means floating behavior */
44 +
	{ "",      monocle },
45 45
};
46 46
47 47
/* key definitions */
59 59
static const char *dmenucmd[] = { "rofi", "-show", "drun", NULL };
60 60
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
61 61
static const char *termcmd[]  = { "wezterm", NULL };
62 -
static const char *browsercmd[]  = { "/home/stevedylandev/Applications/helium-0.6.4.1-x86_64_892a013378cdb3a291a71a624890c408.AppImage %U", NULL };
62 +
// static const char *browsercmd[]  = { "/home/stevedylandev/Applications/helium-0.6.4.1-x86_64_892a013378cdb3a291a71a624890c408.AppImage %U", NULL };
63 63
64 64
static const Key keys[] = {
65 65
	/* modifier                     key        function        argument */
76 76
	{ MODKEY|ShiftMask,             XK_k,      movestack,      {.i = -1 } },
77 77
	{ MODKEY|ShiftMask,             XK_h,      movestack,      {.i = -1 } },
78 78
	{ MODKEY|ShiftMask,             XK_l,      movestack,      {.i = +1 } },
79 -
	// { MODKEY,                       XK_h,      setmfact,       {.f = -0.05} },
80 -
	// { MODKEY,                       XK_l,      setmfact,       {.f = +0.05} },
79 +
	{ MODKEY|ShiftMask,             XK_d,      setmfact,       {.f = -0.05} },
80 +
	{ MODKEY|ShiftMask,             XK_i,      setmfact,       {.f = +0.05} },
81 81
	{ MODKEY,                       XK_Return, zoom,           {0} },
82 82
	{ MODKEY,                       XK_Tab,    view,           {0} },
83 83
	{ MODKEY|ShiftMask,             XK_c,      killclient,     {0} },
dwm +0 −0

Binary file — no preview.

dwm.o +0 −0

Binary file — no preview.