Hyprland-dotfiles/waybar/themes/default/style.css

290 lines
4.6 KiB
CSS
Raw Normal View History

2023-08-19 05:21:42 -04:00
* {
2023-10-09 11:27:03 -04:00
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
2023-08-19 05:21:42 -04:00
}
window#waybar {
2023-10-09 11:27:03 -04:00
background-color: rgba(43, 48, 59, 0.5);
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
color: #ffffff;
2023-08-19 05:21:42 -04:00
transition-property: background-color;
transition-duration: .5s;
}
2023-10-09 11:27:03 -04:00
window#waybar.hidden {
opacity: 0.2;
2023-08-30 08:45:03 -04:00
}
2023-10-09 11:27:03 -04:00
/*
window#waybar.empty {
background-color: transparent;
2023-08-20 05:46:46 -04:00
}
2023-10-09 11:27:03 -04:00
window#waybar.solo {
background-color: #FFFFFF;
2023-08-19 05:21:42 -04:00
}
2023-10-09 11:27:03 -04:00
*/
2023-08-19 05:21:42 -04:00
2023-10-09 11:27:03 -04:00
window#waybar.termite {
background-color: #3F3F3F;
2023-08-21 04:46:13 -04:00
}
2023-08-30 08:45:03 -04:00
2023-10-09 11:27:03 -04:00
window#waybar.chromium {
background-color: #000000;
border: none;
2023-08-19 05:21:42 -04:00
}
2024-02-16 02:02:26 -05:00
#custom-ml4w-welcome {
margin-right: 15px;
background-image: url("../assets/ml4w-icon-20.png");
background-repeat: no-repeat;
background-position: center;
padding-right: 20px;
margin-right: 0px;
}
2023-10-09 11:27:03 -04:00
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;
2023-08-19 05:21:42 -04:00
}
2023-10-09 11:27:03 -04:00
/* 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;
2023-08-31 03:05:39 -04:00
}
2023-10-09 11:27:03 -04:00
#workspaces button {
padding: 0 5px;
background-color: transparent;
color: #ffffff;
2023-08-31 11:23:04 -04:00
}
2023-10-09 11:27:03 -04:00
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
2023-08-31 03:05:39 -04:00
2023-10-09 11:27:03 -04:00
#workspaces button.focused {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
2023-08-19 05:21:42 -04:00
}
2023-10-09 11:27:03 -04:00
#workspaces button.urgent {
background-color: #eb4d4b;
2023-08-31 03:05:39 -04:00
}
2023-10-09 11:27:03 -04:00
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#mpd {
padding: 0 10px;
color: #ffffff;
}
#window,
#workspaces {
margin: 0 4px;
}
2023-08-31 03:05:39 -04:00
2023-10-09 11:27:03 -04:00
/* If workspaces is the leftmost module, omit left margin */
2023-08-19 05:21:42 -04:00
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
2023-10-09 11:27:03 -04:00
/* If workspaces is the rightmost module, omit right margin */
2023-08-19 05:21:42 -04:00
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
2023-10-09 11:27:03 -04:00
#clock {
background-color: #64727D;
2023-09-01 04:25:57 -04:00
}
2023-10-09 11:27:03 -04:00
#battery {
background-color: #ffffff;
color: #000000;
2023-10-02 16:13:06 -04:00
}
2023-10-09 11:27:03 -04:00
#battery.charging, #battery.plugged {
color: #ffffff;
background-color: #26A65B;
2023-08-30 08:45:03 -04:00
}
2023-10-09 11:27:03 -04:00
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
2023-08-20 05:46:46 -04:00
}
2023-10-09 11:27:03 -04:00
#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;
2023-08-31 05:43:42 -04:00
}
2023-10-09 11:27:03 -04:00
label:focus {
background-color: #000000;
}
2023-10-09 11:27:03 -04:00
#cpu {
background-color: #2ecc71;
color: #000000;
}
2023-10-09 11:27:03 -04:00
#memory {
background-color: #9b59b6;
}
2023-10-09 11:27:03 -04:00
#disk {
background-color: #964B00;
2023-08-31 05:43:42 -04:00
}
2023-10-09 11:27:03 -04:00
#backlight {
background-color: #90b1b1;
2023-08-31 03:05:39 -04:00
}
2023-10-09 11:27:03 -04:00
#network {
background-color: #2980b9;
2023-09-01 03:55:27 -04:00
}
2023-10-09 11:27:03 -04:00
#network.disconnected {
background-color: #f53c3c;
2023-08-19 05:21:42 -04:00
}
2023-08-31 03:05:39 -04:00
#pulseaudio {
2023-10-09 11:27:03 -04:00
background-color: #f1c40f;
color: #000000;
2023-08-31 03:05:39 -04:00
}
#pulseaudio.muted {
2023-10-09 11:27:03 -04:00
background-color: #90b1b1;
color: #2a5c45;
2023-09-01 02:38:15 -04:00
}
2023-10-09 11:27:03 -04:00
#wireplumber {
background-color: #fff0f5;
color: #000000;
2023-09-01 02:38:15 -04:00
}
2023-10-09 11:27:03 -04:00
#wireplumber.muted {
background-color: #f53c3c;
2023-08-31 10:00:02 -04:00
}
2023-10-09 11:27:03 -04:00
#custom-media {
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
2023-08-31 10:00:02 -04:00
}
2023-10-09 11:27:03 -04:00
#custom-media.custom-spotify {
background-color: #66cc99;
2023-08-19 05:21:42 -04:00
}
2023-10-09 11:27:03 -04:00
#custom-media.custom-vlc {
background-color: #ffa000;
2023-08-19 05:21:42 -04:00
}
2023-10-09 11:27:03 -04:00
#temperature {
background-color: #f0932b;
2023-08-19 05:21:42 -04:00
}
2023-10-09 11:27:03 -04:00
#temperature.critical {
background-color: #eb4d4b;
2023-08-19 05:21:42 -04:00
}
#tray {
background-color: #2980b9;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
2023-10-09 11:27:03 -04:00
#idle_inhibitor {
background-color: #2d3436;
}
2023-08-19 05:21:42 -04:00
2023-10-09 11:27:03 -04:00
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
2023-08-19 05:21:42 -04:00
}
2023-10-09 11:27:03 -04:00
#mpd {
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
2023-08-19 05:21:42 -04:00
background-color: #90b1b1;
}
2023-10-09 11:27:03 -04:00
#mpd.paused {
background-color: #51a37a;
2023-08-19 05:21:42 -04:00
}
2023-10-09 11:27:03 -04:00
#language {
background: #00b093;
color: #740864;
padding: 0 5px;
margin: 0 5px;
min-width: 16px;
2023-08-21 04:46:13 -04:00
}
2023-10-09 11:27:03 -04:00
#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;
}