/* === Catppuccin Mocha Palette === */ /* Background / Base */ @define-color crust #11111b; @define-color mantle #181825; @define-color base #1e1e2e; @define-color base-alpha rgba(30, 30, 46, 0.9); /* Surface */ @define-color surface0 #313244; @define-color surface1 #45475a; @define-color surface2 #585b70; /* Overlays */ @define-color overlay0 #6c7086; @define-color overlay1 #7f849c; @define-color overlay2 #9399b2; /* Subtext & Text */ @define-color subtext0 #a6adc8; @define-color subtext1 #bac2de; @define-color text #cdd6f4; /* Accents */ @define-color rosewater #f5e0dc; @define-color flamingo #f2cdcd; @define-color pink #f5c2e7; @define-color mauve #cba6f7; @define-color red #f38ba8; @define-color maroon #eba0ac; @define-color peach #fab387; @define-color yellow #f9e2af; @define-color green #a6e3a1; @define-color teal #94e2d5; @define-color sapphire #74c7ec; @define-color blue #89b4fa; @define-color lavender #b4befe; /* --- Global --- */ * { font-family: Aporetic Sans Mono, Iosevka Nerd Font, Roboto, Helvetica, Arial, sans-serif; font-size: 13px; } window#waybar { background-color: transparent; color: @text; } /* Apply pill style to the whole widget container */ #custom-windows.widget, #custom-hardware-anchor.widget, #custom-connections-anchor.widget, #custom-bluetooth.widget, #network.widget, #battery.widget, #cpu.widget, #memory.widget, #temperature.widget { padding: 0px 10px; border-radius: 30px; font-weight: bold; text-align: center; min-width: 60px; /* adjust per module */ flex-shrink: 0; /* prevent shrinking */ background-color: transparent; } /* Optional hover expansion */ #custom-windows.widget:hover, #custom-hardware-anchor.widget:hover, #custom-connections-anchor.widget:hover, #custom-bluetooth.widget:hover, #network.widget:hover, #battery.widget:hover, #cpu.widget:hover, #memory.widget:hover, #temperature.widget:hover { padding: 0px 15px; } /* --- Hide group anchors --- */ #hardware:hover #custom-hardware-anchor { opacity: 0; min-width: 0; padding: 0; margin: 0; transition: opacity 0.2s ease, width 0.2s ease; } #connections:hover #custom-connections-anchor { opacity: 0; min-width: 0; padding: 0; margin: 0; transition: opacity 0.2s ease, width 0.2s ease; } /* --------------------------------------------------------- */ /* All workspace buttons */ /* --------------------------------------------------------- */ #workspaces button label { padding: 0px 5px; border-radius: 10px; border: 2px solid transparent; background-color: transparent; font-weight: normal; transition: all 0.2s ease; min-width: 30px; } #workspaces button.active label { font-weight: bold; } #workspaces button:hover { background: transparent; } /* Hide completely when not active */ #custom-windows.widget { padding: 0px 0px; border-radius: 10px; border: 0px solid transparent; background-color: transparent; font-weight: normal; transition: all 0.2s ease; min-width: 0px; } #custom-windows.widget.active { padding: 0px 5px; border-radius: 10px; border: 2px solid transparent; background-color: transparent; font-weight: normal; transition: all 0.2s ease; min-width: 30px; } /* --------------------------------------------------------- */ /* Styled Modules */ /* --------------------------------------------------------- */ #pulseaudio-slider.widget { min-width: 100px; /* make it 100px wide */ } /* --------------------------------------------------------- */ /* Unstyled Modules */ /* --------------------------------------------------------- */ #clock, #idle_inhibitor, #battery, #cpu, #memory, #temperature, #network, #pulseaudio, #tray { margin: 0 5px; padding: 0 2px; } /* --------------------------------------------------------- */ /* STATES */ /* --------------------------------------------------------- */ #idle_inhibitor.activated { background-color: @green; } #battery.charging { color: @green; } #battery.warning:not(.charging) { color: white; animation: blink 0.5s linear infinite alternate; } @keyframes blink { to { background-color: #ffffff; color: black; } } #network.disconnected { background-color: @red; } #temperature.critical { background-color: @red; }