dotfiles/.config/waybar/style.css

257 lines
4.1 KiB
CSS
Raw Normal View History

2021-12-10 23:27:27 -05:00
* {
/* `otf-font-awesome` is required to be installed for icons */
2022-09-11 06:00:45 -04:00
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
2021-12-10 23:27:27 -05:00
font-size: 13px;
}
window#waybar {
2022-09-11 06:00:45 -04:00
background-color: #eff1f5;
border-bottom: 3px solid #eff1f5;
color: #4c4f69;
2021-12-10 23:27:27 -05:00
transition-property: background-color;
2022-09-11 06:00:45 -04:00
transition-duration: .5s;
2021-12-10 23:27:27 -05:00
}
window#waybar.hidden {
opacity: 0.2;
}
/*
window#waybar.empty {
background-color: transparent;
}
window#waybar.solo {
2022-09-11 06:00:45 -04:00
background-color: #FFFFFF;
2021-12-10 23:27:27 -05:00
}
*/
window#waybar.termite {
2022-09-11 06:00:45 -04:00
background-color: #5c5f77;
2021-12-10 23:27:27 -05:00
}
window#waybar.chromium {
2022-09-11 06:00:45 -04:00
background-color: #5c5f77;
2021-12-10 23:27:27 -05:00
border: none;
}
#workspaces button {
padding: 0 5px;
background-color: transparent;
2022-09-11 06:00:45 -04:00
color: #4c4f69;
2021-12-10 23:27:27 -05:00
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
2022-09-11 06:00:45 -04:00
/* Avoid rounded borders under each workspace name */
border: none;
border-radius: 0;
2021-12-10 23:27:27 -05:00
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover {
2022-09-11 06:00:45 -04:00
background: #bcc0cc;
box-shadow: inset 0 -3px #4c4f69;
2021-12-10 23:27:27 -05:00
}
#workspaces button.focused {
2022-09-11 06:00:45 -04:00
background-color: #bcc0cc;
box-shadow: inset 0 -3px #4c4f69;
2021-12-10 23:27:27 -05:00
}
#workspaces button.urgent {
2022-09-11 06:00:45 -04:00
background-color: #d20f39;
2021-12-10 23:27:27 -05:00
}
#mode {
2022-09-11 06:00:45 -04:00
background-color: #bcc0cc;
border-bottom: 3px solid #4c4f69;
2021-12-10 23:27:27 -05:00
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#mpd {
padding: 0 10px;
2022-09-11 06:00:45 -04:00
color: #eff1f5;
2021-12-10 23:27:27 -05:00
}
#window,
#workspaces {
margin: 0 4px;
}
/* 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;
}
#clock {
2022-09-11 06:00:45 -04:00
background-color: #bcc0cc;
color: #4c4f69;
2021-12-10 23:27:27 -05:00
}
#battery {
2022-09-11 06:00:45 -04:00
background-color: #bcc0cc;
color: #4c4f69;
2021-12-10 23:27:27 -05:00
}
#battery.charging, #battery.plugged {
2022-09-11 06:00:45 -04:00
color: #eff1f5;
background-color: #40a02b;
2021-12-10 23:27:27 -05:00
}
@keyframes blink {
to {
2022-09-11 06:00:45 -04:00
background-color: #eff1f5;
color: #4c4f69;
2021-12-10 23:27:27 -05:00
}
}
#battery.critical:not(.charging) {
2022-09-11 06:00:45 -04:00
background-color: #d20f39;
color: #eff1f5;
2021-12-10 23:27:27 -05:00
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
2022-09-11 06:00:45 -04:00
background-color: #4c4f69;
2021-12-10 23:27:27 -05:00
}
#cpu {
2022-09-11 06:00:45 -04:00
background-color: #04a5e5;
color: #4c4f69;
2021-12-10 23:27:27 -05:00
}
#memory {
2022-09-11 06:00:45 -04:00
background-color: #7287fd;
2021-12-10 23:27:27 -05:00
}
#disk {
2022-09-11 06:00:45 -04:00
background-color: #fe640b;
2021-12-10 23:27:27 -05:00
}
#backlight {
2022-09-11 06:00:45 -04:00
background-color: #bcc0cc;
color: #4c4f69;
2021-12-10 23:27:27 -05:00
}
#network {
2022-09-11 06:00:45 -04:00
background-color: #1e66f5;
2021-12-10 23:27:27 -05:00
}
#network.disconnected {
2022-09-11 06:00:45 -04:00
background-color: #d20f39;
2021-12-10 23:27:27 -05:00
}
#pulseaudio {
2022-09-11 06:00:45 -04:00
background-color: #1e66f5;
color: #eff1f5;
2021-12-10 23:27:27 -05:00
}
#pulseaudio.muted {
2022-09-11 06:00:45 -04:00
background-color: #bcc0cc;
color: #eff1f5;
2021-12-10 23:27:27 -05:00
}
#custom-media {
2022-09-11 06:00:45 -04:00
background-color: #04a5e5;
color: #4c4f69;
2021-12-10 23:27:27 -05:00
min-width: 100px;
}
#custom-media.custom-spotify {
2022-09-11 06:00:45 -04:00
background-color: #40a02b;
2021-12-10 23:27:27 -05:00
}
#custom-media.custom-vlc {
2022-09-11 06:00:45 -04:00
background-color: #df8e1d;
2021-12-10 23:27:27 -05:00
}
#temperature {
2022-09-11 06:00:45 -04:00
background-color: #fe640b;
2021-12-10 23:27:27 -05:00
}
#temperature.critical {
2022-09-11 06:00:45 -04:00
background-color: #fe640b;
2021-12-10 23:27:27 -05:00
}
#tray {
2022-09-11 06:00:45 -04:00
background-color: #1e66f5;
2021-12-10 23:27:27 -05:00
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
2022-09-11 06:00:45 -04:00
background-color: #d20f39;
2021-12-10 23:27:27 -05:00
}
#idle_inhibitor {
2022-09-11 06:00:45 -04:00
background-color: #6c6f85;
2021-12-10 23:27:27 -05:00
}
#idle_inhibitor.activated {
2022-09-11 06:00:45 -04:00
background-color: #bcc0cc;
color: #4c4f69;
2021-12-10 23:27:27 -05:00
}
#mpd {
2022-09-11 06:00:45 -04:00
background-color: #66cc99;
color: #2a5c45;
2021-12-10 23:27:27 -05:00
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
2022-09-11 06:00:45 -04:00
background-color: #90b1b1;
2021-12-10 23:27:27 -05:00
}
#mpd.paused {
2022-09-11 06:00:45 -04:00
background-color: #51a37a;
2021-12-10 23:27:27 -05:00
}
#language {
2022-09-11 06:00:45 -04:00
background: #179299;
color: #eff1f5;
2021-12-10 23:27:27 -05:00
padding: 0 5px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state {
2022-09-11 06:00:45 -04:00
background: #40a02b;
color: #eff1f5;
2021-12-10 23:27:27 -05:00
padding: 0 0px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state > label {
padding: 0 5px;
}
#keyboard-state > label.locked {
2022-09-11 06:00:45 -04:00
background: #4c4f69;
2021-12-10 23:27:27 -05:00
}