mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-21 10:17:46 +02: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 */ ''
|
xdg.configFile."ironbar/config.json".text = /* json */ ''
|
||||||
{
|
{
|
||||||
@ -58,7 +61,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.background {
|
.background {
|
||||||
background: alpha(#${base00}, 0.9);
|
background: alpha(#${base00}, ${opacity});
|
||||||
}
|
}
|
||||||
|
|
||||||
.clipboard {
|
.clipboard {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user