# violet-chaton v2

> Rice Pop!\_OS complet — palette originale, zero emprunt.
> Compatible **COSMIC** et **Hyprland**.

![preview](INSTALL/assets/violet-chaton-logo.png)

---

## Philosophie

Palette 100% originale inspiree du gradient de **Mitsuri Kanroji** (rose → vert pastel).
Fond violet profond signature, 5 accents uniques, variantes dark + light.
Source de verite unique : `INSTALL/themes/palette.sh`

---

## Install

```bash
git clone https://git.tetardtek.com/Tetardtek/dotfiles-violet-chaton.git
cd dotfiles-violet-chaton
bash INSTALL/install.sh
```

Choisir **1** (complete) ou **4** (configs uniquement si les outils sont deja la).

Prerequis : `sudo apt install -y curl git unzip`

---

## Ce que tu obtiens

### Terminal
- **kitty** — GPU-accelerated, ligatures, cursor trail magenta, splits tiling, GLSL shader glow
- **Maple Mono NF** — italiques cursives, ligatures, fine et niche

### Shell
- **zsh** + zinit + autosuggestions + syntax-highlighting (palette v2)
- **starship** 3 lignes — separateur style, prompt signature, brain\_name env var
- **vi-mode** — beam/block cursor adaptatif, keybindings emacs preserves
- **atuin** — historique shell fuzzy

### Outils CLI
| Outil | Remplace | Description |
|-------|----------|-------------|
| `eza` | ls | Listing colore avec icones |
| `bat` | cat | Coloration syntaxique + theme v2 |
| `fd` | find | Recherche de fichiers |
| `fzf` | — | Fuzzy finder (fichiers, dossiers, git log, process killer) |
| `zoxide` | cd | Navigation intelligente |
| `ripgrep` | grep | Recherche dans les fichiers |
| `lazygit` | — | Git TUI avec couleurs v2 |
| `delta` | diff | Diffs colores side-by-side |
| `yazi` | — | Explorateur fichiers TUI + preview images kitty |
| `btop` | top | Monitoring systeme avec theme v2 |
| `dust` | du/ncdu | Analyse disque |
| `procs` | ps | Process viewer |
| `tokei` | — | Stats code par langage |
| `sd` | sed | Remplacement simplifie |
| `hyperfine` | time | Benchmarks CLI |
| `gping` | ping | Ping avec graphe |

