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

17 lines
641 B
Nix
Raw Normal View History

2024-06-25 04:04:39 +03:00
{ config, ... }: {
2024-05-02 04:47:21 +03:00
text = ''
window#waybar {
2024-06-29 18:05:39 +03:00
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 {
2024-06-29 18:05:39 +03:00
margin-left: ${toString config.style.window.border}px;
2024-05-07 03:22:01 +03:00
}
.modules-right > widget:last-child > #workspaces {
2024-06-29 18:05:39 +03:00
margin-right: ${toString config.style.window.border}px;
2024-05-02 04:47:21 +03:00
}
'';
}