1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
--- a/config.def.h 2020-09-18 17:19:09.346273268 +0800
+++ b/config.def.h 2020-09-18 17:30:18.336279833 +0800
@@ -1,21 +1,30 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const unsigned int borderpx = 1; /* border pixel of windows */
+static const unsigned int borderpx = 4; /* border pixel of 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 *fonts[] = {
+ "monospace:size=14",
+ "Noto Sans CJK SC:size=14",
+ "Noto Sans CJK TC:size=14",
+ "Noto Sans CJK HK:size=14",
+ "Noto Sans CJK JP:size=14",
+ "Noto Sans CJK KR:size=14",
+ "Noto Color Emoji:size=14"
+};
+static const char dmenufont[] = "monospace:size=14";
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 border_color[] = "#e07b39";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
- [SchemeSel] = { col_gray4, col_cyan, col_cyan },
+ [SchemeSel] = { col_gray4, col_cyan, border_color },
};
/* tagging */
@@ -28,7 +37,10 @@
*/
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, 1, -1 },
- { "Firefox", NULL, NULL, 1 << 8, 0, -1 },
+ { "firefox", NULL, NULL, 1 << 1, 0, -1 },
+ { "Nightly", NULL, NULL, 1 << 1, 0, -1 },
+ { "Qemu-system-x86_64", "qemu", NULL, 0, 1, -1 },
+ { "Steam", "Steam", NULL, 1 << 8, 0, -1 },
};
/* layout(s) */
@@ -44,7 +56,7 @@
};
/* key definitions */
-#define MODKEY Mod1Mask
+#define MODKEY Mod4Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
@@ -57,7 +69,7 @@
/* 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 *termcmd[] = { "st", NULL };
+static const char *termcmd[] = { "alacritty", NULL };
static Key keys[] = {
/* modifier key function argument */
|