Files
sway-dotfile/waybar/style.css
CGH0S7 85a32b4df6 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>
2026-01-23 19:43:32 +08:00

233 lines
4.0 KiB
CSS

/* Minimalist monochrome color scheme */
@define-color base #1a1a1a;
@define-color mantle #151515;
@define-color crust #0f0f0f;
@define-color text #e0e0e0;
@define-color subtext0 #b0b0b0;
@define-color subtext1 #c0c0c0;
@define-color surface0 #2a2a2a;
@define-color surface1 #333333;
@define-color surface2 #404040;
@define-color overlay0 #505050;
@define-color overlay1 #606060;
@define-color overlay2 #707070;
/* 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: 13px;
min-height: 0;
}
window#waybar {
background-color: transparent;
color: @text;
transition-property: background-color;
transition-duration: .3s;
}
window#waybar.hidden {
opacity: 0.2;
}
/* Workspaces */
#workspaces {
background-color: @surface1;
border-radius: 12px;
margin-top: 4px;
margin-bottom: 4px;
padding: 0px 6px;
}
#workspaces button {
padding: 0 10px;
background-color: transparent;
color: @subtext0;
border-radius: 10px;
margin: 4px 0;
transition: all 0.2s ease;
}
#workspaces button:hover {
background-color: @surface2;
color: @text;
}
#workspaces button.focused {
color: @text;
background-color: @accent;
}
#workspaces button.urgent {
color: @base;
background-color: @critical;
}
/* Window Title */
#window {
background-color: transparent;
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;
border-radius: 12px;
padding: 0 2px;
}
/* Individual Module Styling - Unified monochrome design */
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#tray,
#mpd,
#idle_inhibitor {
padding: 0 10px;
margin: 0 3px;
color: @text;
background-color: @surface1;
border-radius: 10px;
transition: background-color 0.2s ease;
}
#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: @surface2;
color: @text;
font-weight: 600;
}
#battery {
background-color: @surface1;
color: @text;
}
#battery.charging, #battery.plugged {
background-color: @surface2;
color: @text;
}
#battery.warning:not(.charging) {
background-color: @warning;
color: @base;
}
#battery.critical:not(.charging) {
background-color: @critical;
color: @base;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#cpu {
background-color: @surface1;
color: @text;
}
#memory {
background-color: @surface1;
color: @text;
}
#temperature {
background-color: @surface1;
color: @text;
}
#temperature.critical {
background-color: @critical;
color: @base;
}
#backlight {
background-color: @surface1;
color: @text;
}
#network {
background-color: @surface1;
color: @text;
}
#network.disconnected {
background-color: @overlay0;
color: @subtext0;
}
#pulseaudio {
background-color: @surface1;
color: @text;
}
#pulseaudio.muted {
background-color: @overlay0;
color: @subtext0;
}
#tray {
background-color: @surface1;
color: @text;
}
#window.empty {
background-color: transparent;
}
#mpd {
background-color: @surface1;
color: @text;
}
#idle_inhibitor {
background-color: @surface1;
color: @text;
}
#custom-power {
background-color: @critical;
color: @base;
padding-right: 16px;
}
@keyframes blink {
to {
background-color: @overlay2;
color: @base;
}
}