summaryrefslogtreecommitdiff
path: root/x11-misc/dmenu/files
diff options
context:
space:
mode:
authormhsn <mail@mhsn.net>2025-07-19 19:22:58 +0100
committermhsn <mail@mhsn.net>2025-07-19 19:22:58 +0100
commitd85bf3344b4c7cfde883a617dc69d55197e449bd (patch)
tree54fa2e351a8b8f1b80772af5fc6a228a05da5285 /x11-misc/dmenu/files
parent84b04e9c609fd452402cd688be3adce096520959 (diff)
downloadadelie-d85bf3344b4c7cfde883a617dc69d55197e449bd.tar.gz
adelie-d85bf3344b4c7cfde883a617dc69d55197e449bd.zip
add dmenu and slock
Diffstat (limited to 'x11-misc/dmenu/files')
-rw-r--r--x11-misc/dmenu/files/51_theme.diff21
-rw-r--r--x11-misc/dmenu/files/dmenu-5.2-gentoo.patch26
2 files changed, 47 insertions, 0 deletions
diff --git a/x11-misc/dmenu/files/51_theme.diff b/x11-misc/dmenu/files/51_theme.diff
new file mode 100644
index 0000000..de83860
--- /dev/null
+++ b/x11-misc/dmenu/files/51_theme.diff
@@ -0,0 +1,21 @@
+diff --git i/config.def.h w/config.def.h
+index 1edb647..ee33692 100644
+--- i/config.def.h
++++ w/config.def.h
+@@ -4,13 +4,13 @@
+ 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"
++ "monospace:size=20"
+ };
+ 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" },
++ [SchemeNorm] = { "#c0b1c2", "#152126" },
++ [SchemeSel] = { "#e1e1e6", "#db498b" },
+ [SchemeOut] = { "#000000", "#00ffff" },
+ };
+ /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
diff --git a/x11-misc/dmenu/files/dmenu-5.2-gentoo.patch b/x11-misc/dmenu/files/dmenu-5.2-gentoo.patch
new file mode 100644
index 0000000..91ee6f3
--- /dev/null
+++ b/x11-misc/dmenu/files/dmenu-5.2-gentoo.patch
@@ -0,0 +1,26 @@
+From 3c494e2289c93ab6262409f9498866bdfd57bcf4 Mon Sep 17 00:00:00 2001
+From: Georgy Yakovlev <gyakovlev@gentoo.org>
+Date: Fri, 7 Oct 2022 11:29:04 -0700
+Subject: [PATCH] gentoo patch
+
+--- a/config.mk
++++ b/config.mk
+@@ -20,13 +20,13 @@ FREETYPEINC = /usr/include/freetype2
+ #MANPREFIX = ${PREFIX}/man
+
+ # includes and libs
+-INCS = -I$(X11INC) -I$(FREETYPEINC)
+-LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS)
++INCS = $(X11INC) $(FREETYPEINC)
++LIBS = $(X11LIB) $(XINERAMALIBS) $(FREETYPELIBS)
+
+ # flags
+-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS)
+-CFLAGS = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS)
+-LDFLAGS = $(LIBS)
++CPPFLAGS += -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS)
++CFLAGS += -std=c99 -pedantic -Wall $(INCS) $(CPPFLAGS)
++LDFLAGS += $(LIBS)
+
+ # compiler and linker
+ CC = cc