aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2025-06-16 16:09:59 +0200
committerPhilip Wittamore <philip@wittamore.com>2025-06-16 16:09:59 +0200
commit18a3bfdb765bfe9f72d8eb62bc7505e896a4e6f2 (patch)
tree1b3246df8b2fd8539e2149e7cedb06eb8d1b28b7 /config.h
parent782a9e944b50ad1252cadb9491a761b8afdcf2f0 (diff)
downloaddmenu-18a3bfdb765bfe9f72d8eb62bc7505e896a4e6f2.tar.gz
dmenu-18a3bfdb765bfe9f72d8eb62bc7505e896a4e6f2.tar.bz2
dmenu-18a3bfdb765bfe9f72d8eb62bc7505e896a4e6f2.zip
update
Diffstat (limited to 'config.h')
-rw-r--r--config.h10
1 files changed, 6 insertions, 4 deletions
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" },