Files
dotfiles/.config/waybar/style.css
T
2024-06-07 18:18:06 +05:30

284 lines
4.3 KiB
CSS

* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: 'JetBrainsMono Nerd Font';
font-size: 16px;
padding: 3px;
}
window#waybar {
background: #262626;
/* background-color: rgba(43, 48, 59, 0.5); */
/* border-top: 3px solid rgba(100, 114, 125, 0.5); */
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
/*
window#waybar.empty {
background-color: transparent;
}
window#waybar.solo {
background-color: #FFFFFF;
}
*/
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: #66cc99;
}
#workspaces button.focused {
/* background-color: #64727D;*/
box-shadow: inset -2px -2px #ffffff, inset 2px 2px #ffffff;
/* border: 1px solid white; */
color: palevioletred
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
/* background-color: #64727D; */
border: 2px solid green;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#mpd {
padding: 0 10px;
background-color: #262626;
}
#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 {
/* background-color: #64727D; */
}
#battery {
/* background-color: #ffffff; */
color: #ffffff;
}
#battery.charging,
#battery.plugged {
color: #26A65B;
/* background-color: #26A65B; */
}
@keyframes blink {
to {
color: #ffffff;
}
}
#battery.critical:not(.charging) {
/* background-color: #f53c3c; */
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: #000000;
}
#cpu {
/* background-color: #2ecc71; */
color: #2ecc71;
}
#memory {
/* background-color: #9b59b6; */
color: #9b59b6;
}
#disk {
color: #964B00;
}
#backlight {
color: #90b1b1;
}
#network {
color: #2980b9;
}
#network.disconnected {
color: #f53c3c;
}
#pulseaudio {
color: #f1c40f;
}
#pulseaudio.muted {
color: #90b1b1;
}
#wireplumber {
color: #fff0f5;
}
#wireplumber.muted {
color: #f53c3c;
}
#custom-media {
color: #66cc99;
min-width: 100px;
}
#custom-media.custom-spotify {
color: #66cc99;
}
#custom-media.custom-vlc {
color: #ffa000;
}
#temperature {
color: #f0932b;
}
#temperature.critical {
color: #eb4d4b;
}
#tray {
color: #2980b9;
}
#tray>.passive {
-gtk-icon-effect: dim;
}
#tray>.needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
color: red;
}
#idle_inhibitor.activated {
color: green;
}
#mpd {
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
background-color: #90b1b1;
}
#mpd.paused {
background-color: #51a37a;
}
#language {
background: #00b093;
color: #740864;
padding: 0 5px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state {
background: #97e1ad;
color: #000000;
padding: 0 0px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state>label {
padding: 0 5px;
}
#keyboard-state>label.locked {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad.empty {
background-color: transparent;
}
#custom-wakatime {
color: turquoise
}