dotfiles/private_dot_config/waybar/style.css

175 lines
2.7 KiB
CSS
Raw Normal View History

2026-02-05 09:15:25 +01:00
* {
/* `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;
2026-02-05 09:15:25 +01:00
}
/* @define-color primary_color #8BD0F0;
@define-color secondary_color #393e46; */
@import "colors.css";
2026-02-05 19:07:57 +01:00
2026-02-05 09:15:25 +01:00
window#waybar {
2026-02-05 23:07:44 +01:00
background-color: rgba(0,0,0,0);
color: @on_surface;
2026-02-05 09:15:25 +01:00
transition-property: background-color;
transition-duration: .5s;
}
label:focus {
2026-02-05 09:15:25 +01:00
background-color: #000000;
}
/* WORKSPACES */
2026-02-05 09:15:25 +01:00
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 */
2026-02-05 09:15:25 +01:00
.modules-left,
.modules-center,
.modules-right
{
background: @primary_container;
2026-02-05 19:07:57 +01:00
margin: 4px 10px;
padding: 0 10px;
border-radius: 15px;
}
.modules-left {
padding: 0;
}
.modules-center {
padding: 0 10px;
}
2026-02-05 09:15:25 +01:00
#clock,
#pulseaudio,
#bluetooth,
2026-02-05 09:15:25 +01:00
#cpu,
#memory,
#disk,
#privacy,
#cava,
#mpris,
2026-02-05 09:15:25 +01:00
#scratchpad,
#workspaces,
#tray,
#power
{
margin: 0 5px;
padding: 0 5px;
2026-02-05 09:15:25 +01:00
}
#clock {
border-top-left-radius: 15px;
border-bottom-left-radius: 15px;
2026-02-05 09:15:25 +01:00
}
#pulseaudio {
2026-02-05 09:15:25 +01:00
}
#pulseaudio.muted {
background-color: rgba(255, 0, 55, 0.05);
2026-02-05 09:15:25 +01:00
}
#pulseaudio:not(.muted):hover {
background-color: rgba(255, 255, 0, 0.1);
2026-02-05 09:15:25 +01:00
}
#bluetooth {
2026-02-05 09:15:25 +01:00
}
#bluetooth:hover {
background-color: rgba(0, 149, 255, 0.1);
2026-02-05 09:15:25 +01:00
}
#hardware {
2026-02-05 09:15:25 +01:00
}
#privacy {
padding: 0;
margin-right: 0;
2026-02-05 09:15:25 +01:00
}
#privacy-item {
padding: 0 5px;
border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
2026-02-05 09:15:25 +01:00
}
#privacy-item.screenshare {
background-color: #cf5700;
}
#privacy-item.audio-in {
background-color: #1ca000;
}
#privacy-item.audio-out {
background-color: #0069d4;
2026-02-05 09:15:25 +01:00
}
#music{
2026-02-05 09:15:25 +01:00
}
#cava {
color: @secondary;
2026-02-05 19:07:57 +01:00
opacity: 0.3;
2026-02-05 09:15:25 +01:00
}
#mpris {
2026-02-05 09:15:25 +01:00
}
#scratchpad {
}
#scratchpad.empty {
background-color: transparent;
}
#tray {
background-color: @on_primary;
2026-02-05 09:15:25 +01:00
}
#tray > .passive {
-gtk-icon-effect: dim;
2026-02-05 09:15:25 +01:00
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: @error;
}