1
1
mirror of https://github.com/nboughton/dotfiles synced 2024-11-27 00:38:43 +01:00
github.com-nboughton-dotfiles/waybar/style.css
2021-05-16 01:02:56 +01:00

150 lines
2.1 KiB
CSS

@import "/home/nick/.cache/wal/colors-waybar.css";
/* Colorz/haishoku generally work well
@define-color text @color3;
@define-color warn @color5;
@define-color crit @color6;
@define-color accent @color4;
@define-color hilight @color5;
*/
/* Gruvbox */
@define-color text @foreground;
@define-color warn @color3;
@define-color crit @color1;
@define-color accent @color2;
@define-color hilight @color6;
* {
font-size: 10px;
font-family: "Fira Code", "Font Awesome 5 Free";
font-weight: bold;
}
window#waybar {
color: @text;
background: none;
margin: 0;
}
.modules-left,
.modules-center,
.modules-right {
background: @background;
border-radius: 4px;
margin: 0;
padding: 0;
}
/* Base styling for modules */
#workspaces,
#mode,
#window,
#idle_inhibitor,
#custom-weather,
#pulseaudio,
#memory,
#cpu,
#clock,
#battery,
#backlight,
#disk,
#custom-updates,
#custom-auroch,
#custom-swap,
#custom-separator,
#custom-shutdown,
#custom-reboot,
#custom-covid,
#taskbar,
#tray {
padding: 2px 10px 0 10px;
}
#custom-separator {
opacity: 0;
padding: 0px;
}
#workspaces {
padding: 0px;
}
#workspaces button {
color: @text;
margin: 0;
padding: 2px 5px 0px 5px;
border-radius: 4px;
}
#workspaces button.focused {
color: @hilight;
}
#mode {
color: @warn;
}
#disk.1,
#memory,
#custom-reboot,
#custom-updates {
padding-right: 5px;
}
#disk.2,
#custom-swap,
#custom-shutdown,
#custom-auroch {
padding-left: 5px;
}
#battery.warning,
#custom-covid.UP,
#cpu.warning,
#custom-updates.checking,
#custom-auroch.checking,
#disk.1.warning,
#disk.2.warning,
#memory.warning {
color: @warn;
}
#battery.critical,
#cpu.critical,
#custom-auroch.error,
#custom-updates.error,
#disk.1.critical,
#disk.2.critical,
#memory.critical {
color: @crit;
}
#custom-auroch.no-updates,
#custom-covid.DOWN,
#custom-updates.no-updates {
color: @text;
}
#custom-updates.updates,
#custom-auroch.updates {
color: @hilight;
}
#taskbar,
#tray,
#window {
padding: 0;
margin: 0 3px 0 3px;
}
#taskbar button {
color: @foreground;
border-radius: 4px;
padding: 2px 3px 0px 3px;
}
#taskbar button.active {
color: @hilight;
}
#tray {
padding: 5px 3px 5px 3px;
}