aboutsummaryrefslogtreecommitdiffstats
path: root/modules/file-management/yazi/theme.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/file-management/yazi/theme.nix')
-rw-r--r--modules/file-management/yazi/theme.nix13
1 files changed, 11 insertions, 2 deletions
diff --git a/modules/file-management/yazi/theme.nix b/modules/file-management/yazi/theme.nix
index e960d84..6589200 100644
--- a/modules/file-management/yazi/theme.nix
+++ b/modules/file-management/yazi/theme.nix
@@ -1,7 +1,16 @@
-{ config, lib, ... }:
+# Yazi theme derived from the shared base16 color scheme
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
+let
+ base16Colors = import ../../colors/base16 { inherit config lib pkgs; };
+in
{
config = lib.mkIf config.file-management.yazi.enable {
- programs.yazi.theme = with config.scheme.withHashtag; {
+ programs.yazi.theme = with base16Colors.colorsWithHashPrefix; {
manager = {
cwd = {
fg = base0D;