nix/module/desktop/waybar/style/Window.nix

17 lines
568 B
Nix
Raw Normal View History

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