mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-05-29 06:07:54 +02:00
waybar: Use opacity from stylix
This commit is contained in:
parent
bcbadcfc23
commit
09ce58fb1c
@ -1,5 +1,8 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
opacity = lib.strings.floatToString config.stylix.opacity.terminal;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -110,7 +113,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: alpha(@base00, 0.92);
|
background: alpha(@base00, ${opacity});
|
||||||
border-left: 1px solid alpha(@base02, 0.67);
|
border-left: 1px solid alpha(@base02, 0.67);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user