### Desktop
- **AGS** (Aylur's GTK Shell) — barre 3-pills glassmorphism, OSD gradient Mitsuri, launcher, notifications
- **Rofi** — backup launcher avec theme v2
- Detection auto compositor (Hyprland = workspaces, COSMIC = mode compatible)

### Theming
- **COSMIC** Dark + Light — palette v2 complete (accent, background, primary, semantiques)
- **COSMIC Term** — Maple Mono NF + color schemes dark/light
- **GTK3/GTK4** — dark + light css
- **Vivaldi** — theme injecte automatiquement
- **Vesktop/Discord** — theme css
- Candy-icons

---

## Palette v2

### Dark

| | Hex | Role |
|-|-----|------|
| ![#261537](https://placehold.co/12x12/261537/261537.png) | `#261537` | base — fond principal |
| ![#341c4a](https://placehold.co/12x12/341c4a/341c4a.png) | `#341c4a` | mantle |
| ![#3d2454](https://placehold.co/12x12/3d2454/3d2454.png) | `#3d2454` | surface0 |
| ![#5a3875](https://placehold.co/12x12/5a3875/5a3875.png) | `#5a3875` | surface2 — selection |
| ![#ff4da6](https://placehold.co/12x12/ff4da6/ff4da6.png) | `#ff4da6` | magenta — accent primaire |
| ![#c9a0ff](https://placehold.co/12x12/c9a0ff/c9a0ff.png) | `#c9a0ff` | lilac — accent secondaire |
| ![#9adba8](https://placehold.co/12x12/9adba8/9adba8.png) | `#9adba8` | mitsuri — vert pastel / success |
| ![#a4b4ff](https://placehold.co/12x12/a4b4ff/a4b4ff.png) | `#a4b4ff` | lavande — bleu-violet / info |
| ![#e8c87a](https://placehold.co/12x12/e8c87a/e8c87a.png) | `#e8c87a` | champagne — or chaud / warning |
| ![#f25c7a](https://placehold.co/12x12/f25c7a/f25c7a.png) | `#f25c7a` | danger |
| ![#f0eaf8](https://placehold.co/12x12/f0eaf8/f0eaf8.png) | `#f0eaf8` | text |
| ![#716686](https://placehold.co/12x12/716686/716686.png) | `#716686` | muted |

### Gradient signature

```
magenta → lilac → lavande → mitsuri
#ff4da6 → #c9a0ff → #a4b4ff → #9adba8
```

### Light

Fonds lavande clairs (`#f3edf8`), accents assombris pour contraste WCAG.
Meme identite violet, meme gradient. Voir `palette.sh` section LIGHT.

---

## Raccourcis kitty

| Touche | Action |
|--------|--------|
| `Ctrl+Shift+\` | Split vertical |
| `Ctrl+Shift+-` | Split horizontal |
| `Ctrl+Shift+Z` | Zoom (stack toggle) |
| `Ctrl+Shift+←→↑↓` | Naviguer entre splits |
| `Ctrl+Shift+1-5` | Layouts (tall/fat/grid/h/v) |
| `Ctrl+Shift+T` | Nouvel onglet |
| `Ctrl+Shift+W` | Fermer onglet |
| `Ctrl+Shift+R` | Redimensionner split |
| `Ctrl+V` | Coller |
| `Ctrl+C` | Copier / interrompre |

## Raccourcis shell

| Touche | Action |
|--------|--------|
| `Ctrl+G` | fzf fichier |
| `Ctrl+F` | fzf dossier |
| `Ctrl+R` | Historique (atuin) |
| `Ctrl+Space` | Accepter suggestion |
| `Escape` | Vi normal mode |
| `i` | Retour insert |

## Commandes custom

| Commande | Description |
|----------|-------------|
| `colors` | Affiche la palette v2 |
| `hotkeys` | Cheatsheet raccourcis |
| `proj` | Project switcher fzf dans ~/Dev |
| `glog` | Git log fzf avec preview |
| `fkill` | Process killer fzf |
| `y` | Yazi (cd au dossier visite) |
| `weather [ville]` | Meteo rapide |

## Alias

| Alias | Commande reelle |
|-------|-----------------|
| `ls` | eza --icons |
| `ll` | eza -l --icons --git |
| `la` | eza -la --icons --git |
| `lt` | eza --tree --level=3 |
| `cat` | bat (sans pager) |
| `bat` | batcat |
| `fd` | fdfind |
| `lg` | lazygit |
| `tl` | tldr |
| `disk` | dust |
| `top` | btop |
| `fetch` | fastfetch + chafa logo |

---

## Structure

```
INSTALL/
  install.sh                  — point d'entree (menu interactif)
  scripts/
    lib.sh                    — fonctions partagees (couleurs palette v2)
    01-packages-apt.sh        — paquets apt
    02-packages-manual.sh     — binaires GitHub + fonts + kitty + AGS
    03-deploy-configs.sh      — deploy configs + themes + COSMIC + GTK
  configs/
    zshrc                     — shell config
    starship.toml             — prompt 3 lignes
    kitty.conf                — terminal + cursor trail + splits
    kitty/violet-chaton-glow.glsl — shader glow optionnel
    ags/                      — AGS bar + OSD + launcher + notifications
    ...
  themes/
    palette.sh                — SOURCE DE VERITE UNIQUE
    violet-chaton-*.{css,toml,theme,rasi,json,sh,tmTheme}
    cosmic/                   — COSMIC Dark + Light + Term + Tk
  assets/
    violet-chaton-logo.png
```

---

## Credits

- Palette : originale, inspiree Mitsuri Kanroji (Demon Slayer)
- Font : [Maple Mono NF](https://github.com/subframe7536/maple-font)
- Icones : [candy-icons](https://github.com/EliverLara/candy-icons)
- Shell : [AGS](https://github.com/Aylur/ags) · [starship](https://starship.rs) · [kitty](https://sw.kovidgoyal.net/kitty/)
