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;
|
||||
bat = {
|
||||
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 = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue