diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-01-18 23:56:01 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-01-19 01:19:27 +0300 |
commit | 11a83b5b8fb54a2d8decc454c15d198f18ef0022 (patch) | |
tree | 0580dfd9cc69a8f24945bbc29cf2d442bdd57697 | |
parent | c9cfcb6519b6f731bc0d3b77075eef7a81c9120a (diff) | |
download | dwm-11a83b5b8fb54a2d8decc454c15d198f18ef0022.tar.gz |
feat: use Fira Code
-rw-r--r-- | config.def.h | 23 | ||||
-rw-r--r-- | dwm.c | 2 |
2 files changed, 9 insertions, 16 deletions
diff --git a/config.def.h b/config.def.h index b8d9510..a5914c1 100644 --- a/config.def.h +++ b/config.def.h @@ -2,21 +2,18 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int gappx = 5; /* 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 char *fonts[] = { "monospace:size=10" }; -static const char dmenufont[] = "monospace:size=10"; -static const char col_gray1[] = "#222222"; -static const char col_gray2[] = "#444444"; -static const char col_gray3[] = "#bbbbbb"; -static const char col_gray4[] = "#eeeeee"; -static const char col_cyan[] = "#005577"; +static const char *fonts[] = { "fira code nerd font:pixelsize=12:antialias=true:autohint=true" }; +static const char col_background[] = "#1d2021"; +static const char col_foreground[] = "#ebdbb2"; +static const char col_primary[] = "#689d6a"; static const char *colors[][3] = { /* fg bg border */ - [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, - [SchemeSel] = { col_gray4, col_cyan, col_cyan }, + [SchemeNorm] = { col_foreground, col_background, "#000000" }, + [SchemeSel] = { col_foreground, col_primary, col_primary }, + [SchemeStatus] = { col_foreground, col_background, "#000000" }, }; /* tagging */ @@ -58,7 +55,7 @@ static const Layout layouts[] = { /* commands */ 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_cyan, "-sf", col_gray4, NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, NULL }; static const char *termcmd[] = { "st", NULL }; static Key keys[] = { @@ -87,9 +84,6 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_h, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_l, tagmon, {.i = +1 } }, { MODKEY, XK_r, resizemouse, {0} }, - { 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) @@ -118,4 +112,3 @@ static Button buttons[] = { { ClkTagBar, MODKEY, Button1, tag, {0} }, { ClkTagBar, MODKEY, Button3, toggletag, {0} }, }; - @@ -61,7 +61,7 @@ /* enums */ enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ -enum { SchemeNorm, SchemeSel }; /* color schemes */ +enum { SchemeNorm, SchemeSel, SchemeStatus }; /* color schemes */ enum { NetSupported, NetWMName, NetWMState, NetWMCheck, NetWMFullscreen, NetActiveWindow, NetWMWindowType, NetWMWindowTypeDialog, NetClientList, NetLast }; /* EWMH atoms */ |