Closes: https://github.com/danth/stylix/issues/238 Link: https://github.com/danth/stylix/pull/926 Reviewed-by: Daniel Thwaites <danth@danth.me> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
15 lines
319 B
Nix
15 lines
319 B
Nix
config:
|
|
|
|
let
|
|
theme = config.lib.stylix.colors {
|
|
templateRepo = config.stylix.inputs.base16-fish;
|
|
};
|
|
in
|
|
''
|
|
source ${theme}
|
|
|
|
# See https://github.com/tomyun/base16-fish/issues/7 for why this condition exists
|
|
if status --is-interactive && test -z "$TMUX"
|
|
base16-${config.lib.stylix.colors.slug}
|
|
end
|
|
''
|