dotfiles/config/waybar/style.css

267 lines
4.1 KiB
CSS
Raw Normal View History

2025-06-29 21:22:43 +03:30
* {
2025-08-02 11:43:36 +03:30
border: none;
/*border-radius: 4px;*/
/* `ttf-font-awesome` is required to be installed for icons */
font-family: "inter", sans-serif;
/* adjust font-size value to your liking: */
font-size: 12px;
min-height: 0;
2025-06-29 21:22:43 +03:30
}
window#waybar {
2025-08-02 11:43:36 +03:30
background-color: #212426;
/* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */
color: #ffffff;
/* transition-property: background-color; */
/* transition-duration: .5s; */
/* border-radius: 0; */
2025-06-29 21:22:43 +03:30
}
2025-08-02 11:43:36 +03:30
/* window#waybar.hidden {
* opacity: 0.2;
} * */
/*
w *indow#waybar.empty {
background-color: transparent;
}
window#waybar.solo {
background-color: #FFFFFF;
}
*/
/* window#waybar.termite {
* background-color: #000000;
} *
window#waybar.chromium {
background-color: #000000;
border: none;
} */
2025-06-30 09:52:33 +03:30
2025-06-29 21:22:43 +03:30
#workspaces button {
2025-08-02 11:43:36 +03:30
padding: 0 10px;
background-color: #393d40;
color: #ffffff;
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
border-radius: 4px;
margin: 6px 3px;
2025-06-29 21:22:43 +03:30
}
2025-08-02 11:43:36 +03:30
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover {
background: #393d40;
box-shadow: inset 0 -3px #ffffff;
border-radius: 4px;
}
#workspaces button.focused {
background-color: #464A4E;
border-radius: 4px;
/* box-shadow: inset 0 -3px #ffffff; */
2025-06-29 21:22:43 +03:30
}
2025-08-02 11:43:36 +03:30
2025-06-29 21:22:43 +03:30
#workspaces button.urgent {
2025-08-02 11:43:36 +03:30
background-color: #eb4d4b;
border-radius: 4px;
}
#mode {
background-color: #64727D;
/* border-bottom: 3px solid #ffffff; */
}
#clock,
#battery,
#cpu,
#memory,
#temperature,
#backlight,
#network,
#pulseaudio,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#mpd {
padding: 0 10px;
margin: 6px 3px;
color: #212426;
2025-06-29 21:22:43 +03:30
}
2025-08-02 11:43:36 +03:30
#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;
2025-06-29 21:22:43 +03:30
}
2025-08-02 11:43:36 +03:30
#clock {
background-color: #393d40;
color: white;
border-radius: 4px;
2025-06-29 21:22:43 +03:30
}
2025-08-02 11:43:36 +03:30
#battery {
border-radius: 4px;
background-color: #393d40;
color: white;
}
#battery.charging {
border-radius: 4px;
color: #ffffff;
background-color: #393d40;
2025-06-29 21:22:43 +03:30
}
@keyframes blink {
2025-08-02 11:43:36 +03:30
to {
background-color: #ffffff;
color: #212426;
}
}
#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;
border-radius: 4px;
}
label:focus {
background-color: #000000;
}
#cpu {
background-color: #000000;
color: #ffffff;
border-radius: 4px;
}
#memory {
border-radius: 4px;
background-color: #000000;
color: white;
}
#backlight {
border-radius: 4px;
background-color: #000000;
color:white;
}
#network {
border-radius: 4px;
background-color: #393d40;
color:white;
}
#network.disconnected {
border-radius: 4px;
background-color: #f53c3c;
}
#pulseaudio {
border-radius: 4px;
background-color: #393d40;
color: #ffffff;
2025-06-29 21:22:43 +03:30
}
#pulseaudio.muted {
2025-08-02 11:43:36 +03:30
border-radius: 4px;
background-color: #393d40;
color: #ffffff;
}
#custom-media {
border-radius: 4px;
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
}
#custom-media.custom-spotify {
border-radius: 4px;
background-color: #66cc99;
}
#custom-media.custom-vlc {
border-radius: 4px;
background-color: #ffa000;
}
#temperature {
border-radius: 4px;
background-color: #f0932b;
}
#temperature.critical {
border-radius: 4px;
background-color: #eb4d4b;
}
#tray {
border-radius: 4px;
background-color: #8A6887;
}
#idle_inhibitor {
border-radius: 4px;
background-color: #2d3436;
}
#idle_inhibitor.activated {
border-radius: 4px;
background-color: #ecf0f1;
color: #2d3436;
}
#mpd {
border-radius: 4px;
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
border-radius: 4px;
background-color: #f53c3c;
}
#mpd.stopped {
border-radius: 4px;
background-color: #90b1b1;
}
#mpd.paused {
border-radius: 4px;
background-color: #51a37a;
}
#language {
border-radius: 4px;
background: #bbccdd;
color: #333333;
padding: 0 5px;
margin: 6px 3px;
min-width: 16px;
2025-06-29 21:22:43 +03:30
}
2025-06-30 09:52:33 +03:30