dotfiles/sway/.config/waybar/style.css

196 lines
3.2 KiB
CSS

* {
border: none;
border-radius: 0;
font-family: inherit;
font-size: inherit;
min-height: 0;
margin: 0 0px;
}
tooltip, tooltip *, menu {
color: #ebdbb2;
background-color: #3c3836;
font-family: 'sans-serif';
font-size: 14px;
}
window#waybar {
background-color: #3c3836;
border-bottom: none;
color: #ebdbb2;
transition-property: background-color;
transition-duration: 0.5s;
font-family: 'JetBrainsMono Nerd Font', 'JetBrains Mono', 'Hack Nerd Font Mono', 'monospace';
font-size: 14px;
}
window#waybar.hidden {
opacity: 0.2;
}
#workspaces button {
/* This padding top also increases the height of the entire bar */
padding: 3px 5px;
color: #ebdbb2;
border-radius: 5px;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
box-shadow: inherit;
border-bottom: none;
border-radius: 5px;
}
#workspaces button.focused {
background-color: #ebdbb2;
color: #282828;
border-bottom: none;
border-radius: 5px;
}
#workspaces button.urgent {
background-color: #2c303c;
}
#mode {
background-color: #64727d;
border-bottom: 3px solid #ffffff;
}
#clock,
#battery,
#cpu,
#memory,
#temperature,
#backlight,
#network,
#pulseaudio,
#mode,
#idle_inhibitor,
#custom-weather,
#mpd {
padding: 0 14px;
margin: 0 0px;
color: #ffffff;
}
#clock, #custom-weather {
color: #000000;
background-color: #ebdbb2;
}
#battery {
background-color: #ebdbb2;
color: #000000;
}
#battery.charging {
color: #000000;
background-color: #ebdbb2;
}
@keyframes blink {
to {
background-color: #ebdbb2;
color: #282828;
}
}
#battery.critical:not(.charging) {
background-color: #282828;
color: #282828;
animation-name: blink;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: #000000;
}
#cpu {
background-color: #ebdbb2;
color: #000000;
}
#memory {
background-color: #ebdbb2;
color: #000000;
}
#backlight {
background-color: #ebdbb2;
color: #000000;
}
#network {
background-color: #ebdbb2;
color: #000000;
}
#network.disconnected {
background-color: #ebdbb2;
}
#pulseaudio {
border-radius: 5px 0px 0px 5px;
background-color: #ebdbb2;
color: #000000;
}
#pulseaudio.muted {
background-color: #ebdbb2;
color: #000000;
}
#custom-media {
background-color: #ebdbb2;
color: #282828;
min-width: 100px;
}
#custom-media.custom-spotify {
background-color: #66cc99;
}
#custom-media.custom-vlc {
background-color: #ffa000;
}
#temperature {
background-color: #ebdbb2;
color: #282828;
}
#temperature.critical {
background-color: #eb4d4b;
}
#tray {
background-color: #3c3836;
padding: 0 8px;
}
#custom-power {
background-color: #3c3836;
padding: 0 16px;
}
#idle_inhibitor {
background-color: rgba(0, 0, 0, 0);
color: #ebdbb2;
border-radius: 5px;
margin-right: 2px;
}
#idle_inhibitor.activated {
background-color: #ebdbb2;
color: #282828;
border-radius: 5px;
margin-right: 2px;
}