From c6ce014c500e69bd366d42218178cbcd4ca99b1e Mon Sep 17 00:00:00 2001 From: spy Date: Thu, 24 Feb 2022 01:18:30 +0000 Subject: [PATCH 1/2] update cols --- config.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/config.h b/config.h index d781fc5..6da7d16 100644 --- a/config.h +++ b/config.h @@ -7,13 +7,10 @@ static const char *fonts[] = { "Iosevka:pixelsize=14:antialias=true:autohint=true" }; static const char *prompt = NULL; /* -p option; prompt to the left of input field */ -#include "/home/spy/cols/dmenu.h" -//static const char *colors[SchemeLast][2] = { - /* fg bg */ -// [SchemeNorm] = { "#bbbbbb", "#222222" }, -// [SchemeSel] = { "#eeeeee", "#005577" }, -// [SchemeOut] = { "#000000", "#00ffff" }, -//}; + +/* Colours from cols */ +#include "/home/spy/.cols/dmenu.h" + /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ static unsigned int lines = 0; From 7dd70aad8870883c83f7fda8036f473062e8d2bd Mon Sep 17 00:00:00 2001 From: spy Date: Thu, 24 Feb 2022 01:21:48 +0000 Subject: [PATCH 2/2] clean up config.h --- config.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/config.h b/config.h index 6da7d16..69b3b08 100644 --- a/config.h +++ b/config.h @@ -1,15 +1,19 @@ /* 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 */ +/* -b option; if 0, dmenu appears at bottom */ +static int topbar = 0; + /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = { "Iosevka:pixelsize=14:antialias=true:autohint=true" }; -static const char *prompt = NULL; /* -p option; prompt to the left of input field */ -/* Colours from cols */ -#include "/home/spy/.cols/dmenu.h" +/* -p option; prompt to the left of input field */ +static const char *prompt = NULL; + +/* colours from cols */ +#include "/home/spy/.config/cols/dmenu.h" /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ static unsigned int lines = 0;