From 33864bef97cb6d0e0efdb858db588e252dfee653 Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 29 Jan 2026 10:52:55 -0600 Subject: dmenu config --- modules/home/christian.nix | 6 +++++- modules/home/dmenu/config.h | 17 +++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 modules/home/dmenu/config.h (limited to 'modules') diff --git a/modules/home/christian.nix b/modules/home/christian.nix index d3dcb1e..9c35e07 100644 --- a/modules/home/christian.nix +++ b/modules/home/christian.nix @@ -4,7 +4,11 @@ home.stateVersion = "25.11"; - home.packages = with pkgs; [ ]; + home.packages = with pkgs; [ + (pkgs.dmenu.override { + conf = ./dmenu/config.h; + }) + ]; programs.bash.enable = true; diff --git a/modules/home/dmenu/config.h b/modules/home/dmenu/config.h new file mode 100644 index 0000000..9efcb0b --- /dev/null +++ b/modules/home/dmenu/config.h @@ -0,0 +1,17 @@ +static int topbar = 1; + +static const char *fonts[] = { + "monospace:size=14" +}; + +static const char *prompt = NULL; + +static const char *colors[SchemeLast][2] = { + [SchemeNorm] = { "#bbbbbb", "#222222" }, + [SchemeSel] = { "#eeeeee", "#005577" }, + [SchemeOut] = { "#000000", "#00ffff" }, +}; + +static unsigned int lines = 0; + +static const char worddelimiters[] = " "; -- cgit v1.2.3