From 1f04b00dfd7ec55e577b11a16aa3dd89c82dba99 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 12 Jun 2024 07:32:03 +0100 Subject: [PATCH] Change accentColour, add accentColour2 for certain programs (e.g. sway) --- flake.nix | 3 ++- programs/desktop/sway/default.nix | 3 ++- programs/nyxt/default.nix | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index d414158..34dfbe6 100644 --- a/flake.nix +++ b/flake.nix @@ -35,7 +35,8 @@ ... }: rec { inherit hostname; - accentColour = "magenta"; + accentColour = "blue"; + accentColour2 = "cyan"; iosevkaCustom = { packages = iosevka-custom.outputs.packages.${system}; names = iosevka-custom.outputs.names; diff --git a/programs/desktop/sway/default.nix b/programs/desktop/sway/default.nix index 55ae93f..0113b9a 100644 --- a/programs/desktop/sway/default.nix +++ b/programs/desktop/sway/default.nix @@ -4,6 +4,7 @@ pkgs, fonts, accentColour, + accentColour2, ... }: { wayland.windowManager.sway = { @@ -47,7 +48,7 @@ }; colors = with config.scheme.withHashtag; let text = toString base05; - indicator = toString cyan; + indicator = toString config.scheme.withHashtag.${accentColour2}; background = toString base00; in { inherit background; diff --git a/programs/nyxt/default.nix b/programs/nyxt/default.nix index a2e6c52..b373afc 100644 --- a/programs/nyxt/default.nix +++ b/programs/nyxt/default.nix @@ -3,6 +3,7 @@ pkgs, fonts, accentColour, + accentColour2, ... }: { home.packages = [pkgs.nyxt]; @@ -23,7 +24,7 @@ :on-primary-color "${base01}" :secondary-color "${base03}" :on-secondary-color "${base05}" - :accent-color "${cyan}" + :accent-color "${config.scheme.withHashtag.${accentColour2}}" :on-accent-color "${base01}" :action-color "${cyan}" :on-action-color "${base01}"