From bcbadcfc2351ac6ee27f4a9f74f9f535ccebfd8b Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 26 Jun 2023 11:40:16 -0400 Subject: [PATCH] stylix: Use single variable for opacity --- modules/stylix.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/stylix.nix b/modules/stylix.nix index 0c3ae464..a7b4eca0 100644 --- a/modules/stylix.nix +++ b/modules/stylix.nix @@ -2,6 +2,7 @@ let theme = "oceanicnext"; + opacity = 0.92; in { stylix.image = ../assets/wallpaper.png; @@ -9,8 +10,8 @@ in stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/${theme}.yaml"; stylix.opacity = { - terminal = 0.92; - popups = 0.92; + terminal = opacity; + popups = opacity; }; stylix.fonts = {