mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-10 07:58:30 +01:00
ironbar: Manually set opacity
Fixes an issue where nix would show a warning about floatToString being used.
This commit is contained in:
parent
ea6ef79862
commit
f4b2b6b586
@ -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 */ ''
|
xdg.configFile."ironbar/config.json".text = /* json */ ''
|
||||||
{
|
{
|
||||||
@ -63,7 +60,7 @@ in
|
|||||||
}
|
}
|
||||||
|
|
||||||
.background {
|
.background {
|
||||||
background: alpha(#${base00}, ${opacity});
|
background: alpha(#${base00}, 0.925);
|
||||||
}
|
}
|
||||||
|
|
||||||
.clipboard {
|
.clipboard {
|
||||||
|
Loading…
Reference in New Issue
Block a user