.dotfiles/waybar/style.css

303 lines
4.0 KiB
CSS

@import "gruvbox.css";
/*
* Available colours
* black
* white
* fg
* fghi
* bg
* bghi
* grey00 = bghi
* grey01 = bg
* grey02
* grey03
* grey04
* grey05
* grey06
* grey07
* grey08
* grey09
* grey10 = fg
* grey11 = fghi
* red
* green
* yellow
* blue
* purple
* orange
* aqua
* redhi
* greenhi
* yellowhi
* bluehi
* purple hi
* aquahi
* orangehi
* alert = orange
* warning = orangehi
*/
/* Global/Multi */
* {
font-family: "Anonymice Nerd Font", "Font Awesome 5 Brands", "Font Awesome 5 Free", Monospace;
font-size: 14px;
min-height: 0;
}
window#waybar.window {
}
window#waybar {
margin: -5px;
border-bottom: solid 1px @fg;
background-color: @bg;
animation-name: fadeIn;
animation-duration: 1s;
color: @fg;
}
#window, #mode, #custom-weather, #mpd, #network, #cpu, #memory, #custom-disk, #temperature, #custom-battery, #pulseaudio, #tray, #custom-wallpaper, #custom-todo, #custom-osk, #custom-pkg, #custom-bar, #custom-gammastep, #idle_inhibitor, #custom-hibernate_inhibitor, #custom-clock, #custom-power {
color: @grey06;
padding: 0px 2px;
margin: 0px;
}
/* Tray */
#network, #custom-wallpaper, #custom-todo, #custom-osk {
font-size: 22px;
margin-top: -8px;
margin-bottom: -8px;
margin-left: 2px;
margin-right: 2px;
}
#tray, #custom-wallpaper, #custom-todo, #custom-osk, #custom-pkg, #custom-bar, #custom-gammastep, #idle_inhibitor, #custom-clock, #custom-power {
color: @bluehi;
}
/* Workspaces */
#workspaces {
color: @fg;
}
#workspaces button.visible {
background-color: @grey06;
}
#workspaces button.focused {
background-color: @fg;
color: @grey06;
}
#workspaces button.urgent {
background-color: @redhi;
color: @white;
}
/* Mode */
#mode {
background-color: @grey06;
color: @bg;
}
/* Window title */
#window {
color: @fg;
}
/* MPD */
#mpd {
color: @bg;
}
/* Weather */
#custom-weather {
margin-top: -8px;
margin-bottom: -2px;
}
/* Networks */
#network {
color: @blue;
margin-right: 8px;
margin-top: -9px;
margin-bottom: -9px;
}
#network.wireguard {
margin-top: -3px;
margin-left: -3px;
margin-right: 0px;
}
#network.disconnected {
color: @red;
margin-top: -3px;
margin-right: -4px;
}
#network.wifi {
margin-top: -9px;
margin-right: 0px;
}
/* CPU */
#cpu {
color: @fg;
color: @greenhi;
}
/* Memory */
#memory {
color: @fg;
color: @purplehi;
}
/* Disk */
#custom-disk {
color: @fg;
color: @purple;
}
/* Temperature */
#temperature {
color: @fg;
color: @yellowhi;
}
#temperature.critical {
color: @redhi;
}
/* Backlight */
#backlight {
margin-left: 5px;
margin-right: 2px;
color: @fg;
color: @greenhi;
}
/* Battery */
#custom-battery {
color: @green;
}
#custom-battery.charging {
color: @green;
}
#custom-battery.discharging {
color: @yellow;
}
#custom-battery.low {
color: @orange;
}
#custom-battery.critical {
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
color: @redhi;
}
/* Pulseaudio */
#pulseaudio {
color: @bluehi;
}
#pulseaudio.muted {
color: @grey06;
}
/* Tray */
#tray {
margin-right: -4px;
}
/* Wallpaper rotation */
#custom-wallpaper {
margin-left: -4px;
margin-top: -10px;
}
/* Todo-txt */
#custom-todo {
}
/* On-Screen Keyboard */
#custom-osk {
}
#custom-osk.activated {
color: @white;
}
/* Package upgrades */
#custom-pkg {
margin-bottom: -3px;
}
#custom-pkg.updateable {
color: @orange;
}
/* Bar locker */
#custom-bar {
margin-right: 6px;
}
/* Gammastep */
#custom-gammastep {
margin-top: -5px;
}
#custom-gammastep.enabled {
color: #fefefe;
}
/* Idle Inhibitor */
#idle_inhibitor.activated {
color: @white;
}
/* Clock */
#custom-clock {
color: @fg;
}
/* Power button */
#custom-power {
margin-right: 0px;
margin-top: 1px;
color: @red;
}