nix/home/config/waybar/style/Window.nix

18 lines
667 B
Nix
Raw Normal View History

{ config, ... }:
{
text = ''
window#waybar {
background-color: rgba(${config.style.color.bg-r},${config.style.color.bg-g},${config.style.color.bg-b},${toString config.style.opacity.desktop});
border: ${toString config.style.window.border}px solid rgba(${config.style.color.border-r},${config.style.color.border-g},${config.style.color.border-b},${toString config.style.opacity.desktop});
}
2024-05-07 03:22:01 +03:00
.modules-left > widget:first-child > #workspaces {
margin-left: ${toString config.style.window.border}px;
}
2024-05-07 03:22:01 +03:00
.modules-right > widget:last-child > #workspaces {
margin-right: ${toString config.style.window.border}px;
}
'';
2024-05-02 04:47:21 +03:00
}