Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import 'colors-waybar.css';
- * {
- /* `otf-font-awesome` is required to be installed for icons */
- font-family: ProFontIIxNerdFontMono, JetBrainsMono Nerd Font, Hack Nerd Font, Roboto, Helvetica, Arial, sans-serif;
- font-size: 13px;
- }
- window#waybar {
- background-color: rgba(43, 43, 43, 0.0);
- border-bottom: 8px solid rgba(14, 14, 14, 0.0);
- color: @background;
- transition-property: background-color;
- transition-duration: .5s;
- }
- window#waybar.hidden {
- opacity: 0.2;
- }
- /*
- window#waybar.empty {
- background-color: transparent;
- }
- window#waybar.solo {
- background-color: #FFFFFF;
- }
- window#waybar.termite {
- background-color: @color0;
- }
- window#waybar.chromium {
- background-color: #000000;
- border: none;
- }
- */
- button {
- all: unset;
- background-color: @color0;
- color: @color1;
- border: none;
- border-bottom: 8px solid @color11;
- border-radius: 3;
- margin-left: 4px;
- margin-bottom: 2px;
- font-family: JetBrainsMono Nerd Font, Hack Nerd Font;
- font-weight: bold;
- font-size: 11px;
- padding-left: 15px;
- padding-right: 15px;
- transition: transform 0.1s ease-in-out;
- }
- button:hover {
- background: inherit;
- background-color: @color3;
- border-bottom: 8px solid @color0;
- }
- button.active {
- background: inherit;
- background-color: @color3;
- color: @color0;
- border-bottom: 8px solid @color0;
- }
- button.occupied {
- background: inherit;
- background-color: @color13;
- color: @color4;
- border-bottom: 8px solid @color0;
- }
- #workspaces button.focused {
- background-color: @color15;
- }
- #workspaces button.urgent {
- background-color: @color15;
- }
- #mode {
- background-color: @color11;
- border-bottom: 3px solid @color0;
- }
- #clock,
- #custom-hypridle,
- #battery,
- #cpu,
- #memory,
- #disk,
- #temperature,
- #backlight,
- #network,
- #pulseaudio,
- #wireplumber,
- #custom-media,
- #tray,
- #mode,
- #idle_inhibitor,
- #custom-updates,
- #scratchpad,
- #mpd {
- padding: 0 10px;
- color: #ffffff;
- }
- #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;
- }
- #window {
- background-color: @color5;
- color: @color0;
- font-family: JetBrainsMono Nerd Font, Hack Nerd Font;
- font-size: 13px;
- font-weight: bold;
- border: none;
- border-bottom: 8px solid @color4;
- border-radius: 5px;
- margin-bottom: 2px;
- padding-left: 10px;
- padding-right: 10px;
- }
- #custom-hypridle {
- background-color: @color4;
- color: #000000;
- font-family: JetBrainsMono Nerd Font, Hack Nerd Font;
- font-size: 13px;
- font-weight: bold;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- padding-left: 13px;
- padding-right: 9px;
- }
- #clock {
- background-color: @color10;
- color: @background;
- font-family: JetBrainsMono Nerd Font, Hack Nerd Font;
- font-size: 15px;
- font-weight: bold;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- }
- #battery {
- background-color: @color3;
- color: @background;
- font-family: JetBrainsMono Nerd Font, Hack Nerd Font;
- font-size: 13px;
- font-weight: bold;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- }
- #battery.charging, #battery.plugged {
- color: #000000;
- background-color: @color4;
- }
- @keyframes blink {
- to {
- background-color: #ffffff;
- color: #000000;
- }
- }
- #battery.critical:not(.charging) {
- background-color: @color15;
- color: #ffffff;
- animation-name: blink;
- animation-duration: 0.5s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
- animation-direction: alternate;
- }
- label:focus {
- background-color: @cursor;
- }
- #cpu {
- background-color: @color7;
- color: @color0;
- font-family: JetBrainsMono Nerd Font, Hack Nerd Font;
- font-size: 13px;
- font-weight: bold;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- }
- #memory {
- background-color: @color2;
- color: @background;
- font-family: JetBrainsMono Nerd Font, Hack Nerd Font;
- font-size: 13px;
- font-weight: bold;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- }
- /*#disk {
- background-color: @color9;
- }*/
- #backlight {
- background-color: @color9;
- color: @color0;
- font-family: JetBrainsMono Nerd Font, Hack Nerd Font;
- font-size: 13px;
- font-weight: bold;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- }
- #network {
- background-color: @color8;
- color: @foreground;
- font-family: JetBrainsMono Nerd Font, Hack Nerd Font;
- font-size: 13px;
- font-weight: bold;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- }
- #network.disconnected {
- background-color: @background;
- }
- #pulseaudio {
- background-color: @color6;
- color: @color0;
- font-family: JetBrainsMono Nerd Font, Hack Nerd Font;
- font-size: 13px;
- font-weight: bold;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- }
- #pulseaudio.muted {
- background-color: @background;
- color: @foreground;
- }
- #custom-updates {
- background-color: @foreground;
- color: @color0;
- font-family: JetBrainsMono Nerd Font, Hack Nerd Font;
- font-size: 14px;
- font-weight: bold;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- }
- #custom-weather {
- background-color: @foreground;
- color: @color0;
- font-family: JetBrainsMono Nerd Font, Hack Nerd Font;
- font-size: 14px;
- font-weight: bold;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- padding-right: 10px;
- padding-left: 10px;
- }
- #tray {
- background-color: @color5;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- }
- #tray > .passive {
- -gtk-icon-effect: dim;
- }
- #tray > .needs-attention {
- -gtk-icon-effect: highlight;
- background-color: #eb4d4b;
- }
- #idle_inhibitor {
- background-color: #2d3436;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- }
- #idle_inhibitor.activated {
- background-color: #ecf0f1;
- border: none;
- border-bottom: 8px solid @background;
- border-radius: 5px;
- margin-bottom: 2px;
- }
- /*#mpd {
- background-color: #66cc99;
- color: #2a5c45;
- }
- #mpd.disconnected {
- background-color: #f53c3c;
- }
- #mpd.stopped {
- background-color: #90b1b1;
- }
- #mpd.paused {
- background-color: #51a37a;
- }
- #language {
- background: #00b093;
- color: #740864;
- padding: 0 5px;
- margin: 0 5px;
- min-width: 16px;
- }
- #keyboard-state {
- background: #97e1ad;
- color: #000000;
- padding: 0 0px;
- margin: 0 5px;
- min-width: 16px;
- }
- #keyboard-state > label {
- padding: 0 5px;
- }
- #keyboard-state > label.locked {
- background: rgba(0, 0, 0, 0.2);
- }
- #scratchpad {
- background: rgba(0, 0, 0, 0.2);
- }
- #scratchpad.empty {
- background-color: transparent;
- }
- #temperature {
- background-color: #f0932b;
- }
- #temperature.critical {
- background-color: #eb4d4b;
- }
- #wireplumber {
- background-color: #fff0f5;
- color: #000000;
- }
- #wireplumber.muted {
- background-color: #f53c3c;
- }
- #custom-media {
- background-color: #66cc99;
- color: #2a5c45;
- min-width: 100px;
- }
- #custom-media.custom-spotify {
- background-color: #66cc99;
- }
- #custom-media.custom-vlc {
- background-color: #ffa000;
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement