From 837ada0a70b3d1b2806b62aa405c29f869142f31 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sun, 7 Aug 2022 10:36:54 +0800 Subject: [PATCH] Change font, gaps, some shortcut --- config.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config.h b/config.h index 04dc77c..32170d9 100644 --- a/config.h +++ b/config.h @@ -8,15 +8,15 @@ /* appearance */ static unsigned int borderpx = 3; /* border pixel of windows */ 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 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 smartgaps = 0; /* 1 means no outer gap when there is only one window */ static int showbar = 1; /* 0 means no 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 normbordercolor[] = "#444444"; static char normfgcolor[] = "#bbbbbb"; @@ -159,8 +159,7 @@ static Key keys[] = { { MODKEY, XK_Tab, view, {0} }, /* { MODKEY|ShiftMask, XK_Tab, spawn, SHCMD("") }, */ - { MODKEY, XK_q, killclient, {0} }, - { MODKEY|ShiftMask, XK_q, spawn, {.v = (const char*[]){ "sysact", NULL } } }, + { MODKEY|ShiftMask, XK_q, killclient, {0} }, { MODKEY, XK_w, spawn, {.v = (const char*[]){ BROWSER, 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") }, @@ -332,3 +331,4 @@ static Button buttons[] = { { ClkTagBar, 0, Button5, shiftview, {.i = 1} }, { ClkRootWin, 0, Button2, togglebar, {0} }, }; +