Add fallback theme to bat if stylix isn't enabled
This commit is contained in:
parent
de75c8f44c
commit
02f86b4875
|
@ -24,7 +24,10 @@
|
||||||
carapace.enable = true;
|
carapace.enable = true;
|
||||||
bat = {
|
bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config.theme = lib.mkIf config.stylix.targets.bat.enable "base16-stylix";
|
config.theme =
|
||||||
|
if config.stylix.targets.bat.enable
|
||||||
|
then "base16-stylix"
|
||||||
|
else "dracula";
|
||||||
};
|
};
|
||||||
eza = {
|
eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue