From c1768ebff53ce78e91c7e962a03368a61c3ecf1f Mon Sep 17 00:00:00 2001 From: Acid Bong Date: Thu, 20 Oct 2022 22:06:28 +0300 Subject: shortened the pywal colours name --- colors-wal.h | 13 ------------- config.def.h | 2 +- wal.h | 13 +++++++++++++ 3 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 colors-wal.h create mode 100644 wal.h diff --git a/colors-wal.h b/colors-wal.h deleted file mode 100644 index e04f5fc..0000000 --- a/colors-wal.h +++ /dev/null @@ -1,13 +0,0 @@ -static const char norm_fg[] = "#e5e5e5"; -static const char norm_bg[] = "#414243"; -static const char norm_border[] = "#414243"; - -static const char sel_fg[] = "#ebecec"; -static const char sel_bg[] = "#b1421a"; -static const char sel_border[] = "#f19e25"; - -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 2386978..a8ce53b 100644 --- a/config.def.h +++ b/config.def.h @@ -14,7 +14,7 @@ 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", "Symbola:size=10", "Symbols Nerd Font Mono:size=10" }; /* pywal integration */ -#include "colors-wal.h" +#include "wal.h" /* tagging */ static const char *tags[] = { "1", "2", "3", "4", "5" }; diff --git a/wal.h b/wal.h new file mode 100644 index 0000000..e04f5fc --- /dev/null +++ b/wal.h @@ -0,0 +1,13 @@ +static const char norm_fg[] = "#e5e5e5"; +static const char norm_bg[] = "#414243"; +static const char norm_border[] = "#414243"; + +static const char sel_fg[] = "#ebecec"; +static const char sel_bg[] = "#b1421a"; +static const char sel_border[] = "#f19e25"; + +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 +}; -- cgit 1.4.1-2-gfad0