@import "colors.css"; * { /* `otf-font-awesome` is required to be installed for icons */ /* font-family: ComicShannsMono Nerd Font, FontAwesome, Roboto, Helvetica, Arial, sans-serif;*/ font-size: 20px; border-radius: 10px; transition-duration: 0.5s; } .module { margin-top: 5px; margin-bottom: 5px; } window#waybar { color: @primary; background-color: transparent; } window#waybar.hidden { opacity: 0.2; } /* window#waybar.empty { background-color: transparent; } window#waybar.solo { background-color: #FFFFFF; } */ button { /* Avoid rounded borders under each button name */ border: none; border-radius: 0; } #workspaces { background-color: @background; color: @primary; border-radius: 10px; } #workspaces button { color: @primary; padding: 5 0px; border-radius: inherit; } #workspaces button.active { color: @on_primary; background-color: @on_primary_container; } #workspaces button:hover { color: @on_primary; background: @on_primary_container; } #workspaces button.urgent { color: @error; background-color: @error_container; } #clock, #battery, #cpu, #memory, #disk, #temperature, #backlight, #network, #pulseaudio, #wireplumber, #custom-media, #tray, #mode, #idle_inhibitor, #scratchpad, #power-profiles-daemon, #mpd { padding: 10 0px; background-color: @background; color: @primary; } #clock { border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; margin-bottom: 0px; border-right: none; background-color: @background; color: @primary; } #custom-swaync { border-top-left-radius: 0px; border-top-right-radius: 0px; margin-top: 0px; border-left: none; background-color: @primary; color: @background; padding: 10px; } #wireplumber { background-color: @background; color: @secondary; margin-bottom: 0px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; } #backlight { background-color: @background; color: @secondary; margin-top: 0px; margin-bottom: 0px; border-radius: 0px; } #battery { background-color: @background; color: @secondary; margin-top: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; } #battery.charging, #battery.plugged { color: #ffffff; background-color: #26A65B; } @keyframes blink { to { background-color: #ffffff; color: #000000; } } /* Using steps() instead of linear as a timing function to limit cpu usage */ #battery.critical:not(.charging) { background-color: #f53c3c; color: #ffffff; animation-name: blink; animation-duration: 0.5s; animation-timing-function: steps(12); animation-iteration-count: infinite; animation-direction: alternate; } #cpu { background-color: @primary; color: #000000; } #memory { background-color: @background; color: @secondary; } #disk { background-color: @background; color: @tertiary; } #network { background-color: @background; color: @tertiary; } #network.disconnected { background-color: @background; color: @error; } #wireplumber.muted { background-color: @background; color: @error; } #custom-media { background-color: @background; color: @tertiary; min-height: 100px; } #tray { background-color: @background; color: @primary; } #tray > .passive { -gtk-icon-effect: dim; } #tray > .needs-attention { -gtk-icon-effect: highlight; background-color: #eb4d4b; } #privacy { padding: 0; } #privacy-item { padding: 0 5px; color: @primary; } /* * hover variants */ #clock:hover { background-color: @primary; color: @background; } #custom-swaync:hover { background-color: @background; color: @primary; } #battery:hover { background-color: @secondary; color: @background; } #cpu:hover { background-color: @primary; color: @background; } #memory:hover { background-color: @secondary; color: @background; } #disk:hover { background-color: @background; color: @tertiary; } #backlight:hover { background-color: @tertiary; color: @background; } #network:hover { background-color: @secondary; color: @background; } #network.disconnected:hover { background-color: @error; color: @background; } #wireplumber:hover { background-color: @tertiary; color: @background; } #wireplumber.muted:hover { background-color: @error; color: @background; } #custom-media:hover { background-color: @tertiary; color: @background; } #tray:hover { background-color: @primary; color: @background; } #privacy:hover { padding: 0; } #privacy-item:hover { background-color: @primary; color: @background; }