dotfiles/home/default/.config/waybar/style.css
2024-01-27 15:42:16 +07:00

366 lines
6.2 KiB
CSS

/* white */
/*
@define-color bg white;
@define-color button black;
@define-color button-occupied black;
@define-color button-selected black;
@define-color button-box lightgrey;
@define-color widget black;
@define-color widget-border-right transparent;
@define-color border-bottom rgba(100, 114, 125, 0.5);
*/
/* black */
/*@define-color bg black;
@define-color button grey;
@define-color button-occupied grey;
@define-color button-selected grey;
@define-color button-box #424242;
@define-color widget grey;
@define-color border-bottom transparent;
@define-color widget-border-right #424242;*/
/* grey */
/*
@define-color bg #222222;
@define-color button #bbbbbb;
@define-color button-occupied #bbbbbb;
@define-color button-selected #bbbbbb;
@define-color button-box #424242;
@define-color widget #999999;
@define-color widget-border-right #424242;
@define-color border-bottom transparent;*/
/* Tomorrow Night (#161616 bg) */
@define-color border-bottom transparent;
@define-color widget-border-right transparent;
@define-color button #444444;
@define-color button-occupied #c5c8c6;
@define-color button-selected grey;
@define-color button-box #424242;
@define-color bg rgba(22,22,22,0.9);
@define-color widget #c5c8c6;
@define-color border-bottom #333333;
/*@define-color bg rgba(19,19,19,1);*/
* {
border: none;
border-radius: 0;
/* Cozette */
font-family: 'IBM Plex Mono', 'Symbols Nerd Font';
font-size: 10px;
/*font-size: 14px;*/
min-height: 0;
}
window#waybar {
/* background colors:
* #000
* #222222 *def*
* #161616
*/
/* colors
* #999999 def
* #bbbbbb
* #ffffff
*/
background-color: @bg;
border-bottom: 2px solid @border-bottom;
/*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;
}
/*background-color: #6B313D;*/
#workspaces button.persistent {
background-color: transparent;
color: @button;
}
#workspaces button {
transition: none;
/*
* background colors:
* transparent
* #444444
*/
background-color: transparent;
/* colors:
* #bbbbbb
*/
color: @button-occupied;
padding: 0 8px;
min-width: 0;
}
/*#workspaces button.active {
background-color: #444444;
color: #bbbbbb;
}*/
#workspaces button.visible {
/*color: #000000;
background-color: #888888;*/
/*
* box shadow colors
* #424242 *def*
* #555555
*/
box-shadow: inset 2px 2px @button-box, inset -2px -2px @button-box;
color:@button-selected;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
/* river tags */
#tags button {
color: @button; /*#444444*/
padding: 0 8px;
min-width: 0;
}
#tags button.occupied {
color: @button-occupied /*#6B313D*/
}
#tags button.focused {
color: @button-selected; /*#9EA68F*/
box-shadow: inset 2px 2px @button-box, inset -2px -2px @button-box;
}
#tags button.urgent {
color: red /* def red */
}
#mode {
background-color: #64727D;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#bluetooth,
#custom-swaync,
#custom-scratchpad_indicator,
#custom-emacsstatus,
#custom-neralie,
#mpd {
padding: 0 6px;
/*padding-right: 10px;*/
/*
* border colors
* #424242 *def*
*
*/
border-right: 2px solid @widget-border-right;
/*
* colors
* #999999 *def*
* #bbbbbb
* #ffffff
*/
color: @widget
}
/* im using this near the right edge */
/* test {
padding: 0 6px;
color: #999999;
}*/
#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: #000000;
}
*/
#battery.charging, #battery.plugged {
color: #ffffff;
background-color: #26A65B;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#battery.warning:not(.charging) {
background-color: #F57C00;
color: black;
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
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: #000000;
}
#memory {
background-color: #9b59b6;
}
#disk {
background-color: #964B00;
}
#backlight {
background-color: #90b1b1;
}
#network {
background-color: #2980b9;
}
*/
#network.disconnected {
background-color: #424242;
}
#pulseaudio.muted {
background-color: #424242;
}
#custom-media {
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
}
#custom-media.custom-spotify {
background-color: #66cc99;
}
#custom-media.custom-vlc {
background-color: #ffa000;
}
#temperature {
background-color: #f0932b;
}
#temperature.critical {
background-color: #eb4d4b;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
}
#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);
}