Put every variables in top of the file for easy copy to another config

This commit is contained in:
Hadi
2024-10-09 15:12:50 +02:00
parent 55c7c7068a
commit 0bd55fdc10
27 changed files with 298 additions and 301 deletions

View File

@@ -1,14 +1,19 @@
{ config, lib, ... }: {
{ config, lib, ... }:
let
accent = "#" + config.lib.stylix.colors.base0D;
foreground = "#" + config.lib.stylix.colors.base05;
muted = "#" + config.lib.stylix.colors.base03;
in {
programs.fzf = {
enable = true;
enableZshIntegration = true;
colors = lib.mkForce {
"fg+" = "#" + config.lib.stylix.colors.base0D;
"fg+" = accent;
"bg+" = "-1";
"fg" = "#" + config.lib.stylix.colors.base05;
"fg" = foreground;
"bg" = "-1";
"prompt" = "#" + config.lib.stylix.colors.base03;
"pointer" = "#" + config.lib.stylix.colors.base0D;
"prompt" = muted;
"pointer" = accent;
};
defaultOptions = [
"--margin=1"