2022-06-24 20:34:06 +08:00
|
|
|
* {
|
|
|
|
border: none;
|
|
|
|
border-radius: 0px;
|
|
|
|
/* `otf-font-awesome` is required to be installed for icons */
|
2022-08-22 00:25:07 +08:00
|
|
|
font-family: JetBrains Mono, Roboto, Helvetica, Arial, sans-serif;
|
2022-08-22 04:48:56 +08:00
|
|
|
font-size: 14px;
|
2022-06-24 20:34:06 +08:00
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
window#waybar {
|
2022-08-22 05:16:19 +08:00
|
|
|
background-color: #2c2c2c;
|
2022-08-22 00:25:07 +08:00
|
|
|
/* color: white;*/
|
2022-06-24 20:34:06 +08:00
|
|
|
transition-property: background-color;
|
|
|
|
transition-duration: .5s;
|
2022-08-22 00:25:07 +08:00
|
|
|
opacity: 0.7;
|
2022-06-24 20:34:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
window#waybar.hidden {
|
2022-08-22 05:16:19 +08:00
|
|
|
opacity: 0.75;
|
2022-06-24 20:34:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button {
|
|
|
|
background: #f9f06b;
|
|
|
|
color: white;
|
|
|
|
border-radius: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
|
|
|
#workspaces button:hover {
|
|
|
|
background: lightblue;
|
|
|
|
color: white;
|
|
|
|
border-bottom: 3px solid white;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button.focused {
|
|
|
|
background: #f9f06b;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button.focused:hover {
|
|
|
|
background: lightblue;
|
|
|
|
color: white;
|
|
|
|
border-bottom: 3px solid white;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button.urgent {
|
|
|
|
background-color: #eb4d4b;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mode {
|
|
|
|
background-color: #64727D;
|
|
|
|
border-bottom: 3px solid white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#clock,
|
|
|
|
#custom-power,
|
|
|
|
#battery,
|
|
|
|
#cpu,
|
|
|
|
#memory,
|
|
|
|
#disk,
|
|
|
|
#temperature,
|
|
|
|
#network,
|
|
|
|
#pulseaudio,
|
|
|
|
#custom-media,
|
|
|
|
#custom-launcher,
|
|
|
|
#custom-update,
|
|
|
|
#custom-layout,
|
|
|
|
#taskbar,
|
|
|
|
#tray,
|
|
|
|
#mode,
|
|
|
|
#bluetoth {
|
|
|
|
padding: 0 10px;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
#window,
|
|
|
|
#workspaces {
|
2022-08-22 04:48:56 +08:00
|
|
|
margin: 0px 4px;
|
2022-06-24 20:34:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* If workspaces is the leftmost module, omit left margin */
|
|
|
|
.modules-left > widget:first-child > #workspaces {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* If workspaces is the rightmost module, omit right margin */
|
|
|
|
.modules-right > widget:last-child > #workspaces {
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#clock {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-power {
|
2022-08-22 05:26:42 +08:00
|
|
|
font-size: 17px;
|
2022-06-24 20:34:06 +08:00
|
|
|
color: white;
|
2022-08-22 04:48:56 +08:00
|
|
|
/* border-radius: 0px 20px 20px 0px;*/
|
2022-06-24 20:34:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#bluetooth {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#battery {
|
|
|
|
color: white;
|
2022-08-22 04:48:56 +08:00
|
|
|
/* border-radius: 20px 0px 0px 20px;*/
|
2022-06-24 20:34:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#battery.charging, #battery.plugged {
|
|
|
|
color: white;
|
2022-08-22 00:25:07 +08:00
|
|
|
|
2022-06-24 20:34:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes blink {
|
|
|
|
to {
|
|
|
|
background-color: #268bd2;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#battery.critical:not(.charging) {
|
|
|
|
color: white;
|
|
|
|
animation-name: blink;
|
|
|
|
animation-duration: 0.5s;
|
|
|
|
animation-timing-function: linear;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-direction: alternate;
|
|
|
|
}
|
|
|
|
|
|
|
|
label:focus {
|
|
|
|
background-color: #f9f06b;
|
|
|
|
}
|
|
|
|
|
|
|
|
#cpu {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#memory {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#disk {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#network {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#network.disconnected {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pulseaudio {
|
2022-08-22 05:26:42 +08:00
|
|
|
font-size: 20px;
|
2022-06-24 20:34:06 +08:00
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pulseaudio.muted {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-update{
|
|
|
|
color: white;
|
|
|
|
font-size: 18px;
|
2022-08-22 04:48:56 +08:00
|
|
|
/* border-radius: 0px 20px 20px 0px;*/
|
2022-06-24 20:34:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#custom-launcher{
|
2022-08-22 00:25:07 +08:00
|
|
|
|
2022-06-24 20:34:06 +08:00
|
|
|
color: white;
|
2022-08-22 05:26:42 +08:00
|
|
|
font-size: 20px;
|
2022-08-22 04:48:56 +08:00
|
|
|
/* border-radius: 20px 0px 0px 20px;;*/
|
2022-06-24 20:34:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#taskbar {
|
2022-08-22 04:48:56 +08:00
|
|
|
/* border-radius: 20px 20px 20px 20px;*/
|
2022-06-24 20:34:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#temperature {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tray {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
|