74 lines
1.4 KiB
CSS
74 lines
1.4 KiB
CSS
|
|
/* Base font for Waybar, matching your Alacritty settings */
|
||
|
|
* {
|
||
|
|
font-size: 14px; /* matches Alacritty font size */
|
||
|
|
font-weight: normal;
|
||
|
|
}
|
||
|
|
|
||
|
|
window#waybar {
|
||
|
|
background-color: rgba(75, 81, 92, 0.644);
|
||
|
|
border-bottom: 4px solid rgba(100, 114, 125, 0.5);
|
||
|
|
color: #ffffff;
|
||
|
|
transition-property: background-color;
|
||
|
|
transition-duration: .5s;
|
||
|
|
}
|
||
|
|
|
||
|
|
#window,
|
||
|
|
#workspaces {
|
||
|
|
margin: 0 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
button {
|
||
|
|
box-shadow: inset 0 -3px transparent;
|
||
|
|
border: none;
|
||
|
|
border-radius: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
button:hover {
|
||
|
|
background: inherit;
|
||
|
|
box-shadow: inset 0 -3px #ffffff;
|
||
|
|
}
|
||
|
|
|
||
|
|
#workspaces button {
|
||
|
|
padding: 0 5px;
|
||
|
|
background-color: transparent;
|
||
|
|
color: #ffffff;
|
||
|
|
}
|
||
|
|
|
||
|
|
#workspaces button:hover {
|
||
|
|
background: rgba(0, 0, 0, 0.2);
|
||
|
|
}
|
||
|
|
|
||
|
|
#workspaces button.focused {
|
||
|
|
background-color: #64727D;
|
||
|
|
box-shadow: inset 0 -3px #ffffff;
|
||
|
|
}
|
||
|
|
|
||
|
|
#workspaces button.active {
|
||
|
|
background-color: #64727D;
|
||
|
|
box-shadow: inset 0 -3px #ffffff;
|
||
|
|
}
|
||
|
|
|
||
|
|
#workspaces button.urgent {
|
||
|
|
background-color: #eb4d4b;
|
||
|
|
}
|
||
|
|
|
||
|
|
#clock,
|
||
|
|
#pulseaudio,
|
||
|
|
#language,
|
||
|
|
#custom-notification,
|
||
|
|
#tray {
|
||
|
|
padding: 0 4px;
|
||
|
|
/* color: #000000; */
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 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;
|
||
|
|
}
|