mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
ironbar: Don't hardcode opacity
Now the opacity will always be 0.05 less than the opacity of the terminal.
This commit is contained in:
parent
b61e2ff951
commit
a2fe09a166
@ -1,5 +1,8 @@
|
||||
{ config, ... }:
|
||||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
opacity = lib.strings.floatToString (config.stylix.opacity.terminal - 0.05);
|
||||
in
|
||||
{
|
||||
xdg.configFile."ironbar/config.json".text = /* json */ ''
|
||||
{
|
||||
@ -58,7 +61,7 @@
|
||||
}
|
||||
|
||||
.background {
|
||||
background: alpha(#${base00}, 0.9);
|
||||
background: alpha(#${base00}, ${opacity});
|
||||
}
|
||||
|
||||
.clipboard {
|
||||
|
Loading…
Reference in New Issue
Block a user