Switch to minimalist monochrome theme for better focus
- Replace colorful Catppuccin theme with subtle grayscale palette - Unify waybar modules with consistent gray backgrounds - Reduce visual distraction while maintaining all information - Keep accent colors only for critical states (warnings, errors) - Update sway window borders to match minimalist aesthetic Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
155
waybar/style.css
155
waybar/style.css
@@ -1,47 +1,38 @@
|
||||
@define-color base #1e1e2e;
|
||||
@define-color mantle #181825;
|
||||
@define-color crust #11111b;
|
||||
/* Minimalist monochrome color scheme */
|
||||
@define-color base #1a1a1a;
|
||||
@define-color mantle #151515;
|
||||
@define-color crust #0f0f0f;
|
||||
|
||||
@define-color text #cdd6f4;
|
||||
@define-color subtext0 #a6adc8;
|
||||
@define-color subtext1 #bac2de;
|
||||
@define-color text #e0e0e0;
|
||||
@define-color subtext0 #b0b0b0;
|
||||
@define-color subtext1 #c0c0c0;
|
||||
|
||||
@define-color surface0 #313244;
|
||||
@define-color surface1 #45475a;
|
||||
@define-color surface2 #585b70;
|
||||
@define-color surface0 #2a2a2a;
|
||||
@define-color surface1 #333333;
|
||||
@define-color surface2 #404040;
|
||||
|
||||
@define-color overlay0 #6c7086;
|
||||
@define-color overlay1 #7f849c;
|
||||
@define-color overlay2 #9399b2;
|
||||
@define-color overlay0 #505050;
|
||||
@define-color overlay1 #606060;
|
||||
@define-color overlay2 #707070;
|
||||
|
||||
@define-color blue #89b4fa;
|
||||
@define-color lavender #b4befe;
|
||||
@define-color sapphire #74c7ec;
|
||||
@define-color sky #89dceb;
|
||||
@define-color teal #94e2d5;
|
||||
@define-color green #a6e3a1;
|
||||
@define-color yellow #f9e2af;
|
||||
@define-color peach #fab387;
|
||||
@define-color maroon #eba0ac;
|
||||
@define-color red #f38ba8;
|
||||
@define-color mauve #cba6f7;
|
||||
@define-color pink #f5c2e7;
|
||||
@define-color flamingo #f2cdcd;
|
||||
@define-color rosewater #f5e0dc;
|
||||
/* Accent colors - only for critical states */
|
||||
@define-color accent #888888;
|
||||
@define-color warning #d4a574;
|
||||
@define-color critical #c47878;
|
||||
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: "Maple Mono NF CN", "Font Awesome 7 Free", Roboto, Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
font-size: 13px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: transparent;
|
||||
color: @surface0;
|
||||
color: @text;
|
||||
transition-property: background-color;
|
||||
transition-duration: .5s;
|
||||
transition-duration: .3s;
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
@@ -51,7 +42,7 @@ window#waybar.hidden {
|
||||
/* Workspaces */
|
||||
#workspaces {
|
||||
background-color: @surface1;
|
||||
border-radius: 16px;
|
||||
border-radius: 12px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
padding: 0px 6px;
|
||||
@@ -60,9 +51,10 @@ window#waybar.hidden {
|
||||
#workspaces button {
|
||||
padding: 0 10px;
|
||||
background-color: transparent;
|
||||
color: @text;
|
||||
border-radius: 16px;
|
||||
color: @subtext0;
|
||||
border-radius: 10px;
|
||||
margin: 4px 0;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
@@ -71,34 +63,34 @@ window#waybar.hidden {
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
color: @base;
|
||||
background-color: @mauve;
|
||||
color: @text;
|
||||
background-color: @accent;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
color: @base;
|
||||
background-color: @red;
|
||||
background-color: @critical;
|
||||
}
|
||||
|
||||
/* Window Title */
|
||||
#window {
|
||||
background-color: transparent;
|
||||
color: @text;
|
||||
border-radius: 16px;
|
||||
color: @subtext1;
|
||||
border-radius: 12px;
|
||||
padding: 0 12px;
|
||||
margin: 0 4px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* Modules Right - Grouped look */
|
||||
.modules-right {
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
/* background-color: @base; */
|
||||
border-radius: 16px;
|
||||
border-radius: 12px;
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
/* Individual Module Styling */
|
||||
/* Individual Module Styling - Unified monochrome design */
|
||||
#clock,
|
||||
#battery,
|
||||
#cpu,
|
||||
@@ -111,37 +103,49 @@ window#waybar.hidden {
|
||||
#tray,
|
||||
#mpd,
|
||||
#idle_inhibitor {
|
||||
padding: 0 12px;
|
||||
margin: 0 4px;
|
||||
color: @text; /* Changed to @text for better contrast with @surface1 and consistency */
|
||||
background-color: @surface1; /* Changed to @surface1 */
|
||||
border-radius: 16px;
|
||||
padding: 0 10px;
|
||||
margin: 0 3px;
|
||||
color: @text;
|
||||
background-color: @surface1;
|
||||
border-radius: 10px;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
/* Specific Module Colors */
|
||||
#clock:hover,
|
||||
#battery:hover,
|
||||
#cpu:hover,
|
||||
#memory:hover,
|
||||
#temperature:hover,
|
||||
#backlight:hover,
|
||||
#network:hover,
|
||||
#pulseaudio:hover {
|
||||
background-color: @surface2;
|
||||
}
|
||||
|
||||
/* Specific Module Colors - Minimalist approach */
|
||||
#clock {
|
||||
background-color: @mauve;
|
||||
color: @base;
|
||||
font-weight: bold;
|
||||
background-color: @surface2;
|
||||
color: @text;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#battery {
|
||||
background-color: @green;
|
||||
color: @base;
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#battery.charging, #battery.plugged {
|
||||
background-color: @teal;
|
||||
color: @base;
|
||||
background-color: @surface2;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
background-color: @peach;
|
||||
background-color: @warning;
|
||||
color: @base;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: @red;
|
||||
background-color: @critical;
|
||||
color: @base;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
@@ -151,41 +155,43 @@ window#waybar.hidden {
|
||||
}
|
||||
|
||||
#cpu {
|
||||
background-color: @sapphire;
|
||||
color: @base;
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#memory {
|
||||
background-color: @sky;
|
||||
color: @base;
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
background-color: @lavender;
|
||||
color: @base;
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
background-color: @red;
|
||||
background-color: @critical;
|
||||
color: @base;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
background-color: @yellow;
|
||||
color: @base;
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#network {
|
||||
background-color: @blue;
|
||||
color: @base;
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
background-color: @overlay0;
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
background-color: @pink;
|
||||
color: @base;
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
@@ -194,8 +200,8 @@ window#waybar.hidden {
|
||||
}
|
||||
|
||||
#tray {
|
||||
background-color: @peach;
|
||||
color: @surface0;
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#window.empty {
|
||||
@@ -207,15 +213,20 @@ window#waybar.hidden {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
background-color: @red;
|
||||
background-color: @critical;
|
||||
color: @base;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: @text;
|
||||
background-color: @overlay2;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user