refactor: major theme refactor

new profile catagory: theme. refactor modules for wallpaper, fonts, gtk,
and qt. adjusted modules that depend on old theming modules
This commit is contained in:
ooks-io 2024-04-06 22:38:54 +13:00
parent 7d910ba77c
commit f5e87f2a79
34 changed files with 217 additions and 118 deletions

View file

@ -2,6 +2,7 @@
let
cfg = config.homeModules.desktop.wayland.lockscreen.hyprlock;
fonts = config.homeModules.theme.fonts;
inherit (config.colorscheme) colors;
in
@ -55,7 +56,7 @@ in
};
color = "0xff${colors.base08}";
font_size = 30;
font_family = "${config.fontProfiles.monospace.family}";
font_family = "${fonts.monospace.family}";
}
{
monitor = "";
@ -66,7 +67,7 @@ in
};
color = "0xff${colors.base0B}";
font_size = 20;
font_family = "${config.fontProfiles.monospace.family}";
font_family = "${fonts.monospace.family}";
}
];
};

View file

@ -2,6 +2,8 @@
let
inherit (config.colorscheme) colors;
fonts = config.homeModules.theme.fonts;
wallpaperPath = config.homeModules.theme.wallpaper.path;
cfg = config.homeModules.desktop.wayland.lockscreen.swaylock;
in
{
@ -10,8 +12,8 @@ in
programs.swaylock = {
enable = true;
settings = {
image = "${config.wallpaper}";
font = config.fontProfiles.monospace.family;
image = "${wallpaperPath}";
font = fonts.monospace.family;
color = "#${colors.base01}";
ring-color = "#${colors.base02}";
inside-wrong-color = "#${colors.base08}";