From 4aa4ed4a5889f6b47f5c00a685a63cb44cf20786 Mon Sep 17 00:00:00 2001 From: Acid Bong Date: Tue, 18 Oct 2022 18:46:12 +0300 Subject: suggested colourscheme by pywal --- colors-wal-dwm.h | 13 +++++++++++++ config.def.h | 12 ++---------- 2 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 colors-wal-dwm.h 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" }; -- cgit 1.4.1-2-gfad0