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

@ -1,6 +1,7 @@
{ lib, config, pkgs, ... }:
let
fonts = config.homeModules.theme.fonts;
cfg = config.homeModules.desktop.wayland.launcher.rofi;
in
@ -8,7 +9,7 @@ in
config = lib.mkIf cfg.enable {
programs.rofi = {
enable = true;
font = "${config.fontProfiles.monospace.family}";
font = "${fonts.monospace.family}";
package = pkgs.rofi-wayland;
terminal = "${config.home.sessionVariables.TERMINAL}";
theme = let
@ -24,7 +25,7 @@ in
background-color = mkLiteral "@background";
border-color = mkLiteral "@foreground";
text-color = mkLiteral "@foreground";
font = mkLiteral "'${config.fontProfiles.monospace.family} 14'";
font = mkLiteral "'${fonts.monospace.family} 14'";
};
"window" = {