@import 'gruvbox.scss'; * { /* `otf-font-awesome` is required to be installed for icons */ /* font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; */ font-family: FiraCode Nerd Font Mono; font-size: 12px; } window { &#waybar { background-color: $bg0; color: $fg0; transition-property: background-color; transition-duration: .5s; &.hidden { opacity: 0.2; } &.bottom { border-bottom: 3px solid $bg4; } /* &.empty { background-color: transparent; } &.solo { background-color: #FFFFFF; } */ &.termite { background-color: $bg0; } &.chromium { background-color: $bg0; border: none; } } } #workspaces button { padding: 0 5px; background-color: transparent; color: $fg0; /* Use box-shadow instead of border so the text isn't offset */ box-shadow: inset 0 -3px transparent; /* Avoid rounded borders under each workspace name */ border: none; border-radius: 0; /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ &:hover { background: rgba(0, 0, 0, 0.2); box-shadow: inset 0 -3px $fg0; } &.focused { background-color: $bg2; box-shadow: inset 0 -3px $fg0; } &.urgent { background-color: #eb4d4b; } } #mode { background-color: $bg2; border-bottom: 3px solid $fg0; } #clock, #battery, #cpu, #memory, #disk, #temperature, #backlight, #network, #pulseaudio, #custom-media, #tray, #mode, #idle_inhibitor, #mpd { padding: 0 10px; color: $fg0; } #window, #workspaces { margin: 0 4px; } /* If workspaces is the leftmost module, omit left margin */ .modules-left > widget:first-child > #workspaces { margin-left: 0; } /* If workspaces is the rightmost module, omit right margin */ .modules-right > widget:last-child > #workspaces { margin-right: 0; } #clock { // background-color: #64727D; } @keyframes blink { to { background-color: $fg0; color: $bg0; } } #battery { //background-color: transparent; color: $light-orange; &.charging, &.plugged { color: $light-green; //background-color: $light-green; } &.critical:not(.charging) { color: $light-red; //background-color: $light-red; animation-name: blink; animation-duration: 0.5s; animation-timing-function: linear; animation-iteration-count: infinite; animation-direction: alternate; } } label:focus { color: $bg0; } #cpu { color: $light-green; border-bottom: solid 3px $light-green; } #memory { color: $light-yellow; border-bottom: solid 3px $light-yellow; } #disk { color: $light-blue; border-bottom: solid 3px $light-blue; } #backlight { color: $light-purple; border-bottom: solid 3px $light-purple; } #network { color: $light-aqua; border-bottom: solid 3px $light-aqua; } #network.disconnected { color: $dark-red; } #pulseaudio { color: $light-yellow; &.muted { color: $dark-yellow; } } #custom-media { background-color: #66cc99; color: #2a5c45; min-width: 100px; &.custom-spotify { background-color: #66cc99; } &.custom-vlc { background-color: #ffa000; } } #temperature { color: $light-green; &.critical { color: $light-red; } } #tray { background-color: $bg0; & > .passive { -gtk-icon-effect: dim; } & > .needs-attention { -gtk-icon-effect: highlight; background-color: $dark-red; } } #idle_inhibitor { color: $dark-orange; border-bottom: 3px solid $dark-purple; &.activated { color: $light-green; border-bottom: 3px solid $light-green; } } #mpd { color: $light-green; border-bottom: 3px solid $dark-purple; &.disconnected { color: $dark-red; border-bottom: 3px solid $dark-red; } &.stopped { color: $dark-blue; border-bottom: 3px solid $dark-blue; } &.paused { color: $light-blue; border-bottom: 3px solid $dark-blue; } } #language { //background: #00b093; color: $dark-purple; border-bottom: 3px solid $dark-purple; // padding: 0 5px; // margin: 0 5px; // min-width: 16px; } #keyboard-state { background: $dark-aqua; color: $bg0; padding: 0 0px; margin: 0 5px; min-width: 16px; & > label { padding: 0 5px; } & > label.locked { background: rgba(0, 0, 0, 0.2); } }