fixed waybar
This commit is contained in:
@@ -1,74 +1,131 @@
|
||||
* {
|
||||
font-size: 20px;
|
||||
font-family: monospace;
|
||||
font-family: "CaskaydiaCove Nerd Font", "Font Awesome 6 Free", "Font Awesome 6 Free Solid";
|
||||
font-size: 16px;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
border: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: #292b2e;
|
||||
color: #fdf6e3;
|
||||
#workspaces{
|
||||
background-color: rgba(24,24,37,1.0);
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#custom-right-arrow-dark,
|
||||
#custom-left-arrow-dark {
|
||||
color: #1a1a1a;
|
||||
}
|
||||
#custom-right-arrow-light,
|
||||
#custom-left-arrow-light {
|
||||
color: #292b2e;
|
||||
background: #1a1a1a;
|
||||
#tray{
|
||||
margin: 6px 3px;
|
||||
background-color: rgba(36, 36, 52, 1.0);
|
||||
padding: 6px 12px; /* 保持内部间距 */
|
||||
border-radius: 6px;
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#clock.1,
|
||||
#clock.2,
|
||||
#clock.3,
|
||||
#waybar {
|
||||
background-color: #181825;
|
||||
transition-property: background-color;
|
||||
transition-duration: 0.5s;
|
||||
}
|
||||
|
||||
#window,
|
||||
#clock,
|
||||
#custom-power,
|
||||
#custom-reboot,
|
||||
#bluetooth,
|
||||
#battery,
|
||||
#pulseaudio,
|
||||
#backlight,
|
||||
#custom-temperature,
|
||||
#memory,
|
||||
#cpu,
|
||||
#battery,
|
||||
#disk,
|
||||
#tray {
|
||||
background: #1a1a1a;
|
||||
#network,
|
||||
#custom-lock{
|
||||
border-radius: 4px;
|
||||
margin: 6px 3px;
|
||||
padding: 6px 12px;
|
||||
background-color: #1e1e2e;
|
||||
color: #181825;
|
||||
}
|
||||
|
||||
#clock {
|
||||
background-color: #89b4fa;
|
||||
}
|
||||
#custom-power{
|
||||
background-color: #f38ba8;
|
||||
}
|
||||
#custom-reboot{
|
||||
background-color: #a6e3a1;
|
||||
}
|
||||
#bluetooth{
|
||||
background-color: #f9e2af;
|
||||
}
|
||||
#battery{
|
||||
background-color: #cba6f7;
|
||||
}
|
||||
#pulseaudio{
|
||||
background-color: #89dceb;
|
||||
}
|
||||
#backlight{
|
||||
background-color: #a6a3a1;
|
||||
}
|
||||
#custom-temperature{
|
||||
background-color: #74c7ec;
|
||||
}
|
||||
#memory{
|
||||
background-color: #f7768e;
|
||||
}
|
||||
#cpu{
|
||||
background-color: #f38ba8;
|
||||
}
|
||||
#network{
|
||||
background-color: #fab387;
|
||||
}
|
||||
#custom-lock{
|
||||
background-color: #94e2d5;
|
||||
}
|
||||
#window{
|
||||
background-color: #74c7ec;
|
||||
}
|
||||
|
||||
#waybar.hidden {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 2px;
|
||||
color: #fdf6e3;
|
||||
}
|
||||
#workspaces button.focused {
|
||||
color: #268bd2;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
background: #1a1a1a;
|
||||
border: #1a1a1a;
|
||||
padding: 0 3px;
|
||||
all: initial;
|
||||
/* Remove GTK theme values (waybar #1351) */
|
||||
min-width: 0;
|
||||
/* Fix weird spacing in materia (waybar #450) */
|
||||
box-shadow: inset 0 -3px transparent;
|
||||
/* Use box-shadow instead of border so the text isn't offset */
|
||||
padding: 6px 18px;
|
||||
margin: 6px 3px;
|
||||
border-radius: 4px;
|
||||
background-color: rgba(36, 36, 52, 1.0);
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
color: #268bd2;
|
||||
}
|
||||
#memory {
|
||||
color: #2aa198;
|
||||
}
|
||||
#cpu {
|
||||
color: #6c71c4;
|
||||
}
|
||||
#battery {
|
||||
color: #859900;
|
||||
}
|
||||
#disk {
|
||||
color: #b58900;
|
||||
#workspaces button.active {
|
||||
color: #1e1e2e;
|
||||
background-color: #cdd6f4;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#pulseaudio,
|
||||
#memory,
|
||||
#cpu,
|
||||
#battery,
|
||||
#disk {
|
||||
padding: 0 10px;
|
||||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
color: #1e1e2e;
|
||||
background-color: #cdd6f4;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
background-color: #131822;
|
||||
color: #C0C0C0;
|
||||
}
|
||||
|
||||
tooltip label {
|
||||
padding: 5px;
|
||||
background-color: #131822;
|
||||
color: #C0C0C0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user