/* ============================================================================= * * Waybar configuration * * Configuration reference: https://github.com/Alexays/Waybar/wiki/Configuration * * =========================================================================== */ /* ----------------------------------------------------------------------------- * Keyframes * -------------------------------------------------------------------------- */ /* Nordic Color Scheme */ @define-color nord2 #434c5e; @define-color nord3 #4c566a; @define-color nord4 #d8dee9; @define-color nord8 #88c0d0; @define-color nord9 #81a1c1; @define-color nord_cyan #8fbcbb; @define-color nord_orange #d08770; @define-color nord_red #bf616a; @define-color nord_green #a3be8c; @define-color nord_yellow #ebcb8b; @keyframes blink-warning { 70% { color: white; } to { color: white; background-color: @nord_orange; } } @keyframes blink-critical { 70% { color: white; } to { color: white; background-color: @nord_red; } } /* ----------------------------------------------------------------------------- * Base styles * -------------------------------------------------------------------------- */ /* Reset all styles */ * { border: none; border-radius: 0; min-height: 0; margin: 1px; padding: 0; } /* The whole bar */ #waybar { background: transparent; color: @nord4; background-color: @nord3; font-family: Overpass Nerd Font; font-size: 16px; border-radius: 15px; } /* Every modules */ #battery, #clock, #backlight, #cpu, #custom-keyboard-layout, #memory, #mode, #custom-weather, #network, #pulseaudio, #temperature, #tray, #idle_inhibitor, #custom-PBPbattery { padding:0.5rem 0.6rem; margin: 1px 0px; } /* ----------------------------------------------------------------------------- * Modules styles * -------------------------------------------------------------------------- */ #battery { animation-timing-function: linear; animation-iteration-count: infinite; animation-direction: alternate; } #battery.warning { color: @nord_orange; } #battery.critical { color: @nord_red; } #battery.warning.discharging { animation-name: blink-warning; animation-duration: 3s; } #battery.critical.discharging { animation-name: blink-critical; animation-duration: 2s; } #cpu.warning { color: @nord_orange; } #cpu.critical { color: @nord_red; } #memory { animation-timing-function: linear; animation-iteration-count: infinite; animation-direction: alternate; } #memory.warning { color: @nord_orange; } #memory.critical { color: @nord_red; animation-name: blink-critical; animation-duration: 2s; padding-left:5px; padding-right:5px; } #mode { background: @nord8; border-bottom: 3px transparent; color:white; margin-left: 5px; padding: 7px; } #network.disconnected { color: @nord_orange; } #pulseaudio { padding-top:6px; } #pulseaudio.muted { color: @nord_cyan; } #temperature.critical { color: @nord_red; } #window { font-weight: bold; } #workspaces { font-size:13px; } #workspaces button { border-bottom: 3px solid transparent; margin-bottom: 0px; padding:0px; } #custom-launcher { color: @nord9; } #custom-spotify { color: @nord_green; } #workspaces button.focused { border-bottom: 3px solid @nord_green; margin-bottom: 1px; padding-left:0; } #workspaces button.urgent { border-color: @nord2; color: @nord_yellow; } #custom-power { margin-left:15px; margin-right:15px; font-size:15px; color: @nord_orange; } #custom-launcher { font-size:15px; margin-left:15px; margin-right:10px; } #backlight.icon { padding-right:1px; font-size: 13px; }