From 18a3bfdb765bfe9f72d8eb62bc7505e896a4e6f2 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Mon, 16 Jun 2025 16:09:59 +0200 Subject: update --- config.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 3a36d3e..9a79dfc 100644 --- a/config.h +++ b/config.h @@ -2,15 +2,17 @@ /* Default settings; can be overriden by command line. */ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ -static int centered = 1; /* -c option; centers dmenu on screen */ +static int centered = 0; /* -c option; centers dmenu on screen */ static int min_width = 500; /* minimum width when centered */ -static const float menu_height_ratio = 4.0f; /* This is the ratio used in the original calculation */ +static const float menu_height_ratio = 3.0f; /* This is the ratio used in the original calculation */ + /* -fn option overrides fonts[0]; default X11 font or font set */ -static const char *fonts[] = { +static char *fonts[] = { "JetBrainsMono Nerd Font Mono:size=11" }; + static const char *prompt = NULL; /* -p option; prompt to the left of input field */ -static const char *colors[SchemeLast][2] = { +static void *colors[SchemeLast][2] = { /* fg bg */ [SchemeNorm] = { "#bbbbbb", "#222222" }, [SchemeSel] = { "#eeeeee", "#005577" }, -- cgit v1.2.3