Files
Hyprland-Config-FWS/README.md
T
BlackAngelTV 27ad1efe42 feat: package the violet Hyprland theme as distributable dotfiles
Complete violet-themed desktop pack: Hyprland, Waybar, wofi, kitty,
btop, GTK, zsh/bash prompts, GRUB theme, SDDM theme and wallpaper,
with an installer script (backup + substitutions) and French docs.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-10 21:45:40 +02:00

192 lines
8.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 💜 violet-dotfiles — Thème VIOLET pour Hyprland
Toute la config visuelle « édition violette » : **Hyprland**, **Waybar**, **wofi**,
**kitty**, **btop**, **GTK**, **prompt zsh/bash**, **fond d'écran**, **GRUB** et
**SDDM**. Palette unique extraite d'une image de référence :
| Rôle | Couleur | Hex |
|-------------|----------|----------|
| Fond image | violet | `#29242e`|
| Fond profond| violet | `#1f1a2e`|
| Surface | gris | `#313244`|
| Texte | blanc | `#fafafa`|
| Lavande | highlight| `#c3b6f6`|
| Mauve | accent | `#cba6f7`|
| Indigo | secondaire| `#7064b6`|
| Teal | info | `#94e2d5`|
| Rose | alerte | `#f569ca`|
---
## 📁 Contenu du dossier
```
violet-dotfiles/
├── install.sh ← script d'installation (recommandé)
├── README.md ← ce fichier
├── hypr/ ← Hyprland : hyprland.conf, hyprlock, hyprpaper
├── waybar/ ← barre du haut : config, style.css, icons/logo.png
├── wofi/ ← menu d'applications (Super+R)
├── kitty/ ← terminal
├── btop/ ← moniteur système : themes/violet.theme
├── gtk/ ← réglages sombres GTK3 + GTK4
├── zsh/ ← prompt style Kali (kali-violet.zshrc)
├── bash/ ← prompt style Kali pour bash (optionnel)
├── grub/
│ ├── violet/ ← thème GRUB complet (fond, polices, menu)
│ └── default-grub.conf ← exemple de /etc/default/grub
├── sddm/
│ ├── catppuccin-mocha-mauve/ ← thème de l'écran de connexion
│ └── 10-fws.conf ← config SDDM
└── wallpapers/
└── Banner.png ← fond d'écran (3440×1440)
```
---
## 🚀 Installation rapide
Prérequis : **Arch Linux / FWS**, session **Hyprland** déjà fonctionnelle.
```bash
cd violet-dotfiles
./install.sh # configs utilisateur (aucun sudo requis)
```
Cela installe : Hyprland, Waybar, wofi, kitty, btop, GTK, prompt zsh,
fond d'écran — **en sauvegardant d'abord tes configs existantes** dans
`~/.violet-backup-<date>/`.
### Options
| Option | Effet |
|---------------------|---------------------------------------------------|
| `--bash` | ajoute aussi le prompt violet à `~/.bashrc` |
| `--grub` | installe le thème GRUB (sudo) + régénère grub.cfg |
| `--sddm` | installe le thème SDDM de connexion (sudo) |
| `--install-deps` | installe les paquets manquants (pacman, sudo) |
| `--all` | tout ce qui précède |
Exemple complet :
```bash
./install.sh --all
```
Ensuite :
```bash
hyprctl reload # ou SUPER+SHIFT+C
killall waybar; waybar & # recharge la barre
```
Redémarre pour voir GRUB et SDDM. 💜
---
## 📦 Dépendances
Paquets Arch (installés par `./install.sh --install-deps`) :
```
hyprland hyprlock hyprpaper waybar wofi kitty btop
mako grim slurp wl-clipboard playerctl pavucontrol
noto-fonts ttf-nerd-fonts-symbols network-manager-applet
blueman polkit-gnome dolphin
```
> Les icônes de la barre (󰥔 󰌌 󰕿…) viennent de **ttf-nerd-fonts-symbols**.
> Sans ce paquet, Waybar affichera des carrés vides.
---
## 🔧 Personnalisation rapide
| Tu veux… | Fichier à éditer |
|------------------------------------|-----------------------------------------------|
| Changer la disposition clavier | `hypr/hyprland.conf` → `kb_layout` / `kb_variant` (actuel : `ch` / `fr`) |
| Mettre ton prénom sur le verrou | `hypr/hyprlock.conf` → ligne « Bonjour … 💜 » (remplacé par ton nom d'utilisateur à l'install) |
| Changer le fond d'écran | remplace `wallpapers/Banner.png` puis relance `./install.sh` |
| Dégradé des bordures de fenêtres | `hypr/hyprland.conf` → `col.active_border` |
| Couleurs de la barre | `waybar/style.css` (palette en tête de fichier) |
| Toujours vouloir le prompt bash | `./install.sh --bash` |
---
## 🛠 Installation manuelle (sans le script)
1. **Hyprland** — copie `hypr/` vers `~/.config/hypr/`, puis dans
`hyprpaper.conf` remplace `__WALLPAPER__` par le chemin absolu de
`wallpapers/Banner.png` (ex. `/home/toi/Images/Banner.png`).
2. **Waybar** — copie `waybar/` vers `~/.config/waybar/` et remplace
`__WAYBAR_LOGO__` dans `style.css` par le chemin absolu
`~/.config/waybar/icons/logo.png`.
3. **wofi / kitty / btop / GTK** — copie chaque dossier vers
`~/.config/<nom>/`, puis choisis le thème btop : dans `~/.config/btop/btop.conf`,
ligne `color_theme = "violet"`.
4. **zsh** — copie `zsh/kali-violet.zshrc` vers `~/.config/zsh/` et ajoute
dans `~/.zshrc` :
```bash
[[ -f "$HOME/.config/zsh/kali-violet.zshrc" ]] && source "$HOME/.config/zsh/kali-violet.zshrc"
```
5. **GRUB** :
```bash
sudo rm -rf /boot/grub/themes/violet
sudo cp -r grub/violet /boot/grub/themes/
# ajoute dans /etc/default/grub (voir grub/default-grub.conf) :
# GRUB_THEME="/boot/grub/themes/violet/theme.txt"
# GRUB_GFXMODE=1920x1080,auto
sudo grub-mkconfig -o /boot/grub/grub.cfg
```
6. **SDDM** :
```bash
sudo cp -r sddm/catppuccin-mocha-mauve /usr/share/sddm/themes/
sudo cp sddm/10-fws.conf /etc/sddm.conf.d/10-fws.conf
```
---
## ⚠ Dépendances FWS (scripts de la distro FWS)
Certains raccourcis et boutons appellent de petits scripts de la distro
**FWS** (`/usr/local/bin/fws-*`). Sur une autre distro ils n'existent pas :
la config fonctionne quand même, ces actions sont simplement inactives.
Voici quoi mettre à la place si tu les veux :
| Commande FWS | Rôle | Remplaçant courant |
|---------------------|-------------------------------|----------------------------------|
| `fws-powermenu` | menu arrêt/redémarrage | `wlogout` |
| `fws-keys` | écran des raccourcis clavier | *(rien d'équivalent)* |
| `fws-updates-check` | vérif. mises à jour (barre) | `checkupdates` (paquet `pacman-contrib`) |
| `fws-update` | installer les mises à jour | `kitty -e sudo pacman -Syu` |
| `fws-brightness` | luminosité écran | `brightnessctl` |
| `fws-hello` | fenêtre de bienvenue | supprimer la ligne `exec-once` |
Exemple pour remplacer le bouton d'alimentation de Waybar :
`waybar/config` → `"on-click": "fws-powermenu"` devient `"on-click": "wlogout"`.
---
## 🔍 Dépannage
| Problème | Solution |
|---------------------------------------|----------|
| La barre affiche des carrés / | installe `ttf-nerd-fonts-symbols` et relance Waybar |
| Icônes manquantes | |
| Fond d'écran noir | vérifie que `hyprpaper` est lancé (`pgrep hyprpaper`) et que le chemin dans `hypr/hyprpaper.conf` existe |
| Thème GRUB inchangé après reboot | vérifie `GRUB_THEME` dans `/etc/default/grub`, relance `sudo grub-mkconfig -o /boot/grub/grub.cfg` |
| Waybar ne démarre pas | lance `waybar --log level=debug` pour voir l'erreur |
| Config Hyprland invalide | `hyprctl --config ~/.config/hypr/hyprland.conf verify` |
| L'ancienne config me manque | tout est dans `~/.violet-backup-<date>/` |
---
## ℹ️ Notes
- Le thème **GRUB violet** et le **thème btop violet** sont des créations
originales. Le thème **SDDM** `catppuccin-mocha-mauve` provient du projet
[Catppuccin](https://github.com/catppuccin/sddm) (licence MIT) — il est
inclus pour que le paquet soit autonome.
- Testé avec : Hyprland ≥ 0.56, Waybar ≥ 0.15, hyprlock 0.9, hyprpaper 0.8.
- Raccourcis utiles : `SUPER+K` = liste des raccourcis, `SUPER+X` = menu
d'alimentation, `SUPER+L` = verrouiller l'écran, `SUPER+R` = menu d'apps.