ironbar: Manually set opacity

Fixes an issue where nix would show a warning about floatToString being
used.
This commit is contained in:
Donovan Glover 2023-12-07 19:12:08 -05:00
parent ea6ef79862
commit f4b2b6b586
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,8 +1,5 @@
{ config, lib, ... }:
{ config, ... }:
let
opacity = lib.strings.floatToString (config.stylix.opacity.terminal - 0.025);
in
{
xdg.configFile."ironbar/config.json".text = /* json */ ''
{
@ -63,7 +60,7 @@ in
}
.background {
background: alpha(#${base00}, ${opacity});
background: alpha(#${base00}, 0.925);
}
.clipboard {