about summary refs log tree commit diff
path: root/nixos/config/dmenu.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/config/dmenu.patch')
-rw-r--r--nixos/config/dmenu.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/nixos/config/dmenu.patch b/nixos/config/dmenu.patch
new file mode 100644
index 0000000..decfda0
--- /dev/null
+++ b/nixos/config/dmenu.patch
@@ -0,0 +1,19 @@
+--- dmenu-5.2/config.def.h	2022-10-04 18:36:58.000000000 +0100
++++ dmenu/config.h	2024-01-06 00:56:33.000000000 +0000
+@@ -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"
++	"FantasqueSansM Nerd Font: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] = { "#bbbbbb", "#222222" },
+-	[SchemeSel] = { "#eeeeee", "#005577" },
++	[SchemeNorm] = { "#cdd6f4", "#1e1e2e" },
++	[SchemeSel] = { "#cdd6f4", "#907F9B" },
+ 	[SchemeOut] = { "#000000", "#00ffff" },
+ };
+ /* -l option; if nonzero, dmenu uses vertical list with given number of lines */