my-hyprland/waybar/style.css
2025-07-25 03:56:51 +05:00

164 lines
3 KiB
CSS

@define-color waybar-bg rgba(0, 0, 0, 0.0);
@define-color waybar-fg #FFFFFF;
/* Buildings.png */
@define-color red #C6716F;
@define-color navy #4C546C;
@define-color grey #3C4454;
@define-color yellow #E9CC90;
@define-color pink #B48CAC;
@define-color blue #5C84AC;
@define-color light-blue #85A7C3;
@define-color workspaces-color rgba(0, 0, 0, 0.0);
@define-color workspaces-hover-bg rgba(0, 0, 0, 0.2);
@define-color workspaces-hover-fg #FFFFFF;
@define-color workspaces-active-bg rgba(0, 0, 0, 0.5);
@define-color workspaces-active-fg #FFFFFF;
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
}
window#waybar {
background-color: @waybar-bg;
color: @waybar-fg;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
window#waybar.termite {
background-color: #3F3F3F;
}
window#waybar.chromium {
background-color: #000000;
border: none;
}
button {
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
/* Avoid rounded borders under each button name */
border: none;
border-radius: 0;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
background: inherit;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button {
padding: 0 10px;
background-color: @workspaces-color;
color: #ffffff;
}
#workspaces button:hover {
background-color: @workspaces-hover-bg;
box-shadow: inset 0 2px #ffffff;
}
#workspaces button.active {
background-color: @workspaces-active-bg;
color: @workspaces-active-fg;
box-shadow: inset 0 2px @red;
}
/*#mode {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
}*/
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#power-profiles-daemon,
#window,
#workspaces {
margin: 0 4px;
}
#window {
color: @red;
box-shadow: inset 0 2px @red;
}
#clock {
color: @yellow;
box-shadow: inset 0 2px @yellow;
}
#mpris {
color: @pink;
box-shadow: inset 0 2px @pink;
}
#pulseaudio {
color: @blue;
box-shadow: inset 0 2px @blue;
}
#cpu {
color: @red;
box-shadow: inset 0 2px @red;
}
#memory {
color: @red;
box-shadow: inset 0 2px @red;
}
#language {
color: @yellow;
box-shadow: inset 0 2px @yellow;
}
#tray {
color: @navy;
box-shadow: inset 0 2px @navy;
}
/* 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;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
label:focus {
background-color: #000000;
}