new config
This commit is contained in:
320
style.css
320
style.css
@@ -1,221 +1,165 @@
|
||||
/* =============================================================================
|
||||
*
|
||||
* Waybar configuration
|
||||
*
|
||||
* Configuration reference: https://github.com/Alexays/Waybar/wiki/Configuration
|
||||
*
|
||||
* =========================================================================== */
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Keyframes
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
/*
|
||||
Catppuccin Color Scheme
|
||||
*/
|
||||
|
||||
@define-color highlight #CBA6F7 ;
|
||||
@define-color base1 #1E1E2E ;
|
||||
@define-color border #B4BEFE ;
|
||||
|
||||
@define-color black #45475A ;
|
||||
@define-color white #BAC2DE ;
|
||||
|
||||
@define-color red #F38BA8 ;
|
||||
@define-color orange #F9E2AF ;
|
||||
|
||||
@keyframes blink {
|
||||
60%{
|
||||
color: @black;
|
||||
}
|
||||
|
||||
to {
|
||||
color: @black;
|
||||
background-color: @white;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blink-warning {
|
||||
60%{
|
||||
color: @black;
|
||||
}
|
||||
|
||||
to {
|
||||
color: @black;
|
||||
background-color: @orange;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blink-critical {
|
||||
60%{
|
||||
color: @black;
|
||||
}
|
||||
|
||||
to {
|
||||
color: @black;
|
||||
background-color: @red;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Base styles
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
/* Reset all styles */
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
margin: 1px;
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
font-family: "JetbrainsMono Nerd Font" ;
|
||||
font-size: 16px;
|
||||
min-height: 3px;
|
||||
margin-top: 0px;
|
||||
margin-left: 2px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* The whole bar */
|
||||
#waybar {
|
||||
background: transparent;
|
||||
border: 1px solid @border;
|
||||
color: @white;
|
||||
background-color: @base1;
|
||||
font-family: UbuntuMono;
|
||||
font-size: 14px;
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* Every modules */
|
||||
#battery,
|
||||
#clock,
|
||||
#backlight,
|
||||
#cpu,
|
||||
#custom-keyboard-layout,
|
||||
#memory,
|
||||
#mode,
|
||||
#custom-weather,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#temperature,
|
||||
#tray,
|
||||
#idle_inhibitor,
|
||||
#custom-PBPbattery {
|
||||
padding:0.5rem 0.6rem;
|
||||
margin: 1px 0px;
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Modules styles
|
||||
* -------------------------------------------------------------------------- */
|
||||
#window {
|
||||
transition: none;
|
||||
color: transparent;
|
||||
background: transparent;
|
||||
}
|
||||
#workspaces {
|
||||
font-size: 4px;
|
||||
background: #161320;
|
||||
transition: none;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding-right: 6px;
|
||||
transition: none;
|
||||
color: #B5E8E0;
|
||||
background: transparent;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#workspaces button.occupied {
|
||||
transition: none;
|
||||
color: #F28FAD;
|
||||
background: transparent;
|
||||
font-size: 4px;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #ABE9B3;
|
||||
border-top: 2px solid #ABE9B3;
|
||||
border-bottom: 2px solid #ABE9B3;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
transition: none;
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
color: #FAE3B0;
|
||||
border-color: #E8A2AF;
|
||||
color: #E8A2AF;
|
||||
}
|
||||
|
||||
#workspaces button.active:hover {
|
||||
color: #E8A2AF;
|
||||
}
|
||||
|
||||
#network {
|
||||
padding-right: 11px;
|
||||
transition: none;
|
||||
color: #161320;
|
||||
background: #bd93f9;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
transition: none;
|
||||
color: #1A1826;
|
||||
background: #FAE3B0;
|
||||
}
|
||||
|
||||
#wireplumber {
|
||||
transition: none;
|
||||
color: #1A1826;
|
||||
background: #FAE3B0;
|
||||
}
|
||||
|
||||
#battery {
|
||||
animation-timing-function: ease-in-out;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
transition: none;
|
||||
color: #161320;
|
||||
background: #B5E8E0;
|
||||
}
|
||||
|
||||
#battery.warning {
|
||||
color: @white;
|
||||
#battery.charging, #battery.plugged {
|
||||
color: #161320;
|
||||
background-color: #B5E8E0;
|
||||
}
|
||||
|
||||
#battery.critical {
|
||||
color: @white;
|
||||
}
|
||||
|
||||
#battery.warning.discharging {
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: #B5E8E0;
|
||||
color: #161320;
|
||||
animation-name: blink;
|
||||
animation-duration: 400ms;
|
||||
}
|
||||
|
||||
#battery.critical.discharging {
|
||||
animation-name: blink;
|
||||
animation-duration: 150ms;
|
||||
}
|
||||
|
||||
#cpu.warning {
|
||||
color: @orange;
|
||||
}
|
||||
|
||||
#cpu.critical {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#memory {
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#memory.warning {
|
||||
color: @orange;
|
||||
}
|
||||
|
||||
#memory.critical {
|
||||
color: @red;
|
||||
animation-name: blink-critical;
|
||||
animation-duration: 2s;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #BF616A;
|
||||
color: #B5E8E0;
|
||||
}
|
||||
}
|
||||
|
||||
#mode {
|
||||
background: @highlight;
|
||||
border-bottom: 3px transparent;
|
||||
color: @white;
|
||||
margin-left: 5px;
|
||||
padding: 7px;
|
||||
#backlight {
|
||||
transition: none;
|
||||
color: #161320;
|
||||
background: #F8BD96;
|
||||
}
|
||||
#clock {
|
||||
transition: none;
|
||||
color: #161320;
|
||||
background: #ABE9B3;
|
||||
/*background: #1A1826;*/
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
color: @orange;
|
||||
#memory {
|
||||
transition: none;
|
||||
color: #161320;
|
||||
background: #DDB6F2;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
padding-top:6px;
|
||||
#cpu {
|
||||
transition: none;
|
||||
color: #161320;
|
||||
background: #96CDFB;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
color: @highlight;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#window {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
border-bottom: 3px solid transparent;
|
||||
margin-bottom: 0px;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
border-bottom: 3px solid @highlight;
|
||||
margin-bottom: 1px;
|
||||
padding-left:0;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
border-color: @red;
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
margin-left:15px;
|
||||
margin-right:15px;
|
||||
font-size:15px;
|
||||
#tray {
|
||||
transition: none;
|
||||
color: #B5E8E0;
|
||||
background: #161320;
|
||||
}
|
||||
|
||||
#custom-launcher {
|
||||
font-size:15px;
|
||||
margin-left:15px;
|
||||
margin-right:10px;
|
||||
font-size: 24px;
|
||||
transition: none;
|
||||
color: #89DCEB;
|
||||
background: #161320;
|
||||
}
|
||||
|
||||
#backlight.icon {
|
||||
padding-right:1px;
|
||||
font-size: 13px;
|
||||
#custom-power {
|
||||
font-size: 20px;
|
||||
transition: none;
|
||||
color: #161320;
|
||||
background: #F28FAD;
|
||||
}
|
||||
|
||||
#custom-wallpaper {
|
||||
transition: none;
|
||||
color: #161320;
|
||||
background: #C9CBFF;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user