mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-04 03:52:10 +02:00
Init text color on wallpaper
This commit is contained in:
@@ -9,6 +9,7 @@ let
|
||||
background = "#${config.lib.stylix.colors.base00}";
|
||||
background-alt = "#${config.lib.stylix.colors.base01}";
|
||||
foreground = "#${config.lib.stylix.colors.base05}";
|
||||
foregroundOnWallpaper = "#${config.theme.textColorOnWallpaper}";
|
||||
font = "${config.stylix.fonts.serif.name}";
|
||||
fontSize = "${toString config.stylix.fonts.sizes.desktop}";
|
||||
|
||||
@@ -146,7 +147,10 @@ in {
|
||||
+ (if transparentButtons && transparent then "00" else "")}";
|
||||
"theme.bar.buttons.style" = "default";
|
||||
"theme.bar.buttons.monochrome" = true;
|
||||
"theme.bar.buttons.text" = "${foreground}";
|
||||
"theme.bar.buttons.text" = if transparent && transparentButtons then
|
||||
"${foregroundOnWallpaper}"
|
||||
else
|
||||
"${foreground}";
|
||||
"theme.bar.buttons.background" =
|
||||
"${(if transparent then background else background-alt)
|
||||
+ (if transparentButtons then "00" else "")}";
|
||||
|
||||
Reference in New Issue
Block a user