diff options
Diffstat (limited to 'dwm-6.2/config.h')
| -rw-r--r-- | dwm-6.2/config.h | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/dwm-6.2/config.h b/dwm-6.2/config.h index 3119dfb..e11dec9 100644 --- a/dwm-6.2/config.h +++ b/dwm-6.2/config.h @@ -1,34 +1,39 @@ #include "../theme.h" +#include "autostart.h" /* See LICENSE file for copyright and license details. */ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ + static const unsigned int gappih = 12; /* horiz inner gap between windows */ static const unsigned int gappiv = 15; /* vert inner gap between windows */ static const unsigned int gappoh = 20; /* horiz outer gap between windows and screen edge */ static const unsigned int gappov = 12; /* vert outer gap between windows and screen edge */ + static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ + static const char *fonts[] = { "Source Code Pro:size=9" }; static const char dmenufont[] = "Source Code Pro:size=9"; + +static const unsigned int baralpha = 0xd0; +static const unsigned int borderalpha = OPAQUE; + static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, [SchemeSel] = { col_gray4, col_cyan, col_cyan }, }; -static const char *const autostart[] = { - "fehbg", NULL, - "dmenu_run && killall dmenu", NULL, - "dwmblocks", NULL, - "picom_run", NULL, - "dunst", NULL, - NULL /* terminate */ +static const unsigned int alphas[][3] = { + [SchemeNorm] = { OPAQUE, baralpha, borderalpha }, + [SchemeSel] = { OPAQUE, baralpha, borderalpha }, }; + /* tagging */ static const char *tags[] = { "/", "dev", "web", "etc", }; @@ -84,7 +89,7 @@ static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_d, spawn, {.v = dmenucmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, - { MODKEY, XK_s, spawn, {.v = scratchpadcmd } }, + { MODKEY, XK_s, spawn, {.v = scratchpadcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, @@ -141,6 +146,7 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_q, spawn, {.v = quitcmd } }, }; + /* button definitions */ /* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ static Button buttons[] = { |