commit 2bf986e5dc633e9221173bd085553bf6debe9cd5
parent ba1a347dcaba055f824161007dfee60db3ea785b
Author: ssnf <ssnf@ssnf.xyz>
Date: Mon, 28 Nov 2022 13:28:45 +0000
initial config
Diffstat:
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/config.h 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=12"
+};
+static const char *prompt = NULL; /* -p option; prompt to the left of input field */
+static const char *colors[SchemeLast][2] = {
+ /* fg bg */
+ [SchemeNorm] = { "#d1cdb7", "#454138" },
+ [SchemeSel] = { "#454138", "#d1cdb7" },
+ [SchemeOut] = { "#454138", "#d1cdb7" },
+};
+/* -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/config.mk b/config.mk
@@ -2,7 +2,7 @@
VERSION = 5.2
# paths
-PREFIX = /usr/local
+PREFIX = ~/.local
MANPREFIX = $(PREFIX)/share/man
X11INC = /usr/X11R6/include