299 lines
5 KiB
CSS
299 lines
5 KiB
CSS
@define-color base03 #16161D;
|
|
@define-color base02 #1F1F28;
|
|
@define-color base01 #2A2A37;
|
|
@define-color base00 #363646;
|
|
@define-color base0 #938056;
|
|
@define-color base1 #C0A36E;
|
|
@define-color base2 #C8C093;
|
|
@define-color base3 #DCD7BA;
|
|
@define-color yellow #DCA561;
|
|
@define-color orange #FF9E3B;
|
|
@define-color red #C34043;
|
|
@define-color magenta #d33682;
|
|
@define-color violet #D27E99;
|
|
@define-color blue #2D4F67;
|
|
@define-color cyan #6A9589;
|
|
@define-color green #98BB6C;
|
|
|
|
|
|
* {
|
|
/* `otf-font-awesome` is required to be installed for icons */
|
|
font-family: JetBrainsMono, FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
|
font-size: 13px;
|
|
border-radius: 0;
|
|
color: @base3;
|
|
}
|
|
|
|
window#waybar {
|
|
background-color: rgba(86, 84, 73, 0.8);
|
|
border-bottom: 3px solid rgba(147, 128, 86, 0.5);
|
|
color: #ffffff;
|
|
transition-property: background-color;
|
|
transition-duration: .5s;
|
|
border-radius: 15;
|
|
}
|
|
|
|
#window {
|
|
border-radius: 15;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
window#waybar.hidden {
|
|
opacity: 0.2;
|
|
}
|
|
|
|
|
|
window#waybar.termite {
|
|
background-color: #3F3F3F;
|
|
}
|
|
|
|
window#waybar.chromium {
|
|
background-color: #000000;
|
|
border: none;
|
|
}
|
|
|
|
button {
|
|
/* 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;
|
|
}
|
|
|
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
|
button:hover {
|
|
background: inherit;
|
|
box-shadow: inset 0 -3px #ffffff;
|
|
}
|
|
|
|
#workspaces button {
|
|
padding: 0 5px;
|
|
background-color: transparent;
|
|
color: #ffffff;
|
|
}
|
|
|
|
#workspaces button:hover {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#workspaces button.focused {
|
|
background-color: @base02;
|
|
box-shadow: inset 0 -3px #ffffff;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
background-color: @orange;
|
|
}
|
|
|
|
#mode {
|
|
background-color: @violet;
|
|
box-shadow: inset 0 -3px @base03;
|
|
}
|
|
|
|
#battery,
|
|
#cpu,
|
|
#memory,
|
|
#disk,
|
|
#temperature,
|
|
#backlight,
|
|
#network,
|
|
#pulseaudio,
|
|
#wireplumber,
|
|
#custom-media,
|
|
#tray,
|
|
#mode,
|
|
#idle_inhibitor,
|
|
#scratchpad,
|
|
#custom-power,
|
|
#language,
|
|
#custom-dnd,
|
|
#custom-cliphist,
|
|
#custom-darklight {
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
background-color: @base03;
|
|
color: @base3;
|
|
}
|
|
|
|
#window,
|
|
#workspaces {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.modules-right *,
|
|
.modules-left * {
|
|
border-radius: 5px;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
.modules-right,
|
|
.modules-left {
|
|
border-radius: 15px;
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
padding-top: 7px;
|
|
padding-bottom: 7px;
|
|
}
|
|
|
|
#clock {
|
|
padding: 0 10px;
|
|
color: @base2;
|
|
}
|
|
|
|
#backlight {
|
|
border-bottom: 3px solid @violet;
|
|
}
|
|
|
|
#battery.charging,
|
|
#battery.plugged {
|
|
border-bottom: 3px solid @green;
|
|
}
|
|
|
|
#battery {
|
|
border-bottom: 3px solid @blue;
|
|
}
|
|
|
|
@keyframes blink {
|
|
to {
|
|
border-bottom: 3px solid @red;
|
|
}
|
|
}
|
|
|
|
/* Using steps() instead of linear as a timing function to limit cpu usage */
|
|
#battery.critical:not(.charging) {
|
|
border-bottom: 3px solid @base03;
|
|
animation-name: blink;
|
|
animation-duration: 0.5s;
|
|
animation-timing-function: steps(12);
|
|
animation-iteration-count: infinite;
|
|
animation-direction: alternate;
|
|
}
|
|
|
|
label:focus {
|
|
background-color: #000000;
|
|
}
|
|
|
|
#cpu {
|
|
border-bottom: 3px solid @cyan;
|
|
}
|
|
|
|
#custom-dnd {
|
|
border-bottom: 3px solid @cyan;
|
|
}
|
|
|
|
#custom-cliphist {
|
|
border-bottom: 3px solid @magenta;
|
|
}
|
|
|
|
#memory {
|
|
border-bottom: 3px solid @magenta;
|
|
}
|
|
|
|
#disk {
|
|
border-bottom: 3px solid @orange;
|
|
}
|
|
|
|
#network {
|
|
border-bottom: 3px solid @blue;
|
|
}
|
|
|
|
#network.disconnected {
|
|
border-bottom: 3px solid @orange;
|
|
}
|
|
|
|
#pulseaudio {
|
|
border-bottom: 3px solid @yellow;
|
|
}
|
|
|
|
#pulseaudio.muted {
|
|
border-bottom: 3px solid @orange;
|
|
}
|
|
|
|
#custom-media {
|
|
border-bottom: 3px solid @cyan;
|
|
}
|
|
|
|
#custom-media.custom-firefox {
|
|
border-bottom: 3px solid @orange;
|
|
}
|
|
|
|
#custom-power {
|
|
border-bottom: 3px solid @base01;
|
|
}
|
|
|
|
#custom-darklight {
|
|
border-bottom: 3px solid @red;
|
|
}
|
|
|
|
#temperature {
|
|
border-bottom: 3px solid @yellow;
|
|
}
|
|
|
|
#temperature.critical {
|
|
border-bottom: 3px solid @orange;
|
|
}
|
|
|
|
#tray {
|
|
border-bottom: 3px solid @green;
|
|
}
|
|
|
|
#tray>.passive {
|
|
-gtk-icon-effect: dim;
|
|
}
|
|
|
|
#tray>.needs-attention {
|
|
-gtk-icon-effect: highlight;
|
|
background-color: #eb4d4b;
|
|
}
|
|
|
|
#idle_inhibitor {
|
|
border-bottom: 3px solid @base01;
|
|
}
|
|
|
|
#idle_inhibitor.activated {
|
|
border-bottom: 3px solid @base3;
|
|
}
|
|
|
|
#language {
|
|
border-bottom: 3px solid @cyan;
|
|
}
|
|
|
|
|
|
#scratchpad {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#scratchpad.empty {
|
|
background-color: transparent;
|
|
}
|
|
|
|
#privacy {
|
|
padding: 0;
|
|
}
|
|
|
|
#privacy-item {
|
|
padding: 0 5px;
|
|
color: white;
|
|
}
|
|
|
|
#privacy-item.screenshare {
|
|
border-bottom: 3px solid @orange;
|
|
}
|
|
|
|
#privacy-item.audio-in {
|
|
border-bottom: 3px solid @green;
|
|
}
|
|
|
|
#privacy-item.audio-out {
|
|
background-color: #0069d4;
|
|
border-bottom: 3px solid @cyan;
|
|
}
|