From 4a4cda2c30984cd3a77ad6a8783b8ce4edaef891 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Wed, 8 Jul 2026 09:48:51 -0700 Subject: dmenu bake in colors --- suckless/dmenu/dmenu-5.4/config.def.h | 6 +++++- suckless/dmenu/dmenu-5.4/config.h | 23 ----------------------- 2 files changed, 5 insertions(+), 24 deletions(-) delete mode 100644 suckless/dmenu/dmenu-5.4/config.h diff --git a/suckless/dmenu/dmenu-5.4/config.def.h b/suckless/dmenu/dmenu-5.4/config.def.h index 1edb647..f7db7e9 100644 --- a/suckless/dmenu/dmenu-5.4/config.def.h +++ b/suckless/dmenu/dmenu-5.4/config.def.h @@ -10,9 +10,13 @@ static const char *prompt = NULL; /* -p option; prompt to the left of static const char *colors[SchemeLast][2] = { /* fg bg */ [SchemeNorm] = { "#bbbbbb", "#222222" }, - [SchemeSel] = { "#eeeeee", "#005577" }, + [SchemeSel] = { "#eeeeee", "#6904f7" }, [SchemeOut] = { "#000000", "#00ffff" }, }; + +static const char col_gray1[] = "#222222"; +static const char col_gray3[] = "#bbbbbb"; +static const char col_purple[] = "#6904f7"; /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ static unsigned int lines = 0; diff --git a/suckless/dmenu/dmenu-5.4/config.h b/suckless/dmenu/dmenu-5.4/config.h deleted file mode 100644 index 1edb647..0000000 --- a/suckless/dmenu/dmenu-5.4/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* See LICENSE file for copyright and license details. */ -/* Default settings; can be overriden by command line. */ - -static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ -/* -fn option overrides fonts[0]; default X11 font or font set */ -static const char *fonts[] = { - "monospace:size=10" -}; -static const char *prompt = NULL; /* -p option; prompt to the left of input field */ -static const char *colors[SchemeLast][2] = { - /* fg bg */ - [SchemeNorm] = { "#bbbbbb", "#222222" }, - [SchemeSel] = { "#eeeeee", "#005577" }, - [SchemeOut] = { "#000000", "#00ffff" }, -}; -/* -l option; if nonzero, dmenu uses vertical list with given number of lines */ -static unsigned int lines = 0; - -/* - * Characters not considered part of a word while deleting words - * for example: " /?\"&[]" - */ -static const char worddelimiters[] = " "; -- cgit v1.2.3