dotfiles/hyprland/.config/waybar/style.css

207 lines
3.4 KiB
CSS
Raw Normal View History

/*
* style.css
* Copyright (C) 2021 Vintage Salt
*
* Distributed under terms of the MIT license.
*/
* {
border: none;
border-radius: 0;
font-family: "IBM Plex Sans", "Font Awesome 6 Free", sans-serif;
font-size: 13px;
}
window#waybar {
2024-08-29 00:26:32 -05:00
background: transparent;
}
2024-08-29 00:26:32 -05:00
.modules-left {
background: rgba(40, 40, 40, 0.8);
border-radius: 8px;
}
2024-08-29 00:26:32 -05:00
.modules-right {
background: rgba(40, 40, 40, 0.8);
border-radius: 8px;
}
2024-09-17 01:39:06 -05:00
/* Hypr stuff */
#workspaces {
}
#workspaces button {
/* Any random button */
background: transparent;
color: #a89984;
padding: 0 0.9em;
2024-08-29 00:26:32 -05:00
border-radius: 8px;
}
2024-08-27 18:32:33 -05:00
#workspaces button.persistent {
2024-08-29 20:26:37 -05:00
color: rgba(235, 219, 178, 0.8);
2024-08-27 18:32:33 -05:00
}
#workspaces button.empty {
2024-08-29 20:26:37 -05:00
color: rgba(235, 219, 178, 0.2);
2024-08-27 18:32:33 -05:00
}
#workspaces button:hover {
/* A button that is currently being hovered over by the mouse cursor */
/* This comes with free transitions */
box-shadow: inherit;
text-shadow: inherit;
background-color: #504945;
}
2024-08-29 14:12:42 -05:00
#workspaces button.focused {
2024-08-29 22:34:58 -05:00
color: rgba(40, 40, 40, 0.8);
background: #504945;
font-weight: bold;
}
2024-08-29 14:12:42 -05:00
#workspaces button.visible {
color: rgba(40, 40, 40, 0.8);
background: #458588;
font-weight: bold;
}
#workspaces button.active {
2024-08-29 22:34:58 -05:00
color: rgba(40, 40, 40, 0.8);
background: #83a598;
font-weight: bold;
}
#workspaces button.urgent {
color: #fabd2f;
font-weight: bold;
}
2024-09-17 01:39:06 -05:00
/* Window and mode display */
#window {
color: rgba(235, 219, 178, 0.4);
padding: 0 1em;
2024-09-17 01:39:06 -05:00
border-radius: 8px;
}
window#waybar.empty #window {
/* We do this so it properly hides when on an empty workspace */
padding: 0;
}
window#waybar.solo #window {
/* Nothing */
}
window#waybar.floating #window {
/* Workspace contains only floating windows */
color: rgba(40, 40, 40, 0.8);
background: #8ec07c;
}
2024-09-17 01:43:43 -05:00
window#waybar.fullscreen #window {
/* Workspace containing a "fullscreen" window (note that this includes fullscreen, 1, which is maximize) */
color: rgba(40, 40, 40, 0.8);
background: #d3869b;
}
/* widgets */
#pulseaudio {
padding: 0 1em;
color: #ebdbb2;
2024-08-29 00:26:32 -05:00
border-radius: 8px;
}
#pulseaudio.muted {
2024-08-29 01:22:04 -05:00
border-radius: 8px;
background: #fb4934;
color: #282828;
}
#tray {
padding: 0 1em;
}
#mpris {
padding: 0 1em;
}
#mpris.playing {
color: #d3869b;
}
#mpris.paused, #mpris.stopped {
2024-08-29 20:26:37 -05:00
color: rgba(235, 219, 178, 0.2);
}
#network {
padding: 0 1em;
2024-08-29 20:26:37 -05:00
color: rgba(235, 219, 178, 0.2);
}
#network.disconnected {
color: #fb4934;
}
#idle_inhibitor {
padding: 0 1em;
}
#idle_inhibitor.deactivated {
2024-08-29 20:26:37 -05:00
color: rgba(235, 219, 178, 0.2);
}
#idle_inhibitor.activated {
color: #ebdbb2;
}
#backlight {
padding: 0 1em;
color: #ebdbb2;
}
#gamemode {
padding: 0 1em;
2024-08-29 20:26:37 -05:00
color: rgba(235, 219, 178, 0.2);
}
#gamemode.running {
color: #b8bb26;
}
/* Memory */
#memory {
padding: 0 1em;
2024-08-29 20:26:37 -05:00
color: rgba(235, 219, 178, 0.2);
}
#memory.critical {
color: #fb4934;
}
#memory.warning {
color: #fabd2f;
}
#memory.regular {
color: #ebdbb2;
}
/* CPU */
#cpu {
padding: 0 1em;
2024-08-29 20:26:37 -05:00
color: rgba(235, 219, 178, 0.2);
}
#cpu.critical {
color: #fb4934;
}
#cpu.warning {
color: #fabd2f;
}
#cpu.regular {
color: #ebdbb2;
}
/* Battery */
#battery {
padding: 0 1em;
}
#battery.charging {
color: #b8bb26;
}
#battery.good {
2024-08-29 20:26:37 -05:00
color: rgba(235, 219, 178, 0.2);
}
#battery.discharging.warning {
color: #fabd2f;
}
#battery.discharging.critical {
color: #fb4934;
}
#clock {
color: #ebdbb2;
padding: 0 1em;
}
/* Temperature*/
#temperature {
padding: 0 1em;
2024-08-29 20:26:37 -05:00
color: rgba(235, 219, 178, 0.2);
}
#temperature.critical {
color: #fb4934;
}
/* Custom modules */
#custom-backup {
color: #fb4934;
padding: 0 1em;
}