stylix: Use single variable for opacity

This commit is contained in:
Donovan Glover 2023-06-26 11:40:16 -04:00
parent 71515560d8
commit bcbadcfc23
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -2,6 +2,7 @@
let let
theme = "oceanicnext"; theme = "oceanicnext";
opacity = 0.92;
in in
{ {
stylix.image = ../assets/wallpaper.png; stylix.image = ../assets/wallpaper.png;
@ -9,8 +10,8 @@ in
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/${theme}.yaml"; stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/${theme}.yaml";
stylix.opacity = { stylix.opacity = {
terminal = 0.92; terminal = opacity;
popups = 0.92; popups = opacity;
}; };
stylix.fonts = { stylix.fonts = {