@define-color base03 #002b36; @define-color base02 #073642; @define-color base01 #586e75; @define-color base00 #657b83; @define-color base0 #839496; @define-color base1 #93a1a1; @define-color base2 #eee8d5; @define-color base3 #fdf6e3; @define-color yellow #b58900; @define-color orange #cb4b16; @define-color red #dc322f; @define-color magenta #d33682; @define-color violet #6c71c4; @define-color blue #268bd2; @define-color cyan #2aa198; @define-color green #859900; * { /* `otf-font-awesome` is required to be installed for icons */ font-family: JetBrainsMono, FontAwesome, Roboto, Helvetica, Arial, sans-serif; font-size: 13px; border-radius: 0; color: @base2; } window#waybar { background-color: rgba(0, 43, 54, 0.3); border-bottom: 3px solid rgba(101, 123, 131, 0.5); color: #ffffff; transition-property: background-color; transition-duration: .5s; border-radius: 15; } #window { border-radius: 15; padding-right: 15px; } window#waybar.hidden { opacity: 0.2; } window#waybar.termite { background-color: #3F3F3F; } window#waybar.chromium { background-color: #000000; border: none; } button { /* Use box-shadow instead of border so the text isn't offset */ box-shadow: inset 0 -3px transparent; /* Avoid rounded borders under each button name */ border: none; border-radius: 0; } /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ button:hover { background: inherit; box-shadow: inset 0 -3px #ffffff; } #workspaces button { padding: 0 5px; background-color: transparent; color: #ffffff; } #workspaces button:hover { background: rgba(0, 0, 0, 0.2); } #workspaces button.focused { background-color: @base02; box-shadow: inset 0 -3px #ffffff; } #workspaces button.urgent { background-color: @orange; } #mode { background-color: @violet; box-shadow: inset 0 -3px @base03; } #battery, #cpu, #memory, #disk, #temperature, #backlight, #network, #pulseaudio, #wireplumber, #custom-media, #tray, #mode, #idle_inhibitor, #scratchpad, #custom-power, #language, #custom-dnd { padding: 0 10px; background-color: @base03; color: @base1; } #window, #workspaces { margin: 0 4px; } .modules-right *, .modules-left * { border-radius: 5px; } /* 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; } .modules-right, .modules-left { border-radius: 15px; padding-left: 12px; padding-right: 12px; padding-top: 7px; padding-bottom: 7px; } #clock { padding: 0 10px; color: @base2; } #backlight { border-bottom: 3px solid @violet; } #battery.charging, #battery.plugged { border-bottom: 3px solid @green; } #battery { border-bottom: 3px solid @blue; } @keyframes blink { to { border-bottom: 3px solid @red; } } /* Using steps() instead of linear as a timing function to limit cpu usage */ #battery.critical:not(.charging) { border-bottom: 3px solid @base03; animation-name: blink; animation-duration: 0.5s; animation-timing-function: steps(12); animation-iteration-count: infinite; animation-direction: alternate; } label:focus { background-color: #000000; } #cpu { border-bottom: 3px solid @cyan; } #custom-dnd { border-bottom: 3px solid @cyan; } #memory { border-bottom: 3px solid @magenta; } #disk { border-bottom: 3px solid @orange; } #network { border-bottom: 3px solid @blue; } #network.disconnected { border-bottom: 3px solid @orange; } #pulseaudio { border-bottom: 3px solid @yellow; } #pulseaudio.muted { border-bottom: 3px solid @orange; } #custom-media { border-bottom: 3px solid @cyan; } #custom-media.custom-firefox { border-bottom: 3px solid @orange; } #custom-power { border-bottom: 3px solid @base01; } #temperature { border-bottom: 3px solid @yellow; } #temperature.critical { border-bottom: 3px solid @orange; } #tray { border-bottom: 3px solid @green; } #tray > .passive { -gtk-icon-effect: dim; } #tray > .needs-attention { -gtk-icon-effect: highlight; background-color: #eb4d4b; } #idle_inhibitor { border-bottom: 3px solid @base01; } #idle_inhibitor.activated { border-bottom: 3px solid @base3; } #language { border-bottom: 3px solid @cyan; padding: 0 5px; margin: 0 5px; min-width: 16px; } #scratchpad { background: rgba(0, 0, 0, 0.2); } #scratchpad.empty { background-color: transparent; } #privacy { padding: 0; } #privacy-item { padding: 0 5px; color: white; } #privacy-item.screenshare { border-bottom: 3px solid @orange; } #privacy-item.audio-in { border-bottom: 3px solid @green; } #privacy-item.audio-out { background-color: #0069d4; border-bottom: 3px solid @cyan; }