summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h22
1 files changed, 17 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h
index 1e72722..4edb2a9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,10 +1,15 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const unsigned int borderpx = 1; /* border pixel of windows */
+static const unsigned int borderpx = 2; /* border pixel of windows */
+static const unsigned int gappx = 10; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
+static const int vertpad = 10; /* vertical padding of bar */
+static const int sidepad = 10; /* horizontal padding of bar */
+static const int barpadding = 10;
+static const int leftpadding = 7;
static const char *fonts[] = { "SauceCodePro Nerd Font:size=10" };
static const char dmenufont[] = "SauceCodePro Nerd Font:size=10";
static const char col_gray1[] = "#222222";
@@ -38,9 +43,9 @@ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen win
static const Layout layouts[] = {
/* symbol arrange function */
- { "[]=", tile }, /* first entry is default */
- { "><>", NULL }, /* no layout function means floating behavior */
- { "[M]", monocle },
+ { "◨", tile }, /* first entry is default */
+ { "F", NULL }, /* no layout function means floating behavior */
+ { "M", monocle },
};
/* key definitions */
@@ -58,10 +63,12 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_green, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL };
-static const char *browsercmd[] = { "qutebrowser", NULL };
+static const char *browsercmd[] = { "librewolf", NULL };
static const char *passcmd[] = { "passmenu", "--type", NULL };
static const char *mailcmd[] = { "st", "neomutt", NULL };
static const char *musiccmd[] = { "st", "cmus", NULL };
+static const char *lockcmd[] = { "slock", NULL };
+static const char *sessioncmd[] = { "powerdialog", NULL };
static Key keys[] = {
/* modifier key function argument */
@@ -71,6 +78,8 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_p, spawn, {.v = passcmd } },
{ MODKEY|ShiftMask, XK_e, spawn, {.v = mailcmd } },
{ MODKEY|ShiftMask, XK_m, spawn, {.v = musiccmd } },
+ { MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } },
+ { MODKEY, XK_q, spawn, {.v = sessioncmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
@@ -92,6 +101,9 @@ static Key keys[] = {
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+ { MODKEY, XK_minus, setgaps, {.i = -1 } },
+ { MODKEY, XK_equal, setgaps, {.i = +1 } },
+ { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)