aboutsummaryrefslogtreecommitdiff
path: root/modules/terminal/hjem/programs/helix.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-12-19 15:22:53 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-12-19 15:22:53 -0600
commit7fc4bb05905697e6a43fa3805da45768ea9a9858 (patch)
tree8d2857bb18ea5808f254e663f6da654313ab94b1 /modules/terminal/hjem/programs/helix.nix
parent5a5b183373c3732d96bb834b3ba0fcf2e88e590f (diff)
parentcdad26dfda64e94d19db576e93793ded9434bd09 (diff)
merge from main
Diffstat (limited to 'modules/terminal/hjem/programs/helix.nix')
-rw-r--r--modules/terminal/hjem/programs/helix.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/terminal/hjem/programs/helix.nix b/modules/terminal/hjem/programs/helix.nix
index e66877b..80279c4 100644
--- a/modules/terminal/hjem/programs/helix.nix
+++ b/modules/terminal/hjem/programs/helix.nix
@@ -44,8 +44,8 @@
];
};
- theme = {
- inherits = "catppuccin_mocha";
+ mkTransparentBackground = inherits: {
+ inherit inherits;
"ui.background" = {};
};
@@ -134,7 +134,9 @@
if cfg.theme == "catppuccin"
then "catppuccin_mocha_transparent"
else if cfg.theme == "adwaita"
- then "adwaita-dark"
+ then "adwaita_dark_transparent"
+ else if cfg.theme == "kanagawa"
+ then "kanagawa_transparent"
else "";
};
in
@@ -148,7 +150,9 @@ in
{
".config/helix/config.toml" = t settings;
".config/helix/languages.toml" = t languages;
- ".config/helix/themes/catppuccin_mocha_transparent.toml" = t theme;
+ ".config/helix/themes/catppuccin_mocha_transparent.toml" = t (mkTransparentBackground "catppuccin_mocha");
+ ".config/helix/themes/adwaita_dark_transparent.toml" = t (mkTransparentBackground "adwaita-dark");
+ ".config/helix/themes/kanagawa_transparent.toml" = t (mkTransparentBackground "kanagawa");
}
// (lib.optionalAttrs config.collinux.terminal.shells.fish.enable {
".config/fish/conf.d/helix.fish".text = ''