mirror of
https://github.com/danth/stylix
synced 2024-11-10 06:34:15 +00:00
btop: added support for transparent terminals (#263)
This commit is contained in:
parent
32fe070be5
commit
6c447e8761
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue