feat: added other user themes

This commit is contained in:
Nick 2025-01-31 01:49:36 -06:00
parent 6cdbfedc93
commit 1635b0c845
40 changed files with 593 additions and 210 deletions

View file

@ -1,12 +1,30 @@
{ flake, ... }:
{
config,
flake,
...
}:
let
inherit (flake.config.aesthetics.themes)
currentThemes
currentTheme
palettes
fonts
;
el = palettes.${currentThemes.theme0}.colours;
inherit (flake.config.people) user0 user1 user2;
user = config.home.username;
themeLogic =
if user == user0 then
currentTheme.theme0
else if user == user1 then
currentTheme.theme1
else if user == user2 then
currentTheme.theme2
else
currentTheme.theme0;
el = palettes.${themeLogic}.colours;
in
{
font = fonts.names.name0;

View file

@ -1,11 +1,11 @@
{ flake, ... }:
{
config,
flake,
...
}:
let
configPath = ./config;
settingsPath = import (configPath + /settings.nix) {
inherit
flake
;
};
settingsPath = import (configPath + /settings.nix) { inherit config flake; };
in
{
programs.swaylock = {