mirror of
https://github.com/danth/stylix
synced 2024-11-28 15:10:41 +00:00
3a4101c4f4
Remove the obsolete $base16_theme check which was incorrectly taken from
[1] as $base16_theme is unused in Stylix.
[1]: https://github.com/tomyun/base16-fish/issues/7#issuecomment-963376055
Closes: https://github.com/danth/stylix/issues/538
Fixes: 94d70292d0
("fish: fix base16-fish causing startup issues with tmux (#503)")
Link: https://github.com/danth/stylix/pull/539
Tested-by: Donovan Glover <donovan@dglover.co>
Approved-by: Donovan Glover <donovan@dglover.co>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
14 lines
326 B
Nix
14 lines
326 B
Nix
config:
|
|
|
|
let
|
|
theme = config.lib.stylix.colors {
|
|
templateRepo = config.lib.stylix.templates.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
|
|
''
|