/* ABOUTME: System-wide Waybar styling for Moonarch. */ /* ABOUTME: Uses GTK theme colors via @theme_* variables, Catppuccin Mocha palette. */ * { border: none; font-family: "Ubuntu Nerd Font", sans-serif; font-size: 13px; color: alpha(@theme_text_color, 0.8); } window#waybar { background: alpha(@theme_selected_fg_color, 0.2); } /* --- Module areas --- */ .modules-left { margin: 0; padding-left: 5px; border-radius: 0; } .modules-center { margin: 0; border-radius: 0; } .modules-right { margin: 0; padding-left: 5px; padding-right: 5px; border-radius: 0; } /* --- Module boxes --- */ .modules-left>widget>*, .modules-center>widget>*, .modules-right>widget>* { padding: 0px 10px; border-radius: 4px; margin: 8px 2px; background-color: alpha(@theme_selected_bg_color, 0.05); } #workspaces, #taskbar, #window { border-radius: 0; margin: 0; padding: 0; background-color: transparent; } /* --- Group children --- */ widget widget>* { padding: 0 6px; margin: 0; background-color: transparent; border-radius: 0; } /* --- Groups --- */ #sys, #stats, #sound, #brightness, #indicators { padding: 0 4px; color: alpha(@theme_text_color, 0.5); } #stats .drawer-child { padding-left: 10px; padding-right: 10px; } #tray { padding: 0; } /* --- Sound --- */ #pulseaudio-slider { padding-left: 10px; padding-right: 10px; } #pulseaudio-slider slider { min-height: 0px; min-width: 0px; opacity: 0; background-image: none; border: none; box-shadow: none; background-color: @insensitive_bg_color; } #pulseaudio-slider trough { min-height: 4px; min-width: 80px; border-radius: 5px; background-color: alpha(@theme_selected_bg_color, 0.3); } #pulseaudio-slider highlight { min-width: 5px; border-radius: 5px; background-color: alpha(@theme_selected_bg_color, 0.5); } #pulseaudio.muted { color: #cc3436; } /* --- Brightness --- */ #backlight-slider { padding-left: 10px; padding-right: 10px; } #backlight-slider slider { min-height: 0px; min-width: 0px; opacity: 0; background-image: none; border: none; box-shadow: none; background-color: @insensitive_bg_color; } #backlight-slider trough { min-height: 4px; min-width: 80px; border-radius: 5px; background-color: alpha(@theme_selected_bg_color, 0.3); } #backlight-slider highlight { min-width: 5px; border-radius: 5px; background-color: alpha(@theme_selected_bg_color, 0.5); } /* --- Battery group (hidden when empty, requires Waybar PR #4941) --- */ #bat.empty, #bat.empty * { min-width: 0; min-height: 0; padding: 0; margin: 0; border: none; font-size: 0; opacity: 0; } /* --- Battery --- */ #battery { padding: 0; } #battery.charging { color: #2dcc36; } #battery.warning:not(.charging) { color: #e6e600; } #battery.critical:not(.charging) { color: #cc3436; } #custom-batsaver { font-size: 10px; } /* --- Workspaces --- */ #workspaces button { margin: 8px 2px; padding: 0 2px 0 0; outline: none; border-radius: 4px; background-color: alpha(@theme_selected_bg_color, 0.05); } #workspaces button.empty, #workspaces button.active.empty { color: inherit; } #workspaces button.visible { background-color: alpha(@theme_selected_bg_color, 0.1); } #workspaces button.urgent { color: #cc3436; } #workspaces button:hover { background-color: alpha(@theme_selected_bg_color, 0.05); box-shadow: inherit; text-shadow: inherit; } /* --- Taskbar --- */ #taskbar { font-size: 8px; opacity: 1; } #taskbar.empty { opacity: 0; } #taskbar button { padding: 3px 4px 0 10px; border-bottom: 3px solid transparent; border-radius: 0; } #taskbar button.empty { opacity: 0; } #taskbar button:hover { background-color: alpha(@theme_selected_bg_color, 0.1); } #taskbar button.active { background-color: alpha(@theme_selected_bg_color, 0.1); border-bottom: 3px solid @theme_selected_bg_color; padding-bottom: 0px; opacity: 1; } /* --- Misc --- */ #mpris { border-radius: 0; margin: 8px 10px 8px 0px; padding: 0 10px; } #temperature.critical { color: #cc3436; } #idle_inhibitor.activated { color: alpha(@theme_selected_bg_color, 0.9); } menu { border-radius: 4px; } menuitem { border-radius: 4px; }