fix(home): Fix marleyos.theme settings

This commit is contained in:
punkfairie 2024-11-16 23:36:51 -08:00
parent 4dd4d4a1cf
commit 9a07f22743
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -10,6 +10,7 @@ let
cfg = config.marleyos.appearance.base;
inherit (config.marleyos.theme) colors;
inherit (config.marleyos) isDesktop;
in
{
options.marleyos.appearance.base.enable = mkEnableOption "base";
@ -22,22 +23,26 @@ in
rose-pine.pointerCursor = mkIf colors.isRosePine enabled;
marleyos.theme = {
default = "dark";
colors = {
default = "dark";
dark = {
base = "rose-pine";
flavor = "main";
dark = {
base = "rose-pine";
flavor = "main";
};
light = {
base = "rose-pine";
flavor = "dawn";
};
};
light = {
base = "rose-pine";
flavor = "dawn";
icons = {
package = pkgs.kora-icon-theme;
name = "kora";
};
};
marleyos.theme.icons = {
package = pkgs.kora-icon-theme;
name = "kora";
pinentry = if isDesktop then pkgs.pinentry-gtk2 else pkgs.pinentry-curses;
};
# TODO: package font with harfbuzz features.