waybar: remove backgrounds, border radius

This commit is contained in:
Vinzenz Schroeter 2025-11-08 15:13:06 +01:00
parent 8bd0bf167f
commit 908bc2dc8f

View file

@ -2,18 +2,14 @@
/* `otf-font-awesome` is required to be installed for icons */ /* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, sans-serif; font-family: FontAwesome, sans-serif;
font-size: 13px; font-size: 13px;
border: none;
border-radius: 0;
color: #dcdfe1; color: #dcdfe1;
} }
#waybar {
background-color: rgba(0, 0, 0, 0);
border: none;
box-shadow: none;
}
window#waybar { window#waybar {
background: black;
/* border: none; */
box-shadow: none;
color: #ffffff; color: #ffffff;
transition-property: background-color; transition-property: background-color;
transition-duration: .5s; transition-duration: .5s;
@ -31,20 +27,30 @@ window#waybar.chromium {
background-color: #000000; background-color: #000000;
border: none; border: none;
} }
/*
window#waybar .modules-left,
window#waybar .modules-center,
window#waybar .modules-right {
border: 1px solid;
border-radius: 15px;
border-image-source: linear-gradient(90deg, #d162a4, #5BCEFA);
}
*/
box.horizontal {
padding: 4px 4px 0px 4px;
}
#workspaces, #workspaces,
#window, #window,
#tray { #tray {
background-color: rgba(15, 27, 53, 0.9); background-color: rgba(15, 27, 53, 0.9);
padding: 4px 6px; padding: 4px 6px;
margin-top: 6px;
margin-left: 6px; margin-left: 6px;
margin-right: 6px; margin-right: 6px;
border-radius: 15px; border-radius: 15px;
border-width: 0px; border-width: 0px;
} }
button { button {
/* Use box-shadow instead of border so the text isn't offset */ /* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent; box-shadow: inset 0 -3px transparent;
@ -68,6 +74,7 @@ button:hover {
padding: 0 5px; padding: 0 5px;
background-color: transparent; background-color: transparent;
color: #ffffff; color: #ffffff;
border-radius: 15px;
} }
#workspaces button:hover { #workspaces button:hover {
@ -77,7 +84,6 @@ button:hover {
#workspaces button.focused, #workspaces button.focused,
#workspaces button.active { #workspaces button.active {
background-color: #64727D; background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
} }
#workspaces button.urgent { #workspaces button.urgent {
@ -100,7 +106,6 @@ button:hover {
#pulseaudio, #pulseaudio,
#wireplumber, #wireplumber,
#custom-media, #custom-media,
#tray,
#mode, #mode,
#idle_inhibitor, #idle_inhibitor,
#scratchpad, #scratchpad,
@ -124,7 +129,7 @@ button:hover {
.modules-right>widget:last-child>#workspaces { .modules-right>widget:last-child>#workspaces {
margin-right: 0; margin-right: 0;
} }
/*
#clock { #clock {
background-color: #64727D; background-color: #64727D;
} }
@ -139,7 +144,7 @@ button:hover {
color: #ffffff; color: #ffffff;
background-color: #26A65B; background-color: #26A65B;
} }
*/
@keyframes blink { @keyframes blink {
to { to {
background-color: #ffffff; background-color: #ffffff;
@ -163,20 +168,17 @@ button:hover {
} }
#power-profiles-daemon.performance { #power-profiles-daemon.performance {
background-color: #f53c3c; color: #f53c3c;
color: #ffffff;
} }
#power-profiles-daemon.balanced { #power-profiles-daemon.balanced {
background-color: #2980b9; color: #2980b9;
color: #ffffff;
} }
#power-profiles-daemon.power-saver { #power-profiles-daemon.power-saver {
background-color: #2ecc71; color: #2ecc71;
color: #000000;
} }
/*
label:focus { label:focus {
background-color: #000000; background-color: #000000;
} }
@ -224,7 +226,6 @@ label:focus {
#wireplumber.muted { #wireplumber.muted {
background-color: #f53c3c; background-color: #f53c3c;
} }
#custom-media { #custom-media {
background-color: #66cc99; background-color: #66cc99;
color: #2a5c45; color: #2a5c45;
@ -251,6 +252,7 @@ label:focus {
background-color: #2980b9; background-color: #2980b9;
} }
*/
#tray>.passive { #tray>.passive {
-gtk-icon-effect: dim; -gtk-icon-effect: dim;
} }
@ -259,7 +261,7 @@ label:focus {
-gtk-icon-effect: highlight; -gtk-icon-effect: highlight;
background-color: #eb4d4b; background-color: #eb4d4b;
} }
/*
#idle_inhibitor { #idle_inhibitor {
background-color: #2d3436; background-color: #2d3436;
} }
@ -285,18 +287,19 @@ label:focus {
#mpd.paused { #mpd.paused {
background-color: #51a37a; background-color: #51a37a;
} }
*/
#language { #language {/*
background: #00b093; background: #00b093;
color: #740864; color: #740864; */
padding: 0 5px; padding: 0 5px;
margin: 0 5px; margin: 0 5px;
min-width: 16px; min-width: 16px;
} }
#keyboard-state { #keyboard-state {/*
background: #97e1ad; background: #97e1ad;
color: #000000; color: #000000; */
padding: 0 0px; padding: 0 0px;
margin: 0 5px; margin: 0 5px;
min-width: 16px; min-width: 16px;