2023-12-14 17:23:01 -07:00
|
|
|
/* =============================================================================
|
|
|
|
*
|
|
|
|
* Waybar configuration
|
|
|
|
*
|
|
|
|
* Configuration reference: https://github.com/Alexays/Waybar/wiki/Configuration
|
|
|
|
*
|
|
|
|
* =========================================================================== */
|
|
|
|
|
2024-09-02 14:45:05 -06:00
|
|
|
@define-color rosewater #f4dbd6;
|
|
|
|
@define-color flamingo #f0c6c6;
|
|
|
|
@define-color pink #f5bde6;
|
|
|
|
@define-color mauve #c6a0f6;
|
|
|
|
@define-color red #ed8796;
|
|
|
|
@define-color maroon #ee99a0;
|
|
|
|
@define-color peach #f5a97f;
|
|
|
|
@define-color yellow #eed49f;
|
|
|
|
@define-color green #a6da95;
|
|
|
|
@define-color teal #8bd5ca;
|
|
|
|
@define-color sky #91d7e3;
|
|
|
|
@define-color sapphire #7dc4e4;
|
|
|
|
@define-color blue #8aadf4;
|
|
|
|
@define-color lavender #b7bdf8;
|
|
|
|
@define-color text #cad3f5;
|
|
|
|
@define-color subtext1 #b8c0e0;
|
|
|
|
@define-color subtext0 #a5adcb;
|
|
|
|
@define-color overlay2 #939ab7;
|
|
|
|
@define-color overlay1 #8087a2;
|
|
|
|
@define-color overlay0 #6e738d;
|
|
|
|
@define-color surface2 #5b6078;
|
|
|
|
@define-color surface1 #494d64;
|
|
|
|
@define-color surface0 #363a4f;
|
|
|
|
@define-color base #24273a;
|
|
|
|
@define-color mantle #1e2030;
|
|
|
|
@define-color crust #181926;
|
|
|
|
|
|
|
|
|
2023-12-14 17:23:01 -07:00
|
|
|
/* -----------------------------------------------------------------------------
|
|
|
|
* Keyframes
|
|
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
@keyframes blink-warning {
|
2024-09-02 14:45:05 -06:00
|
|
|
70% {
|
|
|
|
color: @overlay0;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
color: @overlay0;
|
|
|
|
background-color: @crust;
|
|
|
|
}
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes blink-critical {
|
2024-09-02 14:45:05 -06:00
|
|
|
70% {
|
|
|
|
color: @overlay2;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
color: @overlay2;
|
|
|
|
background-color: @base;
|
|
|
|
}
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
2024-09-02 14:45:05 -06:00
|
|
|
|
2023-12-14 17:23:01 -07:00
|
|
|
/* -----------------------------------------------------------------------------
|
|
|
|
* Base styles
|
|
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
/* Reset all styles */
|
|
|
|
* {
|
2024-09-02 14:45:05 -06:00
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
|
|
|
min-height: 0;
|
|
|
|
margin: 1px;
|
|
|
|
padding: 0;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* The whole bar */
|
|
|
|
#waybar {
|
2024-09-02 14:45:05 -06:00
|
|
|
background: transparent;
|
|
|
|
background-color: transparent;
|
|
|
|
font-family: Overpass Nerd Font;
|
|
|
|
font-size: 20px;
|
|
|
|
color: @text;
|
|
|
|
}
|
|
|
|
|
|
|
|
#taskbar {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#taskbar button {
|
|
|
|
padding-left: 3px;
|
|
|
|
padding-right: 3px;
|
|
|
|
margin-left: 3px;
|
|
|
|
margin-right: 3px;
|
|
|
|
color: transparent;
|
|
|
|
border-bottom: 2px solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
#taskbar button.active {
|
|
|
|
color: @lavender;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modules-left,
|
|
|
|
.modules-right,
|
|
|
|
.modules-center {
|
|
|
|
/* margin: 8px 8px 1px 8px; */
|
|
|
|
background: transparent;
|
|
|
|
/* color: @; */
|
|
|
|
background-color: @base;
|
|
|
|
border-radius: 25px;
|
|
|
|
padding: 0px 10px 0px 10px;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 3px;
|
|
|
|
border-color: @surface0;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Every modules */
|
|
|
|
#battery,
|
|
|
|
#clock,
|
|
|
|
#backlight,
|
|
|
|
#cpu,
|
|
|
|
#custom-keyboard-layout,
|
|
|
|
#memory,
|
|
|
|
#mode,
|
|
|
|
#custom-weather,
|
|
|
|
#network,
|
|
|
|
#pulseaudio,
|
|
|
|
#temperature,
|
|
|
|
#tray,
|
|
|
|
#idle_inhibitor,
|
|
|
|
#custom-PBPbattery {
|
2024-09-02 14:45:05 -06:00
|
|
|
padding: 0.5rem 0.6rem;
|
|
|
|
margin: 1px 0px;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
|
|
* Modules styles
|
|
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#battery {
|
2024-09-02 14:45:05 -06:00
|
|
|
animation-timing-function: linear;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-direction: alternate;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#battery.warning {
|
2024-09-02 14:45:05 -06:00
|
|
|
color: @flamingo;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#battery.critical {
|
2024-09-02 14:45:05 -06:00
|
|
|
color: @red;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#battery.warning.discharging {
|
2024-09-02 14:45:05 -06:00
|
|
|
animation-name: blink-warning;
|
|
|
|
animation-duration: 3s;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#battery.critical.discharging {
|
2024-09-02 14:45:05 -06:00
|
|
|
animation-name: blink-critical;
|
|
|
|
animation-duration: 2s;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#cpu.warning {
|
2024-09-02 14:45:05 -06:00
|
|
|
color: @flamingo;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#cpu.critical {
|
2024-09-02 14:45:05 -06:00
|
|
|
color: @red;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#memory {
|
2024-09-02 14:45:05 -06:00
|
|
|
animation-timing-function: linear;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-direction: alternate;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#memory.warning {
|
2024-09-02 14:45:05 -06:00
|
|
|
color: @flamingo;
|
|
|
|
}
|
2023-12-14 17:23:01 -07:00
|
|
|
|
|
|
|
#memory.critical {
|
2024-09-02 14:45:05 -06:00
|
|
|
color: @red;
|
|
|
|
animation-name: blink-critical;
|
|
|
|
animation-duration: 2s;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#mode {
|
2024-09-02 14:45:05 -06:00
|
|
|
background: @overlay0;
|
|
|
|
border-bottom: 3px transparent;
|
|
|
|
color: @text;
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
border-radius: 20px;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#network.disconnected {
|
2024-09-02 14:45:05 -06:00
|
|
|
color: @flamingo;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#pulseaudio {
|
2024-09-02 14:45:05 -06:00
|
|
|
padding-top: 6px;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#pulseaudio.muted {
|
2024-09-02 14:45:05 -06:00
|
|
|
color: @sky;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#temperature.critical {
|
2024-09-02 14:45:05 -06:00
|
|
|
color: @red;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#window {
|
2024-09-02 14:45:05 -06:00
|
|
|
font-weight: bold;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces {
|
2024-09-02 14:45:05 -06:00
|
|
|
font-size: 13px;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button {
|
2024-09-02 14:45:05 -06:00
|
|
|
border-bottom: 3px solid transparent;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
padding: 0px;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#custom-launcher {
|
2024-09-02 14:45:05 -06:00
|
|
|
color: @lavenderblush;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* @define-color rosewater #f4dbd6; */
|
|
|
|
/* @define-color flamingo #f0c6c6; */
|
|
|
|
/* @define-color pink #f5bde6; */
|
|
|
|
/* @define-color mauve #c6a0f6; */
|
|
|
|
/* @define-color red #ed8796; */
|
|
|
|
/* @define-color maroon #ee99a0; */
|
|
|
|
/* @define-color peach #f5a97f; */
|
|
|
|
/* @define-color yellow #eed49f; */
|
|
|
|
/* @define-color green #a6da95; */
|
|
|
|
/* @define-color teal #8bd5ca; */
|
|
|
|
/* @define-color sky #91d7e3; */
|
|
|
|
/* @define-color sapphire #7dc4e4; */
|
|
|
|
/* @define-color blue #8aadf4; */
|
|
|
|
/* @define-color lavender #b7bdf8; */
|
|
|
|
|
|
|
|
|
|
|
|
#custom-signal {
|
|
|
|
color: @lavender;
|
|
|
|
padding: 0px 5px 0px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-steam {
|
|
|
|
color: @teal;
|
|
|
|
padding: 0px 5px 0px 5px;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#custom-spotify {
|
2024-09-02 14:45:05 -06:00
|
|
|
color: @green;
|
|
|
|
padding: 0px 5px 0px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-firefox {
|
|
|
|
color: @yellow;
|
|
|
|
padding: 0px 5px 0px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-slack {
|
|
|
|
color: @peach;
|
|
|
|
padding: 0px 5px 0px 5px;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
2024-09-02 14:45:05 -06:00
|
|
|
#custom-files {
|
|
|
|
color: @pink;
|
|
|
|
padding: 0px 5px 0px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-pomo {
|
|
|
|
color: @red;
|
|
|
|
padding: 0px 5px 0px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wiggle {
|
|
|
|
animation-name: blink-warning;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-12-14 17:23:01 -07:00
|
|
|
#workspaces button.focused {
|
2024-09-02 14:45:05 -06:00
|
|
|
border-bottom: 3px solid @green;
|
|
|
|
margin-bottom: 1px;
|
|
|
|
padding-left: 0;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button.urgent {
|
2024-09-02 14:45:05 -06:00
|
|
|
border-color: @lavender;
|
|
|
|
color: @yellow;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#custom-power {
|
2024-09-02 14:45:05 -06:00
|
|
|
margin-left: 15px;
|
|
|
|
margin-right: 15px;
|
|
|
|
font-size: 15px;
|
|
|
|
color: @flamingo;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#custom-launcher {
|
2024-09-02 14:45:05 -06:00
|
|
|
font-size: 15px;
|
|
|
|
margin-left: 15px;
|
|
|
|
margin-right: 10px;
|
2023-12-14 17:23:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#backlight.icon {
|
2024-09-02 14:45:05 -06:00
|
|
|
padding-right: 1px;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|