From f6ca42ad220d2d6fefc4c1691b0b2ae2be1abf35 Mon Sep 17 00:00:00 2001 From: spy Date: Sat, 14 May 2022 08:36:54 +0100 Subject: [PATCH] relocate colours --- colours.h | 6 ++++++ config.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 colours.h diff --git a/colours.h b/colours.h new file mode 100644 index 0000000..10fdcb5 --- /dev/null +++ b/colours.h @@ -0,0 +1,6 @@ +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { "#e1e6d8", "#111313" }, + [SchemeSel] = { "#e1e6d8", "#AFA98E" }, + [SchemeOut] = { "#e1e6d8", "#EBDBB2" }, +}; diff --git a/config.h b/config.h index b5bbe44..30fd1ce 100644 --- a/config.h +++ b/config.h @@ -12,8 +12,8 @@ static const char *fonts[] = { /* -p option; prompt to the left of input field */ static const char *prompt = NULL; -/* colours from cols */ -#include "/home/spy/.config/cols/dmenu.h" +/* colours */ +#include "colours.h" /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ static unsigned int lines = 0;