From e1358eef49165dad0b812ed4cfc9d0e9bcd76471 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 26 Aug 2024 11:41:38 +0100 Subject: wayland updates --- programs/fuzzel.nix | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 programs/fuzzel.nix (limited to 'programs/fuzzel.nix') diff --git a/programs/fuzzel.nix b/programs/fuzzel.nix new file mode 100644 index 0000000..8a87911 --- /dev/null +++ b/programs/fuzzel.nix @@ -0,0 +1,42 @@ +{ config +, pkgs +, theme +, font +, ... +}: + +with theme; +let + fuzzelColor = themeColor: (builtins.replaceStrings [ "#" ] [ "" ] themeColor) + "ff"; +in +{ + programs.fuzzel = { + enable = true; + settings = { + main = { + font = "${font.name}:size=12"; + prompt = ""; + anchor = "top-left"; + icons-enabled = "no"; + fields = "filename,exec,name,generic"; + horizontal-pad = 12; + vertical-pad = 12; + }; + colors = { + background = "${fuzzelColor theme.base00}"; + text = "${fuzzelColor theme.base02}"; + match = "${fuzzelColor theme.base0C}"; + selection = "${fuzzelColor theme.base00}"; + selection-text = "${fuzzelColor theme.base05}"; + selection-match = "${fuzzelColor theme.base0C}"; + border = "${fuzzelColor theme.base02}"; + }; + border = { + width = 2; + radius = 0; + }; + }; + }; +} + + -- cgit v1.2.3