neodotfiles/config/waybar/style.css

275 lines
5.4 KiB
CSS
Raw Normal View History

2024-08-19 04:36:33 +00:00
/* =====================================
2024-09-18 15:50:19 +00:00
Colors (Catppuccin Mocha)
2024-08-19 04:36:33 +00:00
===================================== */
2024-09-18 15:50:19 +00:00
@define-color white #cdd6f4;
@define-color black #1e1e2e;
@define-color red #e78284;
@define-color green #a6d189;
@define-color yellow #e5c890;
@define-color orange #ef9f76;
@define-color blue #8caaee;
@define-color purple #ca9ee6;
@define-color aqua #81c8be;
@define-color gray #313244;
/* Brigher variants */
@define-color brred #f38ba8;
@define-color brgreen #a6e3a1;
@define-color brpurple #cba6f7;
@define-color brorange #fab387;
@define-color brgray #45475a;
@define-color brblue #89b4fa;
@define-color braqua #94e2d5;
@define-color bryellow #f9e2af;
2024-08-19 04:36:33 +00:00
/* =====================================
Color Definitions for Modules
===================================== */
@define-color critical @brred;
@define-color unfocused @braqua;
@define-color focused @red;
2024-08-22 00:44:58 +00:00
@define-color inactive @brgray;
2024-09-18 15:50:19 +00:00
@define-color clock @purple;
@define-color monitor @blue;
@define-color language @aqua;
@define-color idle @green;
@define-color powerprofile @green;
@define-color battery @green;
@define-color volume @yellow;
@define-color backlight @orange;
@define-color network @red;
@define-color wbackground rgba(30, 30, 46, 0.90);
2024-08-19 04:36:33 +00:00
/* =====================================
Keyframes
===================================== */
@keyframes blink {
to {
color: @critical;
}
}
/* =====================================
Reset Styles
===================================== */
* {
border: none;
border-radius: 0;
min-height: 0;
padding: 0;
box-shadow: none;
text-shadow: none;
}
/* =====================================
Button Styles
===================================== */
button {
box-shadow: inset 0 -3px transparent;
border: none;
border-radius: 0;
}
/* Prevent strange hover effect on workspace buttons */
button:hover {
background: inherit;
}
/* =====================================
General Bar Styles
===================================== */
window#waybar {
background-color: @wbackground;
font-family: Symbols Nerd Font Mono, Mononoki Nerd Font;
font-size: 14px;
}
/* =====================================
Workspaces Module
===================================== */
#workspaces button {
font-family: Symbols Nerd Font Mono;
2024-08-22 00:44:58 +00:00
font-size: 16px;
2024-09-07 10:58:24 +00:00
padding: 0px 0px;
margin: 0 0;
2024-08-19 04:36:33 +00:00
color: @white;
}
#workspaces button.visible {
color: @white;
}
#workspaces button.focused {
2024-09-18 15:50:19 +00:00
color: @black;
2024-08-19 04:36:33 +00:00
background: @focused;
}
#workspaces button.unfocused {
color: @white;
}
#workspaces button.urgent {
color: @wbackground;
background: @critical;
}
#workspaces button:hover {
background: @yellow;
2024-09-18 15:50:19 +00:00
color: @black;
2024-08-19 04:36:33 +00:00
}
/* =====================================
Mode Module
===================================== */
#mode {
2024-09-18 15:50:19 +00:00
color: @black;
2024-08-19 04:36:33 +00:00
background-color: @red;
border-bottom: 3px solid @white;
padding: 3px;
}
/* =====================================
Window Module
===================================== */
#window {
color: @white;
padding: 0 10px;
margin: 5px 0;
}
/* =====================================
Margins and Layout Adjustments
===================================== */
#window, #workspaces {
margin: 0 4px;
}
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
/* =====================================
Individual Module Styles
===================================== */
2024-08-22 00:44:58 +00:00
#cpu,
#memory,
#language,
#idle_inhibitor,
2024-08-19 04:36:33 +00:00
#power-profiles-daemon,
#battery,
2024-08-24 16:06:24 +00:00
#pulseaudio,
#backlight,
2024-08-19 04:36:33 +00:00
#network,
2024-08-22 00:44:58 +00:00
#bluetooth,
#clock {
2024-09-18 15:50:19 +00:00
color: @black;
2024-08-19 04:36:33 +00:00
padding-left: 4px;
}
2024-08-24 16:06:24 +00:00
#clock {
background-color: @clock;
}
#cpu {
background-color: @monitor;
}
#memory {
background-color: @monitor;
}
#language {
background-color: @language;
}
#idle_inhibitor {
background-color: @battery;
}
#power-profiles-daemon {
background-color: @powerprofile;
}
2024-08-19 04:36:33 +00:00
#battery,
#battery.charging,
#battery.plugged {
background-color: @battery;
}
#battery.critical:not(.charging) {
color: @white;
animation: blink 0.5s linear infinite alternate;
}
#network,
#network.disconnected {
background-color: @network;
}
2024-08-22 00:44:58 +00:00
#bluetooth,
#bluetooth.disconnected {
2024-08-24 16:06:24 +00:00
background-color: @network;
2024-08-22 00:44:58 +00:00
padding-right: 10px;
}
2024-08-19 04:36:33 +00:00
#pulseaudio,
#pulseaudio.muted {
2024-08-24 16:06:24 +00:00
background-color: @volume;
2024-08-19 04:36:33 +00:00
}
2024-08-24 16:06:24 +00:00
#backlight {
background-color: @backlight;
2024-08-19 04:36:33 +00:00
}
/* =====================================
Modeline Arrows
===================================== */
#custom-arrow1,
#custom-arrow2,
#custom-arrow3,
#custom-arrow4,
#custom-arrow5,
2024-08-24 16:06:24 +00:00
#custom-arrow6,
#custom-arrow7 {
2024-08-22 00:44:58 +00:00
font-size: 18pt;
2024-08-19 04:36:33 +00:00
}
/* Individual Modeline Arrow Styles */
#custom-arrow1 {
background: transparent;
2024-08-22 00:44:58 +00:00
color: @clock;
2024-08-19 04:36:33 +00:00
}
#custom-arrow2 {
2024-08-22 00:44:58 +00:00
background: @clock;
color: @monitor;
2024-08-19 04:36:33 +00:00
}
#custom-arrow3 {
2024-08-22 00:44:58 +00:00
background: @monitor;
color: @language;
2024-08-19 04:36:33 +00:00
}
#custom-arrow4 {
2024-08-22 00:44:58 +00:00
background: @language;
2024-08-19 04:36:33 +00:00
color: @battery;
}
#custom-arrow5 {
background: @battery;
2024-08-24 16:06:24 +00:00
color: @volume;
2024-08-19 04:36:33 +00:00
}
#custom-arrow6 {
2024-08-24 16:06:24 +00:00
background: @volume;
color: @backlight;
}
#custom-arrow7 {
background: @backlight;
color: @network;
2024-08-19 04:36:33 +00:00
}