summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Kochurov2020-01-26 21:28:44 +0300
committerMaxim Kochurov2020-01-26 21:28:44 +0300
commit335827ea70f83500c0df9e1e326aabde636a7325 (patch)
treec3983611a6863356ac3774ef2fc0ddd99a51ebe3
parent1463c9929ab48f10865fcaac0373cebcc73a759a (diff)
downloadaur-335827ea70f83500c0df9e1e326aabde636a7325.tar.gz
gitignore+bindings
-rw-r--r--.gitignore2
-rw-r--r--config.h18
2 files changed, 11 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..095e840c301
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*.o
+dwm
diff --git a/config.h b/config.h
index ede8f867bac..ce429ef7fd6 100644
--- a/config.h
+++ b/config.h
@@ -5,8 +5,8 @@ static const unsigned int borderpx = 1; /* 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[] = { "Terminus:size=14" };//-*-terminus-medium-*-normal--24-240-72--72-c-120-*-1
-static const char dmenufont[] = "monospace:size=10";
+static const char *fonts[] = { "FiraCode:size=14" };//-*-terminus-medium-*-normal--24-240-72--72-c-120-*-1
+static const char dmenufont[] = "FiraCode:size=14";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
@@ -44,7 +44,7 @@ static const Layout layouts[] = {
};
/* 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} }, \
@@ -52,7 +52,7 @@ static const Layout layouts[] = {
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
-#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
+#define SHCMD(cmd) { .v = (const char*[]){ "/bin/zsh", "-c", cmd, NULL } }
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
@@ -61,8 +61,8 @@ 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_d, spawn, {.v = dmenucmd } }, // launch dmenu
+ { MODKEY, XK_Return, spawn, {.v = termcmd } }, // launch terminal
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
@@ -70,9 +70,9 @@ static Key keys[] = {
{ 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_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
- { MODKEY|ShiftMask, XK_c, killclient, {0} },
+ { 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]} },
@@ -93,7 +93,7 @@ static Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
- { MODKEY|ShiftMask, XK_q, quit, {0} },
+ { MODKEY|ShiftMask, XK_e, quit, {0} },
};
/* button definitions */