nix/module/desktop/waybar/style/Workspace.nix

16 lines
398 B
Nix
Raw Normal View History

2024-05-02 04:47:21 +03:00
{ style, ... }: {
text = ''
#workspaces button {
2024-05-02 12:59:31 +03:00
padding: 0 4px;
2024-05-02 04:47:21 +03:00
color: #${style.color.fg.light};
2024-05-02 12:59:31 +03:00
border-top: 2px solid transparent;
2024-05-02 04:47:21 +03:00
background-color: transparent;
2024-05-02 12:59:31 +03:00
background-color: rgba(${style.color.bg-r},${style.color.bg-g},${style.color.bg-b},${toString(style.opacity.desktop)});
2024-05-02 04:47:21 +03:00
}
#workspaces button.focused {
border-top: 2px solid #${style.color.accent};
}
'';
}