diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-06-08 23:39:44 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-06-08 23:39:44 +0200 |
commit | dae575e87aa42d94050ee05a290d124b20858d4e (patch) | |
tree | c19c2419f3f47cef661644b725f071f0576c50cb /config.h | |
parent | 327b6e0b41e5693a059353405fb3cb8a591a1cfc (diff) | |
download | dmenu-dae575e87aa42d94050ee05a290d124b20858d4e.tar.gz dmenu-dae575e87aa42d94050ee05a290d124b20858d4e.tar.bz2 dmenu-dae575e87aa42d94050ee05a290d124b20858d4e.zip |
update
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,11 +2,12 @@ /* Default settings; can be overriden by command line. */ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ -static int centered = 0; /* -c option; centers dmenu on screen */ +static int centered = 1; /* -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 */ /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = { - "JetBrainsMono Nerd Font Mono:size=11" + "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] = { @@ -14,7 +15,6 @@ static const char *colors[SchemeLast][2] = { [SchemeNorm] = { "#bbbbbb", "#222222" }, [SchemeSel] = { "#eeeeee", "#005577" }, [SchemeOut] = { "#000000", "#00ffff" }, - [SchemeBorder] = { "#cccccc", NULL }, }; /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ static unsigned int lines = 0; |