Sources/dwm/patches/2-custom.patch

75 lines
3.3 KiB
Diff

diff --git a/config.def.h b/config.def.h
--- a/config.def.h 2022-12-03 23:02:59.820577756 +0200
+++ b/config.def.h 2022-12-03 23:15:09.844816736 +0200
@@ -5,32 +5,37 @@
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 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 *fonts[] = { "terminus:size=10" };
+static const char dmenufont[] = "terminus:size=8";
+static const char col_gray1[] = "#222222";
+static const char col_gray2[] = "#1c1c1c";
+static const char col_gray3[] = "#403f3f";
+static const char col_gray4[] = "#666560";
+static const char col_dmenu1[] = "#FD7717";
+static const char col_dmenu2[] = "#ffffff";
+static const char col_dmenu3[] = "#ffffff";
+static const char col_cyan[] = "#222222";
static const char *colors[][3] = {
/* fg bg border */
- [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
- [SchemeSel] = { col_gray4, col_cyan, col_cyan },
+ [SchemeNorm] = { col_dmenu2, col_cyan, col_cyan },
+ [SchemeSel] = { col_dmenu2, col_cyan, col_dmenu2 },
};
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static const char *tagsel[][2] = {
- { "#ffffff", "#ff0000" },
- { "#ffffff", "#ff7f00" },
- { "#000000", "#ffff00" },
- { "#000000", "#00ff00" },
- { "#ffffff", "#0000ff" },
- { "#ffffff", "#4b0082" },
- { "#ffffff", "#9400d3" },
- { "#000000", "#ffffff" },
- { "#ffffff", "#000000" },
+ { "#ffffff", "#fd7717" },
+ { "#ffffff", "#fd7718" },
+ { "#ffffff", "#fd7719" },
+ { "#ffffff", "#fd7720" },
+ { "#ffffff", "#fd7721" },
+ { "#ffffff", "#fd7722" },
+ { "#ffffff", "#fd7723" },
+ { "#ffffff", "#fd7724" },
+ { "#ffffff", "#fd7725" },
};
static const Rule rules[] = {
@@ -69,13 +74,60 @@
/* 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 *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_dmenu2, "-sb", col_dmenu1, "-sf", col_dmenu2, NULL };
static const char *termcmd[] = { "st", NULL };
+static const char *takess[] = { "speedwm-screenshotutil -s -f 5", NULL };
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY|ShiftMask, XK_s, spawn, { .v = takess } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },