Change accentColour, add accentColour2 for certain programs (e.g. sway)

This commit is contained in:
Evie Litherland-Smith 2024-06-12 07:32:03 +01:00
parent fda20dbf29
commit 1f04b00dfd
3 changed files with 6 additions and 3 deletions

View file

@ -35,7 +35,8 @@
... ...
}: rec { }: rec {
inherit hostname; inherit hostname;
accentColour = "magenta"; accentColour = "blue";
accentColour2 = "cyan";
iosevkaCustom = { iosevkaCustom = {
packages = iosevka-custom.outputs.packages.${system}; packages = iosevka-custom.outputs.packages.${system};
names = iosevka-custom.outputs.names; names = iosevka-custom.outputs.names;

View file

@ -4,6 +4,7 @@
pkgs, pkgs,
fonts, fonts,
accentColour, accentColour,
accentColour2,
... ...
}: { }: {
wayland.windowManager.sway = { wayland.windowManager.sway = {
@ -47,7 +48,7 @@
}; };
colors = with config.scheme.withHashtag; let colors = with config.scheme.withHashtag; let
text = toString base05; text = toString base05;
indicator = toString cyan; indicator = toString config.scheme.withHashtag.${accentColour2};
background = toString base00; background = toString base00;
in { in {
inherit background; inherit background;

View file

@ -3,6 +3,7 @@
pkgs, pkgs,
fonts, fonts,
accentColour, accentColour,
accentColour2,
... ...
}: { }: {
home.packages = [pkgs.nyxt]; home.packages = [pkgs.nyxt];
@ -23,7 +24,7 @@
:on-primary-color "${base01}" :on-primary-color "${base01}"
:secondary-color "${base03}" :secondary-color "${base03}"
:on-secondary-color "${base05}" :on-secondary-color "${base05}"
:accent-color "${cyan}" :accent-color "${config.scheme.withHashtag.${accentColour2}}"
:on-accent-color "${base01}" :on-accent-color "${base01}"
:action-color "${cyan}" :action-color "${cyan}"
:on-action-color "${base01}" :on-action-color "${base01}"