2023-11-07 13:02:05 +01:00
|
|
|
@define-color base #1e242f ;
|
|
|
|
@define-color urgent #b02c36 ;
|
|
|
|
@define-color primary_orange #fe9000 ;
|
|
|
|
@define-color primary_yellow #ffdd4a ;
|
|
|
|
@define-color primary_red #da1b2b ;
|
|
|
|
@define-color primary_blue #afd2e9 ;
|
|
|
|
@define-color primary_blue_2 #6fadd6 ;
|
|
|
|
|
|
|
|
@keyframes blink-warning {
|
|
|
|
70% {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
color: white;
|
|
|
|
background-color: orange;
|
|
|
|
}
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
@keyframes blink-critical {
|
|
|
|
70% {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
color: white;
|
|
|
|
background-color: red;
|
|
|
|
}
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
|
|
* Base styles
|
|
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* Reset all styles */
|
|
|
|
* {
|
2023-01-30 08:19:14 +01:00
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
2023-11-07 13:02:05 +01:00
|
|
|
min-height: 0;
|
|
|
|
margin: 1px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* The whole bar */
|
|
|
|
#waybar {
|
|
|
|
background: transparent;
|
|
|
|
color: @primary_blue;
|
|
|
|
background-color: @base;
|
|
|
|
font-family: "Overpass Nerd Font";
|
|
|
|
font-size: 16px;
|
|
|
|
border-radius: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Every modules */
|
2023-01-30 08:19:14 +01:00
|
|
|
#battery,
|
2023-11-07 13:02:05 +01:00
|
|
|
#clock,
|
|
|
|
#backlight,
|
2023-01-30 08:19:14 +01:00
|
|
|
#cpu,
|
2023-11-07 13:02:05 +01:00
|
|
|
#custom-keyboard-layout,
|
2023-01-30 08:19:14 +01:00
|
|
|
#memory,
|
2023-11-07 13:02:05 +01:00
|
|
|
#mode,
|
|
|
|
#custom-weather,
|
2023-01-30 08:19:14 +01:00
|
|
|
#network,
|
|
|
|
#pulseaudio,
|
2023-11-07 13:02:05 +01:00
|
|
|
#temperature,
|
2023-01-30 08:19:14 +01:00
|
|
|
#tray,
|
|
|
|
#idle_inhibitor,
|
2023-11-07 13:02:05 +01:00
|
|
|
#custom-PBPbattery {
|
|
|
|
padding:0.5rem 0.6rem;
|
|
|
|
margin: 1px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
|
|
* Modules styles
|
|
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#battery {
|
|
|
|
animation-timing-function: linear;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-direction: alternate;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#battery.warning {
|
|
|
|
color: @primary_orange;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#battery.critical {
|
|
|
|
color: @primary_red;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#battery.warning.discharging {
|
|
|
|
animation-name: blink-warning;
|
|
|
|
animation-duration: 3s;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#battery.critical.discharging {
|
|
|
|
animation-name: blink-critical;
|
|
|
|
animation-duration: 2s;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#cpu.warning {
|
|
|
|
color: @primary_orange;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#cpu.critical {
|
|
|
|
color: @primary_red;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#memory {
|
2023-01-30 08:19:14 +01:00
|
|
|
animation-timing-function: linear;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-direction: alternate;
|
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#memory.warning {
|
|
|
|
color: @primary_orange;
|
|
|
|
}
|
|
|
|
|
|
|
|
#memory.critical {
|
|
|
|
color: red;
|
|
|
|
animation-name: blink-critical;
|
|
|
|
animation-duration: 2s;
|
|
|
|
padding-left:5px;
|
|
|
|
padding-right:5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mode {
|
|
|
|
background: @primary_yellow;
|
|
|
|
border-bottom: 3px @primary_blue;
|
|
|
|
color: @base;
|
|
|
|
margin-left: 5px;
|
|
|
|
padding: 7px;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
2023-01-30 08:19:14 +01:00
|
|
|
#network.disconnected {
|
2023-11-07 13:02:05 +01:00
|
|
|
color: @primary_orange;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
2023-01-30 08:19:14 +01:00
|
|
|
#pulseaudio {
|
2023-11-07 13:02:05 +01:00
|
|
|
padding-top:6px;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
2023-01-30 08:19:14 +01:00
|
|
|
#pulseaudio.muted {
|
2023-11-07 13:02:05 +01:00
|
|
|
color: @primary_yellow;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
2023-01-30 08:19:14 +01:00
|
|
|
#temperature.critical {
|
2023-11-07 13:02:05 +01:00
|
|
|
color: red;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#window {
|
|
|
|
font-weight: bold;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#workspaces {
|
|
|
|
font-size:13px;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#workspaces button {
|
|
|
|
border-bottom: 3px solid @primary_blue_2;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
padding:0px;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#workspaces button.focused {
|
|
|
|
border-bottom: 3px solid @primary_yellow;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
padding-left:0;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|
2023-11-07 13:02:05 +01:00
|
|
|
|
|
|
|
#workspaces button.urgent {
|
|
|
|
border-color: @primary_red;
|
|
|
|
color: @primary_red;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-power {
|
|
|
|
margin-left:15px;
|
|
|
|
margin-right:15px;
|
|
|
|
font-size:15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-launcher {
|
|
|
|
font-size:15px;
|
|
|
|
margin-left:15px;
|
|
|
|
margin-right:10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#backlight.icon {
|
|
|
|
padding-right:1px;
|
|
|
|
font-size: 13px;
|
2023-01-30 08:19:14 +01:00
|
|
|
}
|