dotfiles/dot_config/waybar/style.css.tmpl

288 lines
4.3 KiB
Cheetah
Raw Normal View History

2023-06-15 01:21:31 -04:00
* {
2023-06-15 04:11:05 -04:00
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Hack, monospace;
font-size: 12px;
2023-06-15 01:21:31 -04:00
}
window#waybar {
2023-06-16 00:44:03 -04:00
background-color: rgba(50, 61, 67, 0.85);
{{- if eq .chezmoi.hostname "hydrus"}}
border-bottom: 3px solid rgba(208, 191, 155, 0.7);
{{- else }}
border-top: 3px solid rgba(208, 191, 155, 0.7);
{{- end }}
2023-06-15 04:11:05 -04:00
color: #d0bf9b;
transition-property: background-color;
transition-duration: 0.5s;
2023-06-15 01:21:31 -04:00
}
window#waybar.hidden {
2023-06-15 04:11:05 -04:00
opacity: 0.8;
2023-06-15 01:21:31 -04:00
}
/*
window#waybar.empty {
background-color: transparent;
}
window#waybar.solo {
2023-06-15 04:11:05 -04:00
background-color: #4a555b;
2023-06-15 01:21:31 -04:00
}
*/
window#waybar.termite {
2023-06-15 04:11:05 -04:00
background-color: #3f3f3f;
2023-06-15 01:21:31 -04:00
}
window#waybar.chromium {
2023-06-15 04:11:05 -04:00
background-color: #d8caac;
border: none;
2023-06-15 01:21:31 -04:00
}
button {
2023-06-15 04:11:05 -04:00
/* 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;
2023-06-15 01:21:31 -04:00
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
2023-06-15 04:11:05 -04:00
background: inherit;
box-shadow: inset 0 -3px #4a555b;
2023-06-15 01:21:31 -04:00
}
#workspaces button {
2023-06-15 04:11:05 -04:00
padding: 0 5px;
background-color: transparent;
color: #4a555b;
2023-06-15 01:21:31 -04:00
}
#workspaces button:hover {
2023-06-15 04:11:05 -04:00
background: rgba(0, 0, 0, 0.2);
2023-06-15 01:21:31 -04:00
}
#workspaces button.focused {
2023-06-15 04:11:05 -04:00
background-color: #64727d;
box-shadow: inset 0 -3px #4a555b;
2023-06-15 01:21:31 -04:00
}
#workspaces button.urgent {
2023-06-15 04:11:05 -04:00
background-color: #eb4d4b;
2023-06-15 01:21:31 -04:00
}
#mode {
2023-06-15 04:11:05 -04:00
background-color: #64727d;
border-bottom: 3px solid #4a555b;
2023-06-15 01:21:31 -04:00
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#mpd {
2023-06-15 04:11:05 -04:00
padding: 0 10px;
color: #4a555b;
2023-06-15 01:21:31 -04:00
}
#window,
#workspaces {
2023-06-15 04:11:05 -04:00
margin: 0 4px;
2023-06-15 01:21:31 -04:00
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
2023-06-15 04:11:05 -04:00
margin-left: 0;
2023-06-15 01:21:31 -04:00
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
2023-06-15 04:11:05 -04:00
margin-right: 0;
2023-06-15 01:21:31 -04:00
}
#clock {
2023-06-15 04:11:05 -04:00
background-color: #6eb2a9;
color: #4a555b;
2023-06-15 01:21:31 -04:00
}
#battery {
2023-06-15 04:11:05 -04:00
background-color: #4a555b;
color: #d8caac;
2023-06-15 01:21:31 -04:00
}
2023-06-15 04:11:05 -04:00
#battery.charging,
#battery.plugged {
color: #4a555b;
background-color: #26a65b;
2023-06-15 01:21:31 -04:00
}
@keyframes blink {
2023-06-15 04:11:05 -04:00
to {
background-color: #4a555b;
color: #d8caac;
}
2023-06-15 01:21:31 -04:00
}
#battery.critical:not(.charging) {
2023-06-15 04:11:05 -04:00
background-color: #f53c3c;
color: #4a555b;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
2023-06-15 01:21:31 -04:00
}
label:focus {
2023-06-15 04:11:05 -04:00
background-color: #d8caac;
2023-06-15 01:21:31 -04:00
}
#cpu {
2023-06-15 04:11:05 -04:00
background-color: #9bb86f;
color: #4a555b;
2023-06-15 01:21:31 -04:00
}
#memory {
2023-06-15 04:11:05 -04:00
background-color: #cf87a9;
2023-06-15 01:21:31 -04:00
}
#disk {
2023-06-15 04:11:05 -04:00
background-color: #964b00;
2023-06-15 01:21:31 -04:00
}
#backlight {
2023-06-15 04:11:05 -04:00
background-color: #90b1b1;
2023-06-15 01:21:31 -04:00
}
#network {
2023-06-16 00:44:03 -04:00
background-color: #83c092;
2023-06-15 01:21:31 -04:00
}
#network.disconnected {
2023-06-16 00:44:03 -04:00
background-color: #e68183;
2023-06-15 01:21:31 -04:00
}
#pulseaudio {
2023-06-15 04:11:05 -04:00
background-color: #d5b26b;
color: #4a555b;
2023-06-15 01:21:31 -04:00
}
#pulseaudio.muted {
2023-06-16 00:44:03 -04:00
background-color: #dbbc7f;
color: #4a555b;
2023-06-15 01:21:31 -04:00
}
#wireplumber {
2023-06-15 04:11:05 -04:00
background-color: #fff0f5;
color: #d8caac;
2023-06-15 01:21:31 -04:00
}
#wireplumber.muted {
2023-06-15 04:11:05 -04:00
background-color: #f53c3c;
2023-06-15 01:21:31 -04:00
}
#custom-media {
2023-06-15 04:11:05 -04:00
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
2023-06-15 01:21:31 -04:00
}
#custom-media.custom-spotify {
2023-06-15 04:11:05 -04:00
background-color: #66cc99;
2023-06-15 01:21:31 -04:00
}
#custom-media.custom-vlc {
2023-06-15 04:11:05 -04:00
background-color: #ffa000;
2023-06-15 01:21:31 -04:00
}
#temperature {
2023-06-15 04:11:05 -04:00
background-color: #e2966c;
2023-06-15 01:21:31 -04:00
}
#temperature.critical {
2023-06-15 04:11:05 -04:00
background-color: #eb4d4b;
2023-06-15 01:21:31 -04:00
}
#tray {
2023-06-15 04:11:05 -04:00
background-color: #323d43;
2023-06-15 01:21:31 -04:00
}
#tray > .passive {
2023-06-15 04:11:05 -04:00
-gtk-icon-effect: dim;
2023-06-15 01:21:31 -04:00
}
#tray > .needs-attention {
2023-06-15 04:11:05 -04:00
-gtk-icon-effect: highlight;
background-color: #e26c6e;
2023-06-15 01:21:31 -04:00
}
#idle_inhibitor {
2023-06-15 04:11:05 -04:00
background-color: #525c62;
color: #d0bf9b;
2023-06-15 01:21:31 -04:00
}
#idle_inhibitor.activated {
2023-06-15 04:11:05 -04:00
background-color: #d0bf9b;
color: #525c62;
2023-06-15 01:21:31 -04:00
}
#mpd {
2023-06-15 04:11:05 -04:00
background-color: #66cc99;
color: #2a5c45;
2023-06-15 01:21:31 -04:00
}
#mpd.disconnected {
2023-06-15 04:11:05 -04:00
background-color: #f53c3c;
2023-06-15 01:21:31 -04:00
}
#mpd.stopped {
2023-06-15 04:11:05 -04:00
background-color: #90b1b1;
2023-06-15 01:21:31 -04:00
}
#mpd.paused {
2023-06-15 04:11:05 -04:00
background-color: #51a37a;
2023-06-15 01:21:31 -04:00
}
#language {
2023-06-15 04:11:05 -04:00
background: #00b093;
color: #740864;
padding: 0 5px;
margin: 0 5px;
min-width: 16px;
2023-06-15 01:21:31 -04:00
}
#keyboard-state {
2023-06-15 04:11:05 -04:00
background: #72b783;
color: #4a555b;
padding: 0 0px;
margin: 0 0px;
min-width: 16px;
2023-06-15 01:21:31 -04:00
}
#keyboard-state > label {
2023-06-15 04:11:05 -04:00
padding: 0 5px;
2023-06-15 01:21:31 -04:00
}
#keyboard-state > label.locked {
2023-06-15 04:11:05 -04:00
background: rgba(0, 0, 0, 0.2);
2023-06-15 01:21:31 -04:00
}
#scratchpad {
2023-06-15 04:11:05 -04:00
background: rgba(0, 0, 0, 0.2);
2023-06-15 01:21:31 -04:00
}
#scratchpad.empty {
2023-06-15 04:11:05 -04:00
background-color: transparent;
2023-06-15 01:21:31 -04:00
}