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-07-09 09:56:09 +01:00

195 lines
3.2 KiB
CSS

@import "/home/nick/.cache/wal/colors-waybar.css";
/* Colorz/haishoku generally work well
@define-color text @foreground;
@define-color warn @color5;
@define-color crit @color4;
@define-color accent @color6;
@define-color hilight @color6;
*/
/* Tempus
@define-color text @foreground;
@define-color warn @color3;
@define-color crit @color1;
@define-color accent @color4;
@define-color hilight @color5;
*/
/* Nord
@define-color text @foreground;
@define-color warn @color6;
@define-color crit @color2;
@define-color accent @color4;
@define-color hilight @color1;
*/
/* Gruvbox */
@define-color text @foreground;
@define-color warn @color3;
@define-color crit @color1;
@define-color accent @color4;
@define-color hilight @color4;
/* Sexy
@define-color text @foreground;
@define-color warn @color2;
@define-color crit @color1;
@define-color accent @color4;
@define-color hilight @color6;
*/
* {
font-size: 12px;
font-family: "Source Code Pro Medium", "Font Awesome 5 Free";
font-weight: bold;
}
window#waybar {
color: @text;
text-shadow: 1px 1px 1px black;
background: @background;
border-radius: 4px;
}
window#waybar.top {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
window#waybar.bottom {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
/* Base styling for modules */
#workspaces,
#mode,
#idle_inhibitor,
#pulseaudio,
#memory,
#cpu,
#clock,
#battery,
#backlight,
#disk,
#taskbar,
#custom-weather,
#custom-updates,
#custom-auroch,
#custom-swap,
#custom-separator,
#custom-powermenu,
#custom-covid,
#custom-gputemp,
#custom-gpuuse,
#custom-cputemp,
#tray {
padding: 2px 10px 0px 10px;
}
#custom-separator {
color: @color8;
padding-left: 10px;
padding-right: 10px;
}
#workspaces {
padding: 0px;
}
#workspaces button {
color: @text;
margin: 0;
padding: 3px 5px 0px 5px;
border-radius: 0px;
}
#workspaces button.focused {
color: @hilight;
}
#mode {
color: @warn;
}
#disk.1,
#custom-gpuuse,
#custom-gputemp,
#memory {
padding-right: 5px;
}
#disk.2,
#cpu,
#custom-swap,
#custom-auroch,
#custom-gputemp,
#custom-cputemp {
padding-left: 5px;
}
#battery.warning,
#custom-covid.UP,
#cpu.warning,
#custom-updates.checking,
#custom-auroch.checking,
#custom-gputemp.warning,
#custom-gpuuse.warning,
#custom-cputemp.warning,
#disk.1.warning,
#disk.2.warning,
#memory.warning {
color: @warn;
}
#battery.critical,
#cpu.critical,
#custom-auroch.error,
#custom-updates.error,
#custom-gputemp.critical,
#custom-gpuuse.critical,
#custom-cputemp.critical,
#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;
}
#custom-powermenu {
color: @crit;
padding-top: 1px;
margin-right: 3px;
}
#clock {
margin-left: 3px;
}
#taskbar {
padding-left: 0;
}
#taskbar button {
padding-top: 0;
padding-bottom: 0;
margin-top: 0;
margin-bottom: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
#taskbar button.active {
color: @accent;
}
/* Pad the tray so the bottom bar doesn't change size when no windows are open */
#tray {
padding-top: 7px;
padding-bottom: 7px;
}