1
1
mirror of https://github.com/nboughton/dotfiles synced 2024-11-26 04:28:43 +01:00
github.com-nboughton-dotfiles/waybar/style.css
2021-05-12 22:25:15 +01:00

162 lines
2.3 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: 12px;
font-family: "Fira Code", "Font Awesome 5 Free";
font-weight: bold;
/*font-family: "Kanit Medium", "Font Awesome 5 Free";*/
}
window#waybar {
color: @text;
}
window#waybar.bottom {
background: none;
margin: 0;
}
window#waybar.top {
padding-top: 3px;
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: 0px 10px 0 10px;
}
#custom-separator {
opacity: 0;
padding: 0px;
}
#workspaces {
padding: 0px;
}
#workspaces button {
color: @text;
margin: 0;
padding: 0px 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 {
}*/
#taskbar button {
color: @foreground;
border-radius: 4px;
padding: 0px 3px 0px 3px;
}
#taskbar button.active {
color: @hilight;
}
#tray {
padding: 5px 3px 5px 3px;
}