commit 0c60f5e0cce9feb857ba9fbdd4062a7db93a6625
parent aa4a44681ae25635e61b17439a0ac8a5cfa933d3
Author: Hayden Hamilton <hayden@haydenvh.com>
Date: Mon, 10 Feb 2020 00:16:57 +0000
colourscheme update
Diffstat:
2 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/config.h b/config.h
@@ -7,7 +7,7 @@ static const unsigned int snap = 1; /* 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=8" };
-static const char col_gray1[] = "#0c0a14";
+static const char col_gray1[] = "#0a0a10";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
@@ -64,18 +64,19 @@ static const char *wallblur_[] = { "wallblur", NULL };
static const char *fehffile_[] = { "fehffile", ".cache/rfeh/prev", NULL };
static const char *rmpv_m[] = { "rmpv", "music", "50", NULL };
static const char *rmpv_v[] = { "rmpv", "videos", "50", NULL };
-static const char *dmpv_m[] = { "dmpv", "music", "/tmp/mpv-socket", "/tmp/mpv-socket2", "--no-video", "fuzz" };
-static const char *dmpv_v[] = { "dmpv", "videos", "/tmp/mpv-socket2", "/tmp/mpv-socket", "--fs", "fuzz" };
-static const char *hmpv_back[] = { "hmpv", "back", "/tmp/mpv-socket" };
-static const char *hmpv_forward[] = { "hmpv", "forward", "/tmp/mpv-socket" };
-static const char *hmpv_prev[] = { "hmpv", "prev", "/tmp/mpv-socket" };
-static const char *hmpv_next[] = { "hmpv", "next", "/tmp/mpv-socket" };
-static const char *hmpv_toggle[] = { "hmpv", "toggle", "/tmp/mpv-socket", ";", "hmpv", "toggle", "/tmp/mpv-socket2" };
-static const char *hmpv_quit[] = { "hmpv", "quit", "/tmp/mpv-socket" };
-static const char *vol_up[] = { "hvol", "3.5%+" };
-static const char *vol_down[] = { "hvol", "3.5%-" };
+static const char *dmpv_m[] = { "dmpv", "music", "/tmp/mpv-socket", "/tmp/mpv-socket2", "--no-video", "fuzz", NULL };
+static const char *dmpv_v[] = { "dmpv", "videos", "/tmp/mpv-socket2", "/tmp/mpv-socket", "--fs", "fuzz", NULL };
+static const char *hmpv_back[] = { "hmpv", "back", "/tmp/mpv-socket", NULL };
+static const char *hmpv_forward[] = { "hmpv", "forward", "/tmp/mpv-socket", NULL };
+static const char *hmpv_prev[] = { "hmpv", "prev", "/tmp/mpv-socket", NULL };
+static const char *hmpv_next[] = { "hmpv", "next", "/tmp/mpv-socket", NULL };
+static const char *hmpv_toggle[] = { "hmpv", "toggle", "/tmp/mpv-socket", ";", "hmpv", "toggle", "/tmp/mpv-socket2", NULL };
+static const char *hmpv_quit[] = { "hmpv", "quit", "/tmp/mpv-socket", NULL };
+static const char *vol_up[] = { "hvol", "3.5%+", NULL };
+static const char *vol_down[] = { "hvol", "3.5%-", NULL };
static const char *dpass_[] = { "dpass", NULL };
static const char *slock_mod[] = { "st", "-e", "slock_mod", "/tmp/mpv-socket", "/tmp/mpv-socket2", NULL };
+static const char *cmon_[] = { "cmon", NULL };
static Key keys[] = {
/* modifier key function argument */
@@ -92,7 +93,8 @@ static Key keys[] = {
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
- { MODKEY, XK_l, setmfact, {.f = +0.05} },
+ { MODKEY, XK_l, setmfact, {.f = +0.05 } },
+ { MODKEY, XK_m, spawn, {.v = cmon_ } },
{ MODKEY, XK_p, incnmaster, {.i = -1 } },
{ MODKEY, XK_q, killclient, {0} },
{ MODKEY|ShiftMask, XK_q, quit, {0} },
diff --git a/dwm.c b/dwm.c
@@ -2168,7 +2168,7 @@ fibonacci(Monitor *mon, int s) {
nw = mon->ww - nw;
i++;
}
- resize(c, nx, ny, nw - (2 * c->bw) - mon->gappx, nh - 2*c->bw - mon->gappx, False);
+ resize(c, nx + mon->gappx, ny + mon->gappx, nw - (2 * c->bw) - 2*mon->gappx, nh - 2*c->bw - 2*mon->gappx, False);
}
}