feat: simplified themes module

This commit is contained in:
Nick 2025-01-18 03:50:54 -06:00
parent b0fdd1d958
commit a5ec879db0
119 changed files with 2045 additions and 4624 deletions

View file

@ -8,7 +8,7 @@
shadow = {
enabled = true;
color = "rgba(00000055)";
color = "rgba(00000000)";
ignore_window = true;
offset = "0 2";
range = 20;

View file

@ -1,7 +1,18 @@
{ flake, ... }:
let
inherit (flake.config.aesthetics.themes)
currentTheme
palettes
;
el = palettes.${currentTheme}.colours;
in
{
gaps_in = 5;
gaps_out = 5;
border_size = 2;
"col.active_border" = "rgb(c6a0f6)";
"col.inactive_border" = "0xff292a37";
"col.active_border" = "rgb(${el.base0E})";
"col.inactive_border" = "0xff${el.base02}";
}

View file

@ -3,13 +3,19 @@
flake,
config,
...
}: let
}:
let
# hostname = config.networking.hostName;
# inherit (flake.config.machines.devices) desktop laptop;
configPath = ./config;
configImports = {
animations = import (configPath + /animations.nix);
bind = import (configPath + /bind.nix) {inherit flake config;};
bind = import (configPath + /bind.nix) {
inherit
flake
config
;
};
bindm = import (configPath + /bindm.nix);
binds = import (configPath + /binds.nix);
# bindl =
@ -19,12 +25,17 @@
decoration = import (configPath + /decoration.nix);
dwindle = import (configPath + /dwindle.nix);
exec-once = import (configPath + /exec-once.nix);
general = import (configPath + /general.nix);
general = import (configPath + /general.nix) {
inherit
flake
;
};
input = import (configPath + /input.nix);
misc = import (configPath + /misc.nix);
windowrulev2 = import (configPath + /windowrulev2.nix);
};
in {
in
{
wayland.windowManager.hyprland = {
enable = true;
# package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;