diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-06 08:10:01 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-06 08:22:22 +0200 |
| commit | 10e16c2fb2266bb2b46ec7ea64d721de0c29a0d9 (patch) | |
| tree | ee719d25f2a15ec9bb5de52f4b703578487184b6 /.config/dmenu | |
| parent | 6e4f65568cbf8cfad5e1bccb02db01880ef2ea5f (diff) | |
| download | config-10e16c2fb2266bb2b46ec7ea64d721de0c29a0d9.tar.gz config-10e16c2fb2266bb2b46ec7ea64d721de0c29a0d9.zip | |
Suckless software configs
Diffstat (limited to '.config/dmenu')
| -rw-r--r-- | .config/dmenu/config.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/dmenu/config.h b/.config/dmenu/config.h new file mode 100644 index 0000000..fb69c65 --- /dev/null +++ b/.config/dmenu/config.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /* See LICENSE file for copyright and license details. */ | ||
| 2 | /* Default settings; can be overriden by command line. */ | ||
| 3 | |||
| 4 | static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ | ||
| 5 | /* -fn option overrides fonts[0]; default X11 font or font set */ | ||
| 6 | static const char *fonts[] = { | ||
| 7 | "monospace:size=12" | ||
| 8 | }; | ||
| 9 | static const char *prompt = NULL; /* -p option; prompt to the left of input field */ | ||
| 10 | static const char *colors[SchemeLast][2] = { | ||
| 11 | /* fg bg */ | ||
| 12 | [SchemeNorm] = { "#000000", "#f0f0f4" }, | ||
| 13 | [SchemeSel] = { "#000000", "#fffff8" }, | ||
| 14 | [SchemeOut] = { "#000000", "#00ffff" }, | ||
| 15 | }; | ||
| 16 | /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ | ||
| 17 | static unsigned int lines = 0; | ||
| 18 | |||
| 19 | /* | ||
| 20 | * Characters not considered part of a word while deleting words | ||
| 21 | * for example: " /?\"&[]" | ||
| 22 | */ | ||
| 23 | static const char worddelimiters[] = " "; | ||
