mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-11 08:38:46 -05:00
261 lines
4.4 KiB
CSS
261 lines
4.4 KiB
CSS
/* Nord */
|
|
@define-color background rgba(46, 52, 64, 0.9);
|
|
@define-color dark #2e3440;
|
|
@define-color light #eceff4;
|
|
@define-color warning #d08770;
|
|
@define-color critical #bf616a;
|
|
@define-color mpd #eceff4;
|
|
@define-color battery #b48ead;
|
|
@define-color pulseaudio #81a1c1;
|
|
@define-color temp #88c0d0;
|
|
@define-color cpu #a3be8c;
|
|
@define-color memory #ebcb8b;
|
|
@define-color network #d08770;
|
|
@define-color weather #bf616a;
|
|
@define-color date #2e3440;
|
|
@define-color time #eceff4;
|
|
|
|
/* OneDark */
|
|
/* @define-color background rgba(40, 44, 52, 0.9);
|
|
@define-color dark #282c34;
|
|
@define-color light #dfdfdf;
|
|
@define-color warning #d19a66;
|
|
@define-color critical #e06c75;
|
|
@define-color mpd #dfdfdf;
|
|
@define-color battery #c678dd;
|
|
@define-color pulseaudio #61afef;
|
|
@define-color temp #56b6c2;
|
|
@define-color cpu #98c379;
|
|
@define-color memory #e5c07b;
|
|
@define-color network #d19a66;
|
|
@define-color weather #e06c75;
|
|
@define-color date #282c34;
|
|
@define-color time #dfdfdf; */
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* Keyframes
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
@keyframes blink-warning {
|
|
70% {
|
|
color: @dark;
|
|
}
|
|
|
|
to {
|
|
color: @dark;
|
|
background-color: @warning;
|
|
}
|
|
}
|
|
|
|
@keyframes blink-critical {
|
|
70% {
|
|
color: @dark;
|
|
}
|
|
|
|
to {
|
|
color: @dark;
|
|
background-color: @critical;
|
|
}
|
|
}
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* Styles
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
/* Reset all styles */
|
|
* {
|
|
border: none;
|
|
border-radius: 0;
|
|
min-height: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* The whole bar */
|
|
#waybar {
|
|
background: @background;
|
|
color: @light;
|
|
font-family: Iosevka Nerd Font, Sarasa Mono J;
|
|
font-size: 12pt;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Each module */
|
|
#clock,
|
|
#custom-weather,
|
|
#network,
|
|
#memory,
|
|
#cpu,
|
|
#custom-temp,
|
|
#pulseaudio,
|
|
#custom-pulse,
|
|
#custom-alsa,
|
|
#battery,
|
|
#mpd {
|
|
padding-left: 8px;
|
|
padding-right: 8px;
|
|
}
|
|
|
|
#custom-bluetooth,
|
|
#custom-media {
|
|
padding-left: 8px;
|
|
}
|
|
|
|
/* Each blink module */
|
|
#battery {
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
animation-direction: alternate;
|
|
}
|
|
|
|
/* Each critical module */
|
|
#memory.critical,
|
|
#cpu.critical,
|
|
#battery.critical {
|
|
color: @critical;
|
|
}
|
|
|
|
/* Each critical that should blink */
|
|
#battery.critical.discharging {
|
|
animation-name: blink-critical;
|
|
animation-duration: 2s;
|
|
}
|
|
|
|
/* Each warning */
|
|
#memory.warning,
|
|
#cpu.warning,
|
|
#battery.warning {
|
|
color: @warning;
|
|
}
|
|
|
|
/* Each warning that should blink */
|
|
#battery.warning.discharging {
|
|
animation-name: blink-warning;
|
|
animation-duration: 2s;
|
|
}
|
|
|
|
#mpd {
|
|
background: @mpd;
|
|
color: @dark;
|
|
}
|
|
|
|
#battery {
|
|
background: @battery;
|
|
color: @dark;
|
|
}
|
|
|
|
#pulseaudio {
|
|
background: @pulseaudio;
|
|
color: @dark;
|
|
}
|
|
|
|
#custom-pulse {
|
|
background: @pulseaudio;
|
|
color: @dark;
|
|
}
|
|
|
|
#custom-alsa {
|
|
background: @pulseaudio;
|
|
color: @dark;
|
|
}
|
|
|
|
#custom-temp {
|
|
background: @temp;
|
|
color: @dark;
|
|
}
|
|
|
|
#cpu {
|
|
background: @cpu;
|
|
color: @dark;
|
|
}
|
|
|
|
#memory {
|
|
background: @memory;
|
|
color: @dark;
|
|
}
|
|
|
|
#network {
|
|
background: @network;
|
|
color: @dark;
|
|
}
|
|
|
|
#custom-weather {
|
|
background: @weather;
|
|
color: @dark;
|
|
}
|
|
|
|
#clock.date {
|
|
background: @date;
|
|
color: @light;
|
|
}
|
|
|
|
#clock.time {
|
|
background: @time;
|
|
color: @dark;
|
|
}
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
* Arrows
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
#custom-arrow2 {
|
|
font-size: 23.5px;
|
|
color: @mpd;
|
|
background: transparent;
|
|
}
|
|
|
|
#custom-arrow5 {
|
|
font-size: 23.5px;
|
|
color: @battery;
|
|
background: transparent;
|
|
}
|
|
|
|
#custom-arrow6 {
|
|
font-size: 23.5px;
|
|
color: @pulseaudio;
|
|
background: @battery;
|
|
}
|
|
|
|
#custom-arrow7 {
|
|
font-size: 23.5px;
|
|
color: @temp;
|
|
background: @pulseaudio;
|
|
}
|
|
|
|
#custom-arrow8 {
|
|
font-size: 23.5px;
|
|
color: @cpu;
|
|
background: @temp;
|
|
}
|
|
|
|
#custom-arrow9 {
|
|
font-size: 23.5px;
|
|
color: @memory;
|
|
background: @cpu;
|
|
}
|
|
|
|
#custom-arrow10 {
|
|
font-size: 23.5px;
|
|
color: @network;
|
|
background: @memory;
|
|
}
|
|
|
|
#custom-arrow11 {
|
|
font-size: 23.5px;
|
|
color: @weather;
|
|
background: @network;
|
|
}
|
|
|
|
#custom-arrow12 {
|
|
font-size: 23.5px;
|
|
color: @date;
|
|
background: @weather;
|
|
}
|
|
|
|
#custom-arrow13 {
|
|
font-size: 23.5px;
|
|
color: @time;
|
|
background: @date;
|
|
}
|