diff options
| author | Alec Goncharow <alec@goncharow.dev> | 2025-05-28 16:20:43 -0400 |
|---|---|---|
| committer | Alec Goncharow <alec@goncharow.dev> | 2025-05-28 16:27:41 -0400 |
| commit | 8c6b1547abbec3ad600c0aef1de4f31afb4ed807 (patch) | |
| tree | 6e80dadc12956af98e3f1f2c3f86bffc5bd4c79d /.config/waybar/catppuccin | |
| parent | 42300557bf72c5a267cf89b5902cf58eb1ba6b82 (diff) | |
synccolemak
Diffstat (limited to '.config/waybar/catppuccin')
| -rw-r--r-- | .config/waybar/catppuccin/config | 63 | ||||
| -rw-r--r-- | .config/waybar/catppuccin/style.css | 105 |
2 files changed, 168 insertions, 0 deletions
diff --git a/.config/waybar/catppuccin/config b/.config/waybar/catppuccin/config new file mode 100644 index 0000000..fe64c64 --- /dev/null +++ b/.config/waybar/catppuccin/config @@ -0,0 +1,63 @@ +{ + "layer": "top", // Waybar at top layer + "position": "top", // Waybar position (top|bottom|left|right) + // "width": 1280, // Waybar width + // Choose the order of the modules + "modules-left": ["wlr/workspaces"], + "modules-center": ["clock", "tray"], + "modules-right": ["pulseaudio", "backlight", "battery", "custom/lock", "custom/power"], + "wlr/workspaces": { + "disable-scroll": true, + "sort-by-name": true, + "format": " {icon} ", + "format-icons": { + "default": "", + }, + }, + "tray": { + "icon-size": 21, + "spacing": 10 + }, + "clock": { + "timezone": "NewYork", + "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", + "format-alt": " {:%d/%m/%Y}", + "format": "{:%H:%M}" + }, + "backlight": { + "device": "intel_backlight", + "format": "{icon}", + "format-icons": ["", "", "", "", "", "", "", "", ""] + }, + "battery": { + "states": { + // "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% ", + "format-plugged": "{capacity}% ", + "format-alt": "{time} {icon}", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + "format-icons": ["", "", "", "", ""] + }, + "pulseaudio": { + // "scroll-step": 1, // %, can be a float + "format": "{icon} {volume}%", + "format-muted": "", + "format-icons": { + "default": ["", "", " "] + }, + "on-click": "pavucontrol" + }, + "custom/lock": { + "tooltip": false, + "on-click": "pretty-lock", + "format": "", + }, + "custom/power": { + "tooltip": false, + } +} diff --git a/.config/waybar/catppuccin/style.css b/.config/waybar/catppuccin/style.css new file mode 100644 index 0000000..66f03f2 --- /dev/null +++ b/.config/waybar/catppuccin/style.css @@ -0,0 +1,105 @@ +@import "mocha.css"; + +* { + font-family: FantasqueSansMono Nerd Font; + font-size: 17px; + min-height: 0; +} + +#waybar { + background: transparent; + color: @text; + margin: 5px 5px; +} + +#workspaces { + border-radius: 1rem; + margin: 5px; + background-color: @surface0; + margin-left: 1rem; +} + +#workspaces button { + color: @lavender; + border-radius: 1rem; + padding: 0.4rem; +} + +#workspaces button.active { + color: @sky; + border-radius: 1rem; +} + +#workspaces button:hover { + color: @sapphire; + border-radius: 1rem; +} + +#custom-music, +#cpu, +#memory, +#temperature, +#tray, +#backlight, +#clock, +#battery, +#pulseaudio, +#custom-lock, +#custom-power { + background-color: @surface0; + padding: 0.5rem 1rem; + margin: 5px 0; +} + +#clock { + color: @blue; + border-radius: 0px 1rem 1rem 0px; + margin-right: 1rem; +} + +#battery { + color: @green; +} + +#battery.charging { + color: @green; +} + +#battery.warning:not(.charging) { + color: @red; +} + +#backlight { + color: @yellow; +} + +#backlight, #battery { + border-radius: 0; +} + +#pulseaudio { + color: @maroon; + border-radius: 1rem 0px 0px 1rem; + margin-left: 1rem; +} + +#custom-music { + color: @mauve; + border-radius: 1rem; +} + +#custom-lock { + border-radius: 1rem 0px 0px 1rem; + color: @lavender; +} + +#custom-power { + margin-right: 1rem; + border-radius: 0px 1rem 1rem 0px; + color: @red; +} + +#tray { + margin-right: 1rem; + border-radius: 1rem; +} |
