dotfiles/private_dot_config/waybar/style.css
Yarne Coppens 790403a9c0 Update .config/sway/config
Update .config/waybar/style.css
2026-02-06 15:13:35 +01:00

177 lines
No EOL
2.7 KiB
CSS

* {
/* `otf-font-awesome` is required to be installed for icons */
/* font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; */
font-family: JetBrainsMono Nerd Font, FontAwesome;
font-size: 14px;
font-weight: 500;
}
/* @define-color primary_color #8BD0F0;
@define-color secondary_color #393e46; */
@import "colors.css";
window#waybar {
background-color: rgba(0,0,0,0);
color: @primary;
transition-property: background-color;
transition-duration: .5s;
}
label:focus {
background-color: #000000;
}
/* WORKSPACES */
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 5px;
background-color: transparent;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
#workspaces button.focused {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
/* MODULES */
.modules-left,
.modules-center,
.modules-right
{
background: @primary_container;
opacity: 0.8;
margin: 4px 10px;
padding: 0 10px;
border-radius: 15px;
}
.modules-left {
padding: 0;
}
.modules-center {
padding: 0 10px;
}
#clock,
#pulseaudio,
#bluetooth,
#cpu,
#memory,
#disk,
#privacy,
#cava,
#mpris,
#scratchpad,
#workspaces,
#tray,
#power
{
margin: 0 5px;
padding: 0 5px;
}
#clock {
border-top-left-radius: 15px;
border-bottom-left-radius: 15px;
}
#pulseaudio {
}
#pulseaudio.muted {
background-color: rgba(255, 0, 55, 0.05);
}
#pulseaudio:not(.muted):hover {
background-color: rgba(255, 255, 0, 0.1);
}
#bluetooth {
}
#bluetooth:hover {
background-color: rgba(0, 149, 255, 0.1);
}
#hardware {
}
#privacy {
padding: 0;
margin-right: 0;
}
#privacy-item {
padding: 0 5px;
border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
}
#privacy-item.screenshare {
background-color: #cf5700;
}
#privacy-item.audio-in {
background-color: #1ca000;
}
#privacy-item.audio-out {
background-color: #0069d4;
}
#music{
}
#cava {
color: @secondary;
opacity: 0.3;
}
#mpris {
}
#scratchpad {
}
#scratchpad.empty {
background-color: transparent;
}
#tray {
background-color: @on_primary;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: @error;
}