diff options
| author | kj-sh604 | 2024-08-09 05:20:29 -0400 |
|---|---|---|
| committer | kj-sh604 | 2024-08-09 05:20:29 -0400 |
| commit | 2bb0567db1050c8f11e3a4032a8431baa77c1efb (patch) | |
| tree | 0d0dd1e2ce36187410f1fd918499d6072b3ea880 /.local/src/dmenu-dunst/config.def.h | |
| parent | 0c5295eb1453a1066737c11bb589b69109d66598 (diff) | |
update: dmenu to `5.3`
Diffstat (limited to '.local/src/dmenu-dunst/config.def.h')
| -rw-r--r-- | .local/src/dmenu-dunst/config.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/src/dmenu-dunst/config.def.h b/.local/src/dmenu-dunst/config.def.h index 789fd1c..696cdc2 100644 --- a/.local/src/dmenu-dunst/config.def.h +++ b/.local/src/dmenu-dunst/config.def.h @@ -2,6 +2,9 @@ /* 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 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[] = { "JetBrains Mono:size=14", |
