From 6c447e8761018fa75dfdc20df6232d67a8cc93f2 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Sat, 24 Feb 2024 01:40:41 +1100 Subject: [PATCH] btop: added support for transparent terminals (#263) --- modules/btop/hm.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/btop/hm.nix b/modules/btop/hm.nix index 434ce201..8a06228f 100644 --- a/modules/btop/hm.nix +++ b/modules/btop/hm.nix @@ -7,7 +7,10 @@ in { config = lib.mkIf config.stylix.targets.btop.enable { - programs.btop.settings.color_theme = "stylix"; + programs.btop.settings = { + color_theme = "stylix"; + theme_background = lib.mkIf (config.stylix.opacity.terminal != 1.0) false; + }; xdg.configFile."btop/themes/stylix.theme".text = with colors; '' #Generated by Stylix