dotfiles/.config/waybar/style.css

103 lines
1.7 KiB
CSS
Raw Normal View History

2025-12-25 22:21:17 +01:00
* {
/* `otf-font-awesome` is required to be installed for icons */
2026-03-26 23:10:37 +01:00
font-family: Symbols Nerd Font, sans-serif;
2025-12-29 23:40:17 +01:00
font-size: 14px;
}
tooltip {
font-weight: normal;
2026-02-12 14:49:48 +01:00
background: rgba(25, 25, 25, 0.9);
border: solid 2px rgba(80, 80, 80, 0.9);
2025-12-29 23:40:17 +01:00
border-radius: 0px;
2025-12-25 22:21:17 +01:00
}
window#waybar {
color: #ffffff;
2026-01-26 23:38:04 +01:00
background-color: rgba(0, 0, 0, 1.0);
2025-12-25 22:21:17 +01:00
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
button {
/* Use box-shadow instead of border so the text isn't offset */
2026-01-26 23:38:04 +01:00
box-shadow: inset 0 -2px transparent;
2025-12-25 22:21:17 +01:00
/* Avoid rounded borders under each button name */
border: none;
border-radius: 0;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
background: inherit;
box-shadow: inset 0 -2px #ffffff;
}
#workspaces button {
2025-12-29 23:40:17 +01:00
padding: 0 4px;
2025-12-25 22:21:17 +01:00
color: #999999;
2026-01-26 23:38:04 +01:00
background-color: transparent;
2025-12-25 22:21:17 +01:00
}
#workspaces button:hover {
2026-01-26 23:38:04 +01:00
background: inherit;
2025-12-25 22:21:17 +01:00
}
#workspaces button.focused,
#workspaces button.active {
color: #ffffff;
}
#workspaces button.urgent {
background-color: #9b0000;
}
2026-02-24 16:16:27 +01:00
.mark {
background-color: #505050;
}
2026-01-26 23:38:04 +01:00
#mode,
2025-12-25 22:21:17 +01:00
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
2025-12-29 23:40:17 +01:00
#bluetooth,
2025-12-25 22:21:17 +01:00
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#power-profiles-daemon,
#mpd {
2025-12-29 23:40:17 +01:00
padding: 0 8px;
2025-12-25 22:21:17 +01:00
color: #ffffff;
}
#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;
}
#battery.critical:not(.charging) {
2025-12-29 23:40:17 +01:00
color: #9b0000
2025-12-25 22:21:17 +01:00
}