An open API service indexing awesome lists of open source software.

https://github.com/burnsedia/waywind

A CLI tool that generates Waybar themes from your TailwindCSS and DaisyUI config. Perfect for Hyprland users who want a consistent, riced desktop.
https://github.com/burnsedia/waywind

arch archlinux archlinuxrice aur cli hyprland npm rice waybar

Last synced: about 2 months ago
JSON representation

A CLI tool that generates Waybar themes from your TailwindCSS and DaisyUI config. Perfect for Hyprland users who want a consistent, riced desktop.

Awesome Lists containing this project

README

          

# ๐ŸŒฌ๏ธ waywind

**waywind** is a CLI tool that generates a [Waybar](https://github.com/Alexays/Waybar) CSS theme from your TailwindCSS (and DaisyUI) config.
Built for Arch Linux, Hyprland, and rice-loving frontend devs who want their bar to match their code.

---

## โœจ Features

- ๐ŸŽจ Converts TailwindCSS or DaisyUI color themes to Waybar-compatible CSS
- โšก Instant generation with one command
- ๐Ÿ” Optional auto-reload of Waybar after theme generation
- ๐Ÿง  Designed for theming-focused devs using Hyprland + Tailwind

---

## ๐Ÿš€ Installation

### Using npm:

```bash
npm install -g waywind
```

---

## ๐Ÿงช Usage

```bash
waywind --config tailwind.config.js --output ~/.config/waybar/style.css --reload
```

### Options

| Option | Description |
|---------------------|--------------------------------------------------|
| `-c`, `--config` | Path to your `tailwind.config.js` |
| `-o`, `--output` | Output CSS file path (default: `~/.config/waybar/style.css`) |
| `-r`, `--reload` | Reload Waybar after generating theme |

---

## ๐Ÿ“ฆ Example

```bash
waywind --config ./themes/synthwave.config.js --reload
```

Will generate a Waybar CSS theme matching your Synthwave Tailwind/DaisyUI colors and reload Waybar automatically.

---

## ๐Ÿ’ป Example Output

```css
window#waybar {
background-color: #0f172a; /* base-100 */
color: #f1f5f9; /* base-content */
}

#workspaces button.active {
background-color: #2563eb; /* primary */
}
```

---

## ๐Ÿ”ง Requirements

- Node.js โ‰ฅ 18
- A valid `tailwind.config.js` file with `theme.colors` (or DaisyUI enabled)
- Waybar (recommended with Hyprland)

---

## ๐Ÿง For Arch & Hyprland Users

`waywind` is designed with:
- ๐Ÿ’ป Hyprland + Waybar
- ๐Ÿง™ r/unixporn dotfiles users
- ๐ŸŒˆ frontend devs who use TailwindCSS or DaisyUI

---

## ๐Ÿ“œ License

[GLP](./LICENSE.md)

---

> Made with โค๏ธ for ricing your system by [@Burnsedia](https://github.com/Burnsedia)