Add config.h patch for wip/dmenu-git (same of x11/dmenu) - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset 14beed9b4ee2bfb06cf472f8c6b75bcf6ae45c8b
(DIR) parent 93d2f0b54bde953ddd458fefa6fd1247bbf0bfbb
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sat, 1 Dec 2018 23:06:30
Add config.h patch for wip/dmenu-git (same of x11/dmenu)
Diffstat:
wip/dmenu-git/patch-config.h | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
---
diff -r 93d2f0b54bde -r 14beed9b4ee2 wip/dmenu-git/patch-config.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wip/dmenu-git/patch-config.h Sat Dec 01 23:06:30 2018 +0100
@@ -0,0 +1,26 @@
+--- /dev/null 2018-03-15 11:53:32.363610266 +0100
++++ config.h 2018-03-15 11:54:21.317951591 +0100
+@@ -0,0 +1,23 @@
++/* See LICENSE file for copyright and license details. */
++/* Default settings; can be overriden by command line. */
++
++static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
++/* -fn option overrides fonts[0]; default X11 font or font set */
++static const char *fonts[] = {
++ "Droid Sans Mono:size=9"
++};
++static const char *prompt = NULL; /* -p option; prompt to the left of input field */
++static const char *colors[SchemeLast][2] = {
++ /* fg bg */
++ [SchemeNorm] = { "#777777", "#000000" },
++ [SchemeSel] = { "#ffffff", "#000000" },
++ [SchemeOut] = { "#aaaaaa", "#000000" },
++};
++/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
++static unsigned int lines = 0;
++
++/*
++ * Characters not considered part of a word while deleting words
++ * for example: " /?\"&[]"
++ */
++static const char worddelimiters[] = " ";