Change font, gaps, some shortcut
This commit is contained in:
10
config.h
10
config.h
@@ -8,15 +8,15 @@
|
|||||||
/* appearance */
|
/* appearance */
|
||||||
static unsigned int borderpx = 3; /* border pixel of windows */
|
static unsigned int borderpx = 3; /* border pixel of windows */
|
||||||
static unsigned int snap = 32; /* snap pixel */
|
static unsigned int snap = 32; /* snap pixel */
|
||||||
static unsigned int gappih = 20; /* horiz inner gap between windows */
|
static unsigned int gappih = 10; /* horiz inner gap between windows */
|
||||||
static unsigned int gappiv = 10; /* vert inner gap between windows */
|
static unsigned int gappiv = 10; /* vert inner gap between windows */
|
||||||
static unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
|
static unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
|
||||||
static unsigned int gappov = 30; /* vert outer gap between windows and screen edge */
|
static unsigned int gappov = 10; /* vert outer gap between windows and screen edge */
|
||||||
static int swallowfloating = 0; /* 1 means swallow floating windows by default */
|
static int swallowfloating = 0; /* 1 means swallow floating windows by default */
|
||||||
static int smartgaps = 0; /* 1 means no outer gap when there is only one window */
|
static int smartgaps = 0; /* 1 means no outer gap when there is only one window */
|
||||||
static int showbar = 1; /* 0 means no bar */
|
static int showbar = 1; /* 0 means no bar */
|
||||||
static int topbar = 1; /* 0 means bottom bar */
|
static int topbar = 1; /* 0 means bottom bar */
|
||||||
static char *fonts[] = { "monospace:size=10", "NotoColorEmoji:pixelsize=10:antialias=true:autohint=true" };
|
static char *fonts[] = { "monospace:size=10", "Noto Sans CJK TC:size=10", "NotoColorEmoji:pixelsize=10:antialias=true:autohint=true" };
|
||||||
static char normbgcolor[] = "#222222";
|
static char normbgcolor[] = "#222222";
|
||||||
static char normbordercolor[] = "#444444";
|
static char normbordercolor[] = "#444444";
|
||||||
static char normfgcolor[] = "#bbbbbb";
|
static char normfgcolor[] = "#bbbbbb";
|
||||||
@@ -159,8 +159,7 @@ static Key keys[] = {
|
|||||||
|
|
||||||
{ MODKEY, XK_Tab, view, {0} },
|
{ MODKEY, XK_Tab, view, {0} },
|
||||||
/* { MODKEY|ShiftMask, XK_Tab, spawn, SHCMD("") }, */
|
/* { MODKEY|ShiftMask, XK_Tab, spawn, SHCMD("") }, */
|
||||||
{ MODKEY, XK_q, killclient, {0} },
|
{ MODKEY|ShiftMask, XK_q, killclient, {0} },
|
||||||
{ MODKEY|ShiftMask, XK_q, spawn, {.v = (const char*[]){ "sysact", NULL } } },
|
|
||||||
{ MODKEY, XK_w, spawn, {.v = (const char*[]){ BROWSER, NULL } } },
|
{ MODKEY, XK_w, spawn, {.v = (const char*[]){ BROWSER, NULL } } },
|
||||||
{ MODKEY|ShiftMask, XK_w, spawn, {.v = (const char*[]){ TERMINAL, "-e", "sudo", "nmtui", NULL } } },
|
{ MODKEY|ShiftMask, XK_w, spawn, {.v = (const char*[]){ TERMINAL, "-e", "sudo", "nmtui", NULL } } },
|
||||||
{ MODKEY, XK_e, spawn, SHCMD(TERMINAL " -e neomutt ; pkill -RTMIN+12 dwmblocks; rmdir ~/.abook") },
|
{ MODKEY, XK_e, spawn, SHCMD(TERMINAL " -e neomutt ; pkill -RTMIN+12 dwmblocks; rmdir ~/.abook") },
|
||||||
@@ -332,3 +331,4 @@ static Button buttons[] = {
|
|||||||
{ ClkTagBar, 0, Button5, shiftview, {.i = 1} },
|
{ ClkTagBar, 0, Button5, shiftview, {.i = 1} },
|
||||||
{ ClkRootWin, 0, Button2, togglebar, {0} },
|
{ ClkRootWin, 0, Button2, togglebar, {0} },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user