arch-waybar/style.css

343 lines
7.0 KiB
CSS

* {
border: none;
border-radius: 8px;
/* Increased border-radius by 2x */
/* `ttf-font-awesome` is required to be installed for icons */
font-family: "JetBrainsMono Nerd Font";
/* adjust font-size value to your liking: */
font-size: 18px;
font-weight: bold;
min-height: 0;
min-width: 28px;
/* Ensures consistent minimum width */
}
window#waybar {
background-color: rgba(0, 0, 0, 0);
color: #ffffff;
margin-top: 8px;
/* Add top margin to prevent touching screen top */
margin-bottom: 8px;
/* Optional: Also add bottom margin for consistency */
}
#workspaces button {
padding: 4px 8px;
/* Reduced vertical padding further */
margin: 1px 2px;
/* Reduced vertical margins further */
background-color: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.6);
border-radius: 10px;
/* Increased border-radius by 2x */
transition: all 0.3s ease;
border: 1px solid transparent;
min-height: 4px;
/* Reduced height even more */
font-size: 8px;
/* Reduced even more */
}
#workspaces button:hover {
background-color: rgba(255, 255, 255, 0.2);
color: rgba(0, 0, 0, 0.4);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
#workspaces button.active {
background-color: rgba(255, 255, 255, 0.3);
color: rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.5);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
#workspaces button.urgent {
background-color: #eb4d4b;
color: #ffffff;
box-shadow: 0 0 12px rgba(235, 77, 75, 0.8);
}
#mode {
background-color: #64727d;
padding: 6px 10px;
/* Added consistent vertical padding */
margin: 6px 3px;
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
}
#clock,
#battery,
#cpu,
#memory,
#temperature,
#backlight,
#network,
#pulseaudio,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#mpd {
padding: 6px 10px;
/* Added consistent vertical padding for height consistency */
margin: 6px 3px;
color: rgba(0, 0, 0, 0.4);
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
}
#window {
margin: 6px 4px;
/* Added vertical margins to match other modules */
padding: 6px 10px;
/* Added consistent vertical padding */
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
}
#workspaces {
margin: 1px 3px;
/* Reduced vertical margins */
padding: 6px 8px 6px 8px;
/* Reduced vertical padding to 0, kept horizontal padding */
background-color: rgba(0, 0, 0, 0.4);
border-radius: 8px;
/* Increased border-radius by 2x */
min-height: 3px;
/* Reduced height even more */
}
/* If workspaces is the leftmost module, use smaller left margin */
.modules-left>widget:first-child>#workspaces {
margin-left: 4px;
/* Keep some margin from left screen edge */
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right>widget:last-child>#workspaces {
margin-right: 0;
}
#clock {
background-color: rgba(0, 0, 0, 0.4);
color: white;
}
#battery {
background-color: rgba(0, 0, 0, 0.4);
color: white;
}
#battery.charging {
color: #ffffff;
background-color: rgba(0, 0, 0, 0.4);
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
box-shadow: 0 0 12px rgba(245, 60, 60, 0.8);
}
label:focus {
background-color: rgba(0, 0, 0, 0.4);
}
#cpu {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#memory {
background-color: rgba(0, 0, 0, 0.4);
color: white;
}
#backlight {
background-color: rgba(0, 0, 0, 0.4);
color: white;
}
#network {
background-color: rgba(0, 0, 0, 0.4);
color: white;
}
#network.disconnected {
background-color: #f53c3c;
}
#pulseaudio {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#pulseaudio.muted {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#custom-media {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
padding: 6px 10px;
/* Added consistent vertical padding */
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
min-width: 100px;
}
#custom-media.custom-spotify {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#custom-media.custom-vlc {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#temperature {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#temperature.critical {
background-color: #eb4d4b;
color: #ffffff;
}
#custom-temps {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
padding: 6px 10px;
/* Added consistent vertical padding */
margin: 6px 3px;
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
}
#tray {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#idle_inhibitor {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#idle_inhibitor.activated {
background-color: #ffffff;
color: #000000;
}
#mpd {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#mpd.disconnected {
background-color: #f53c3c;
color: #ffffff;
}
#mpd.stopped {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#mpd.paused {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#language {
background: rgba(0, 0, 0, 0.4);
color: #ffffff;
padding: 6px 10px;
/* Standardized vertical padding */
margin: 6px 3px;
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
min-width: 28px;
/* Increased for consistency */
}
#custom-weather,
#custom-wallpaper,
#custom-power_profile,
#custom-battery,
#bluetooth,
#pulseaudio-microphone,
#battery-bat2 {
padding: 6px 10px;
/* Added consistent vertical padding for height consistency */
margin: 6px 3px;
color: #000000;
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
}
#custom-weather {
background-color: rgba(0, 0, 0, 0.4);
color: white;
}
#custom-wallpaper {
background-color: rgba(0, 0, 0, 0.4);
color: white;
}
#custom-power_profile {
background-color: rgba(0, 0, 0, 0.4);
color: white;
}
#bluetooth {
background-color: rgba(0, 0, 0, 0.4);
color: white;
}
#pulseaudio-microphone {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#pulseaudio-microphone.muted {
background-color: rgba(0, 0, 0, 0.4);
color: #ffffff;
}
#battery-bat2 {
background-color: rgba(0, 0, 0, 0.4);
color: white;
}
#battery-bat2.charging {
color: #ffffff;
background-color: rgba(0, 0, 0, 0.4);
}
#battery-bat2.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
box-shadow: 0 0 12px rgba(245, 60, 60, 0.8);
}