zaphyra's git: nixfiles

zaphyra's nixfiles

commit 6ed609ea1d8c9a1d8ddaefac43295097e431fe2f
parent 7f2bec200536fc75bd3af7b17db9363807fec391
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Sun, 29 Jun 2025 19:42:51 +0200

config/home/zaphyra/programs: add `fuzzel`
2 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/config/home/zaphyra/programs/errands.nix b/config/home/zaphyra/programs/errands.nix
@@ -1,10 +1,10 @@
-{ lib, pkgs, ... }:
+{ config, lib, pkgs, ... }:
 
 {
 
   home.packages = [ pkgs.errands ];
 
-  home.persistence."/nix/persist/home/zaphyra".directories = [
+  home.persistence."/nix/persist/home/${config.home.username}".directories = [
     "tuba/.local/share/errands"
   ];
 
diff --git a/config/home/zaphyra/programs/fuzzel.nix b/config/home/zaphyra/programs/fuzzel.nix
@@ -0,0 +1,28 @@
+{ ... }:
+
+{
+
+  programs.fuzzel = {
+    enable = true;
+    settings = {
+      main = {
+        dpi-aware = false;
+        horizontal-pad = 15;
+        vertical-pad = 15;
+        inner-pad = 5;
+      };
+      colors = {
+        background = "#00000080"; # Background color
+        text = "#d8daddff"; # Text (foreground) color of unselected entries
+        prompt = "#d8daddff"; # Text (foreground) color of prompt character(s)
+        input = "#d8daddff"; # Text (foreground) color of input string
+        match = "#d8daddff"; # Text (foreground) color of the matched substring
+        selection = "#ffffff1a"; # Background color of the selected entry
+        selection-text = "#d8daddff"; # Text (foreground) color of the selected entry
+        selection-match = "#b7d4edf2"; # Text (foreground) color of the matched substring of the selected entry
+        border = "#3b875680"; # The color of the match count stats printed at the right-hand side of the input prompt
+      };
+    };
+  };
+
+}