Merge pull request #844 from tchebb/add-sway-module-margins

style: add 4px margins to window and workspaces modules
This commit is contained in:
Alex 2020-12-02 14:34:45 +01:00 committed by GitHub
commit ff0d3292a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,6 +83,21 @@ window#waybar.chromium {
color: #ffffff;
}
#window,
#workspaces {
margin: 0 4px;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
#clock {
background-color: #64727D;
}