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