Mono to Just font for normal icons

This commit is contained in:
Linux User
2022-08-14 16:43:36 +00:00
parent a587573ee3
commit 5b0ef347d5
5 changed files with 259 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
/* appearance */
#define FONT "JetBrainsMono Nerd Font Mono"
#define FONT "JetBrainsMono Nerd Font"
#define FONTSIZE "10"
static const unsigned int borderpx = 4;
@@ -12,7 +12,7 @@ static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const int horizpadbar = 5;
static const int vertpadbar = 6;
static const char *fonts[] = { FONT":size=10" };
static const char *fonts[] = { FONT":size=10", "Symbols Nerd Font:size=20" };
static const char dmenufont[] = FONT":size="FONTSIZE;
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
@@ -26,7 +26,7 @@ static const char *colors[][3] = {
};
/* tagging */
static const char *tags[] = { "", "", "3", "4", "5", "6", "7", "8", "" };
static const char *tags[] = { "", "", "3", "4", "5", "6", "7", "8", "" };
static const Rule rules[] = {
/* xprop(1):
@@ -52,7 +52,8 @@ static const Layout layouts[] = {
};
/* key definitions */
#define MODKEY Mod1Mask
#define MODKEY Mod4Mask
#define MODKEY2 Mod1Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
@@ -70,21 +71,21 @@ static const char *termcmd[] = { "st", NULL };
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY2, XK_Tab, focusstack, {.i = +1 } },
/* { MODKEY, XK_k, focusstack, {.i = -1 } }, */
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ MODKEY|ShiftMask, XK_c, killclient, {0} },
{ MODKEY|ShiftMask, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {.i = +1} },
{ MODKEY, XK_q, killclient, {0} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_space, setlayout, {0} },
/* { MODKEY, XK_space, setlayout, {0} }, */
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },