devos/users/profiles/sway/waybar.css

158 lines
2.6 KiB
CSS
Raw Permalink Normal View History

2022-06-29 13:52:31 +02:00
* {
2022-11-01 12:16:13 +01:00
all: unset;
2022-06-29 13:52:31 +02:00
}
2022-11-01 12:16:13 +01:00
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
2022-06-29 13:52:31 +02:00
}
2022-11-21 12:21:13 +01:00
window#waybar {
background-color: rgba(43, 48, 59, 0.5);
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
}
2022-06-29 13:52:31 +02:00
#workspaces button {
2022-11-01 12:16:13 +01:00
padding: 0px 10px;
2022-06-29 13:52:31 +02:00
background-color: transparent;
color: #ffffff;
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
/* Avoid rounded borders under each workspace name */
border: none;
border-radius: 0;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button.focused {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#custom-media,
#mode,
#idle_inhibitor,
2022-11-01 12:16:13 +01:00
#scratchpad,
2022-06-29 13:52:31 +02:00
#custom-riley-gender,
#mpd {
2022-11-01 12:16:13 +01:00
padding: 5px 10px;
2022-06-29 13:52:31 +02:00
color: #ffffff;
}
2022-11-01 12:16:13 +01:00
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
2022-06-29 13:52:31 +02:00
}
#custom-riley-gender {
background-color: #7D9EFF;
}
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
.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.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;
}
#pulseaudio {
background-color: #f1c40f;
color: #000000;
}
#pulseaudio.muted {
color: #2a5c45;
}
2022-11-01 12:16:13 +01:00
#tray * {
padding: 0 5px;
2022-06-29 13:52:31 +02:00
}
#tray {
background-color: #2980b9;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}