dotfiles/de/home/.config/waybar/style.css
2024-06-11 13:30:02 -06:00

263 lines
4 KiB
CSS

/*@import '../../.cache/wal/colors-waybar.css';*/
@import '../de-vars/colors/blazer/waybar.css';
* {
font-family: FontAwesome, Overpass;
/* font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;*/
font-size: 14px;
}
window#waybar {
color: @color9;
border-radius: 10px;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.empty #window {
font-size:0;
margin:0;
padding:0;
}
.modules-center{
background:none;
margin:0px;
padding:0px;
}
window#waybar.hidden {
opacity: 0.2;
}
window {
background: transparent;
}
window box > box {
opacity:0.75;
}
.modules-left, .modules-right, #custom-sonixd.enabled {
background-color: @color0;
margin:10px 20px 10px 20px;
padding:5px 5px 3px 5px;
border-radius:10px;
box-shadow: 0px 0px 5px 3px @color0;
}
#workspaces {
padding-bottom:2px;
}
button {
box-shadow: inset 0 -3px transparent;
border: none;
border-radius: 0;
}
button:hover {
background: inherit;
box-shadow: inset 0 -3px #ffffff;
}
#custom-sway-profile {
margin-bottom: 2px;
border: 2px solid @color1;
padding: 5px 5px 3px 5px;
background-color: @color9;
color: @color0;
border-radius:8px;
min-width: 8px;
}
#workspaces>button:first-child {
border-radius:8px 0px 0px 8px;
}
#workspaces>button:last-child {
border-radius:0px 8px 8px 0px;
}
#workspaces>button:only-child{
border-radius: 8px;
}
#workspaces button {
border: 2px solid @color1;
padding: 5px 5px 3px 5px;
background-color: @color9;
color: @color0;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
#workspaces button.focused {
background-color: @color1;
}
#workspaces button.urgent {
background-color: @color5;
}
#mode {
background-color: @color9;
border-bottom: 3px solid @color7;
border-radius: 8px;
color:@color0;
padding: 0px 5px;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-sonixd.enabled,
#custom-separator,
#custom-nmvpn,
#bluetooth,
#sway-window,
#window,
#tray,
#idle_inhibitor,
#mpd {
padding: 0px 8px;
color: @color9;
}
#custom-separator{
margin:0px;
background-color: @color9;
}
#window,
#workspaces {
margin: 0px 0px;
}
/* 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;
}
#battery {
color: @color9;
}
#battery.charging, #battery.plugged {
color: @color2;
}
/*@keyframes blink {
to {
color: @color0;
}
}*/
#battery.critical:not(.charging) {
/* color: @color5;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;*/
color: @color3;
}
label:focus {
background-color: @color9;
}
#cpu {
color: @color9;
}
#pulseaudio {
color: @color9;
}
#pulseaudio.muted {
color: @color1;
}
#wireplumber {
color: @color9;
}
#wireplumber.muted {
}
#temperature.critical {
background-color: @color5;
}
#tray {
border-left: 2px solid @color9
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
margin-bottom: 3px;
color: @color9;
}
#idle_inhibitor.activated {
color: @color1;
}
#language {
color: #740864;
padding: 0 5px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state {
background-color: transparent;
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-color: @color9;
border-radius: 8px;
color:@color0;
padding: 5px 5px 3px 5px;
margin-bottom:2px;
}
#scratchpad.empty {
background-color: @color9;
}