[hackers] [nord][PATCH] Added nord colorscheme patch for dwm

From: depsterr <depsterr_AT_protonmail.com>
Date: Sun, 17 May 2020 19:33:49 +0000

From: depsterr <dragonvale09_AT_gmail.com>

---
 .../nord/dwm-nord-20200517-f09418b.diff       | 47 +++++++++++++++++++
 .../patches/nord/dwm-nord-6.2.diff            | 35 ++++++++++++++
 dwm.suckless.org/patches/nord/index.md        | 15 ++++++
 3 files changed, 97 insertions(+)
 create mode 100644 dwm.suckless.org/patches/nord/dwm-nord-20200517-f09418b.diff
 create mode 100644 dwm.suckless.org/patches/nord/dwm-nord-6.2.diff
 create mode 100644 dwm.suckless.org/patches/nord/index.md
diff --git a/dwm.suckless.org/patches/nord/dwm-nord-20200517-f09418b.diff b/dwm.suckless.org/patches/nord/dwm-nord-20200517-f09418b.diff
new file mode 100644
index 00000000..2696d9cb
--- /dev/null
+++ b/dwm.suckless.org/patches/nord/dwm-nord-20200517-f09418b.diff
_AT_@ -0,0 +1,47 @@
+From 6d73760636ff507487bdd77d7ba0c0b36177d9a1 Mon Sep 17 00:00:00 2001
+From: depsterr <dragonvale09_AT_gmail.com>
+Date: Sun, 17 May 2020 13:35:33 +0200
+Subject: [PATCH] Added nord colorscheme to config.def.h
+
+---
+ config.def.h | 15 +++++++--------
+ 1 file changed, 7 insertions(+), 8 deletions(-)
+
+diff --git a/config.def.h b/config.def.h
+index 1c0b587..29cc51b 100644
+--- a/config.def.h
++++ b/config.def.h
+_AT_@ -7,15 +7,14 @@ 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 col_gray1[]       = "#2e3440";
++static const char col_gray4[]       = "#4c566a";
++static const char col_white2[]      = "#e5e9f0";
++static const char col_white3[]      = "#eceff4";
+ static const char *colors[][3]      = {
+ 	/*               fg         bg         border   */
+-	[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
+-	[SchemeSel]  = { col_gray4, col_cyan,  col_cyan  },
++	[SchemeNorm] = { col_white2, col_gray1, col_gray1 },
++	[SchemeSel]  = { col_white3, col_gray4, col_gray4  },
+ };
+ 
+ /* tagging */
+_AT_@ -56,7 +55,7 @@ static const Layout layouts[] = {
+ 
+ /* 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_white3, "-sb", col_gray4, "-sf", col_white3, NULL };
+ static const char *termcmd[]  = { "st", NULL };
+ 
+ static Key keys[] = {
+-- 
+2.26.2
+
diff --git a/dwm.suckless.org/patches/nord/dwm-nord-6.2.diff b/dwm.suckless.org/patches/nord/dwm-nord-6.2.diff
new file mode 100644
index 00000000..0f61e5bf
--- /dev/null
+++ b/dwm.suckless.org/patches/nord/dwm-nord-6.2.diff
_AT_@ -0,0 +1,35 @@
+diff --git a/./config.def.h b/../dwm-6.2-patched/config.def.h
+index 1c0b587..29cc51b 100644
+--- a/./config.def.h
++++ b/../dwm-6.2-patched/config.def.h
+_AT_@ -7,15 +7,14 @@ 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 col_gray1[]       = "#2e3440";
++static const char col_gray4[]       = "#4c566a";
++static const char col_white2[]      = "#e5e9f0";
++static const char col_white3[]      = "#eceff4";
+ static const char *colors[][3]      = {
+ 	/*               fg         bg         border   */
+-	[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
+-	[SchemeSel]  = { col_gray4, col_cyan,  col_cyan  },
++	[SchemeNorm] = { col_white2, col_gray1, col_gray1 },
++	[SchemeSel]  = { col_white3, col_gray4, col_gray4  },
+ };
+ 
+ /* tagging */
+_AT_@ -56,7 +55,7 @@ static const Layout layouts[] = {
+ 
+ /* 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_white3, "-sb", col_gray4, "-sf", col_white3, NULL };
+ static const char *termcmd[]  = { "st", NULL };
+ 
+ static Key keys[] = {
diff --git a/dwm.suckless.org/patches/nord/index.md b/dwm.suckless.org/patches/nord/index.md
new file mode 100644
index 00000000..788ff88d
--- /dev/null
+++ b/dwm.suckless.org/patches/nord/index.md
_AT_@ -0,0 +1,15 @@
+Nord
+=====
+
+Description
+-----------
+This patch brings the popular nord colourscheme to dwm.
+
+Download
+--------
+* [dwm-nord-20200517-f09418b.diff](dwm-nord-20200517-f09418b.diff)
+* [dwm-nord-6.2.diff](dwm-nord-6.2.diff)
+
+Author
+------
+* depsterr - <depsterr at protonmail dot com>
-- 
2.26.2
Received on Sun May 17 2020 - 21:33:49 CEST

This archive was generated by hypermail 2.3.0 : Sun May 17 2020 - 21:36:38 CEST