diff --git a/config.h b/config.h new file mode 100644 index 0000000..f418820 --- /dev/null +++ b/config.h @@ -0,0 +1,20 @@ +/* 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[] = { + "Iosevka:pixelsize=14:antialias=true:autohint=true" +}; +static const char *prompt = NULL; /* -p option; prompt to the left of input field */ + +#include "themes/mocha.h" + +/* -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/default.nix b/default.nix new file mode 100644 index 0000000..0db1d3f --- /dev/null +++ b/default.nix @@ -0,0 +1,4 @@ +{ pkgs ? import {} }: + pkgs.mkShell { + nativeBuildInputs = [ pkgs.gnumake pkgs.pkg-config pkgs.xorg.libX11 pkgs.xorg.libXft pkgs.xorg.libXinerama ]; +} diff --git a/dmenu b/dmenu new file mode 100755 index 0000000..f9b88d1 Binary files /dev/null and b/dmenu differ diff --git a/dmenu.o b/dmenu.o new file mode 100644 index 0000000..11113bb Binary files /dev/null and b/dmenu.o differ diff --git a/drw.o b/drw.o new file mode 100644 index 0000000..94d7a4f Binary files /dev/null and b/drw.o differ diff --git a/stest b/stest new file mode 100755 index 0000000..fd88f93 Binary files /dev/null and b/stest differ diff --git a/stest.o b/stest.o new file mode 100644 index 0000000..98f2557 Binary files /dev/null and b/stest.o differ diff --git a/themes/mocha.h b/themes/mocha.h new file mode 100644 index 0000000..b64c03f --- /dev/null +++ b/themes/mocha.h @@ -0,0 +1,6 @@ +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { "#cdd6f4", "#1e1e2e" }, + [SchemeSel] = { "#1e1e2e", "#89dceb" }, + [SchemeOut] = { "#000000", "#89dceb" }, +}; diff --git a/util.o b/util.o new file mode 100644 index 0000000..2351c2b Binary files /dev/null and b/util.o differ