1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00
dotfiles/waybar/style.css
2024-10-24 22:01:32 +02:00

123 lines
1.9 KiB
CSS

@import "colors.css";
* {
font-family: "JetBrainsMono Nerd Font";
font-size: 18px;
min-height: 0;
font-weight: bold;
}
window#waybar {
background: transparent;
background-color: @mantle;
color: @overlay0;
transition-property: background-color;
transition-duration: 0.1s;
}
#window {
margin: 8px;
padding-left: 8;
padding-right: 8;
}
button {
/*box-shadow: inset 0 -3px transparent;*/
border: none;
padding-bottom: 2px;
border-radius: 0;
}
#workspaces button:hover,
#workspaces button.active,
#workspaces button.focused {
/*background: inherit;*/
color: @blue;
padding-bottom: 3px;
border-top: 3px solid @blue;
}
#workspaces button {
padding: 0 8px;
}
#workspaces button.active,
#workspaces button.focused {
background-color: rgba(0, 0, 0, 0.3);
}
#workspaces button.urgent {
background-color: @red;
}
#pulseaudio,
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#wireplumber,
#tray,
#network,
#mode,
#scratchpad {
margin-bottom: 2px;
margin-left: 8px;
margin-right: 8px;
padding-left: 8px;
padding-right: 8px;
}
#clock {
color: @mauve;
border-bottom: 2px solid @mauve;
}
#clock.date {
color: @mauve;
}
#pulseaudio {
color: @blue;
}
#network {
color: @yellow;
}
#cpu {
color: @sky;
border-bottom: 2px solid @sapphire;
}
#memory {
color: @peach;
border-bottom: 2px solid @peach;
}
#idle_inhibitor {
margin-right: 12px;
color: @green;
}
#idle_inhibitor.activated {
color: @red;
}
#battery {
color: @green;
border-bottom: 2px solid @green;
}
/* 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;
}