SWAY: Réduction de l'espace utilisé par les modules
This commit is contained in:
@ -3,13 +3,13 @@
|
||||
border-radius: 0;
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: DejaVu Sans Mono, Roboto, Helvetica, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
font-size: 15px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: #222;
|
||||
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
|
||||
/* border-bottom: 3px solid rgba(100, 114, 125, 0.5);*/
|
||||
color: #dfdfdf;
|
||||
transition-property: background-color;
|
||||
transition-duration: .5s;
|
||||
@ -39,8 +39,8 @@ window#waybar.chromium {
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
background-color: inherit;
|
||||
color: #666;
|
||||
/* Use box-shadow instead of border so the text isn't offset */
|
||||
box-shadow: inset 0 -3px transparent;
|
||||
}
|
||||
@ -52,9 +52,9 @@ window#waybar.chromium {
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: #ffb52a;
|
||||
color: #000;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
background-color: #444;
|
||||
color: #fff;
|
||||
border-bottom: 3px solid #ffb52a;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
@ -80,8 +80,8 @@ window#waybar.chromium {
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
#mpd {
|
||||
padding: 0 10px;
|
||||
margin: 0 4px;
|
||||
padding: 0 5px;
|
||||
margin: 0 3px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@ -95,6 +95,11 @@ window#waybar.chromium {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* Décalage du centre de 30 caractères de large sur la gauche (caractère M) */
|
||||
.modules-center {
|
||||
margin-left: -30em;
|
||||
}
|
||||
|
||||
/* If workspaces is the rightmost module, omit right margin */
|
||||
.modules-right > widget:last-child > #workspaces {
|
||||
margin-right: 0;
|
||||
|
Reference in New Issue
Block a user