about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAcid Bong <acid-bong@cock.lt>2022-10-18 18:46:12 +0300
committerAcid Bong <acid-bong@cock.lt>2022-10-18 18:46:12 +0300
commit4aa4ed4a5889f6b47f5c00a685a63cb44cf20786 (patch)
treedea092e7d8602fbb44707cb5ad129ea4056deec4
parent1ba0abf1e079359c1509773b81a20ded9fb550f6 (diff)
downloaddwm-4aa4ed4a5889f6b47f5c00a685a63cb44cf20786.tar.gz
suggested colourscheme by pywal
-rw-r--r--colors-wal-dwm.h13
-rw-r--r--config.def.h12
2 files changed, 15 insertions, 10 deletions
diff --git a/colors-wal-dwm.h b/colors-wal-dwm.h
new file mode 100644
index 0000000..7e04ed2
--- /dev/null
+++ b/colors-wal-dwm.h
@@ -0,0 +1,13 @@
+static const char norm_fg[] = "#bfc0c0";
+static const char norm_bg[] = "#020305";
+static const char norm_border[] = "#414243";
+
+static const char sel_fg[] = "#bfc0c0";
+static const char sel_bg[] = "#b1421a";
+static const char sel_border[] = "#bfc0c0";
+
+static const char *colors[][3]      = {
+    /*               fg           bg         border                         */
+    [SchemeNorm] = { norm_fg,     norm_bg,   norm_border }, // unfocused wins
+    [SchemeSel]  = { sel_fg,      sel_bg,    sel_border },  // the focused win
+};
diff --git a/config.def.h b/config.def.h
index d6886f1..a764f79 100644
--- a/config.def.h
+++ b/config.def.h
@@ -6,16 +6,8 @@ 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 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 *colors[][3]      = {
-	/*               fg         bg         border   */
-	[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
-	[SchemeSel]  = { col_gray4, col_cyan,  col_cyan  },
-};
+/* pywal integration */
+#include "colors-wal-dwm.h"
 
 /* tagging */
 static const char *tags[] = { "1", "2", "3", "4", "5" };