From 93b21c779dc6111963ea225f95b6a2a938ec05ce Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sat, 5 Mar 2022 10:14:09 +0100 Subject: [PATCH] Added gitignore & config --- .gitignore | 12 ++++++++++++ config.h | 23 +++++++++++++++++++++++ dmenu_path => dmenu_path.sh | 0 dmenu_run => dmenu_run.sh | 0 4 files changed, 35 insertions(+) create mode 100644 .gitignore create mode 100644 config.h rename dmenu_path => dmenu_path.sh (100%) rename dmenu_run => dmenu_run.sh (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6f2d4bd --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +*.rej +*.orig + +# build artifacts +*.o +dmenu +stest + +# makepkg +src/ +pkg/ +*.pkg* diff --git a/config.h b/config.h new file mode 100644 index 0000000..1edb647 --- /dev/null +++ b/config.h @@ -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[] = { + "monospace:size=10" +}; +static const char *prompt = NULL; /* -p option; prompt to the left of input field */ +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { "#bbbbbb", "#222222" }, + [SchemeSel] = { "#eeeeee", "#005577" }, + [SchemeOut] = { "#000000", "#00ffff" }, +}; +/* -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[] = " "; diff --git a/dmenu_path b/dmenu_path.sh similarity index 100% rename from dmenu_path rename to dmenu_path.sh diff --git a/dmenu_run b/dmenu_run.sh similarity index 100% rename from dmenu_run rename to dmenu_run.sh