dotfiles/dot_config/waybar/style.css.tmpl

422 lines
8.3 KiB
Cheetah
Raw Normal View History

2023-06-15 01:21:31 -04:00
* {
2023-06-15 04:11:05 -04:00
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 {
background-color: #e26c6e;
2023-06-15 01:21:31 -04:00
}
#mode {
background-color: #323d43;
color: #d8caac;
{{- 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 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 {
background-color: #323d43;
color: #d8caac;
{{- 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 01:21:31 -04:00
}
#battery {
background-color: #323d43;
2023-06-15 04:11:05 -04:00
color: #d8caac;
{{- 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 01:21:31 -04:00
}
2023-06-15 04:11:05 -04:00
#battery.charging,
2023-06-18 00:06:39 -04:00
#battery.plugged.charging {
2023-06-15 04:11:05 -04:00
color: #4a555b;
background-color: #9bb86f;
{{- 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 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
}
2023-06-18 00:06:39 -04:00
#battery.good {
background-color: #323d43;
color: #d8caac;
{{- 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 }}
}
#battery.warning:not(.charging) {
background-color: #d5b26b;
color: #4a555b;
{{- 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 01:21:31 -04:00
#battery.critical:not(.charging) {
background-color: #e26c6e;
2023-06-15 04:11:05 -04:00
color: #4a555b;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
{{- 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 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 {
background-color: #323d43;
color: #d8caac;
{{- 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 01:21:31 -04:00
}
#memory {
background-color: #323d43;
color: #d8caac;
{{- 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 01:21:31 -04:00
}
#disk {
background-color: #323d43;
color: #d8caac;
{{- 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 01:21:31 -04:00
}
#backlight {
2023-06-18 00:06:39 -04:00
background-color: #323d43;
color: #d8caac;
{{- 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 01:21:31 -04:00
}
#network {
background-color: #323d43;
color: #d8caac;
{{- 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 01:21:31 -04:00
}
#network.disconnected {
background-color: #e26c6e;
color: #4a555b;
2023-06-15 01:21:31 -04:00
}
#pulseaudio {
background-color: #323d43;
color: #d8caac;
{{- 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 01:21:31 -04:00
}
#pulseaudio.muted {
background-color: #525c62;
color: #d8caac;
{{- 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 01:21:31 -04:00
}
#wireplumber {
background-color: #323d43;
2023-06-15 04:11:05 -04:00
color: #d8caac;
{{- 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 01:21:31 -04:00
}
#wireplumber.muted {
background-color: #525c62;
color: #d8caac;
{{- 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 01:21:31 -04:00
}
#temperature {
background-color: #323d43;
color: #d8caac;
{{- 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 01:21:31 -04:00
}
#temperature.critical {
background-color: #e26c6e;
color: #4a555b;
2023-06-15 01:21:31 -04:00
}
#tray {
2023-06-15 04:11:05 -04:00
background-color: #323d43;
{{- 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 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: #d8caac;
{{- 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 01:21:31 -04:00
}
#idle_inhibitor.activated {
2023-06-15 04:11:05 -04:00
background-color: #d0bf9b;
color: #525c62;
{{- if eq .chezmoi.hostname "hydrus"}}
border-bottom: 3px solid rgba(50, 61, 67, 0.7);
{{- else }}
border-top: 3px solid rgba(50, 61, 67, 0.7);
{{- end }}
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 {
background: #323d43;
color: #d8caac;
2023-06-15 04:11:05 -04:00
padding: 0 0px;
margin: 0 0px;
min-width: 16px;
{{- 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 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 {
background: rgba(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
}
/* River */
#mode.normal {
2023-06-18 00:06:39 -04:00
background-color: #323d43;
color: #d8caac;
}
#mode.passthrough {
background-color: #d0bf9b;
color: #4a555b;
}
#tags button {}
#tags button.occupied {
background-color: #525c62;
color: #d8caac;
{{- 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 }}
}
#tags button.focused {
background-color: #d0bf9b;
color: #4a555b;
{{- if eq .chezmoi.hostname "hydrus"}}
border-bottom: 3px solid rgba(50, 61, 67, 0.7);
{{- else }}
border-top: 3px solid rgba(50, 61, 67, 0.7);
{{- end }}
}
#tags button.urgent {
background-color: #e26c6e;
color: #4a555b;
}
#window {
2023-06-18 00:06:39 -04:00
font-size: 12px;
}