summaryrefslogtreecommitdiff
path: root/common/programs/btop.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/programs/btop.nix')
-rw-r--r--common/programs/btop.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/common/programs/btop.nix b/common/programs/btop.nix
index a030e3d..6600188 100644
--- a/common/programs/btop.nix
+++ b/common/programs/btop.nix
@@ -3,7 +3,15 @@
programs.btop = {
enable = true;
settings = {
- color_theme = lib.optionalString config.beeMods.matugen.enable "matugen";
+ color_theme =
+ if
+ config.beeMods.matugen.enable
+ && config.beeMods.windowManagers.beeConfig.enable
+ && !config.beeMods.windowManagers.noctalia
+ then
+ "matugen"
+ else
+ "noctalia";
theme_background = false;
truecolor = true;
vim_keys = true;