Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8d48baad8 | ||
|
|
52e182a334
|
||
|
|
9af9974a09
|
||
|
|
e07b3c8753
|
||
|
|
fb22fa8af7 | ||
|
|
6a65913c2c |
No files matched your search
@@ -0,0 +1,13 @@
|
|||||||
|
# Artefacts locaux — rien de tout ceci n'a sa place dans le dépôt.
|
||||||
|
|
||||||
|
# Caches Python : les scripts média (waybar/scripts) sont du Python et
|
||||||
|
# laissent un __pycache__ dès qu'on les importe ou qu'on les vérifie.
|
||||||
|
__pycache__/
|
||||||
|
*.pyc
|
||||||
|
|
||||||
|
# Archives de copie du thème
|
||||||
|
*.tar.gz
|
||||||
|
|
||||||
|
# Éditeurs
|
||||||
|
*.swp
|
||||||
|
*~
|
||||||
@@ -24,8 +24,13 @@ Toute la config visuelle « édition violette » : **Hyprland**, **Waybar**, **w
|
|||||||
violet-dotfiles/
|
violet-dotfiles/
|
||||||
├── install.sh ← script d'installation (recommandé)
|
├── install.sh ← script d'installation (recommandé)
|
||||||
├── README.md ← ce fichier
|
├── README.md ← ce fichier
|
||||||
├── hypr/ ← Hyprland : hyprland.conf, hyprlock, hyprpaper
|
│
|
||||||
|
│ ── le thème, prêt à installer (modèles avec chemins à substituer) ──
|
||||||
|
├── hypr/ ← Hyprland : hyprland.lua (format lu depuis 0.57),
|
||||||
|
│ hyprland.conf (même contenu, référence), hyprlock, hyprpaper
|
||||||
├── waybar/ ← barre du haut : config, style.css, icons/logo.png
|
├── waybar/ ← barre du haut : config, style.css, icons/logo.png
|
||||||
|
│ └── scripts/ ← modules média : media-cover, media-panel
|
||||||
|
├── mako/ ← notifications (popups violets assortis à la barre)
|
||||||
├── wofi/ ← menu d'applications (Super+R)
|
├── wofi/ ← menu d'applications (Super+R)
|
||||||
├── kitty/ ← terminal
|
├── kitty/ ← terminal
|
||||||
├── btop/ ← moniteur système : themes/violet.theme
|
├── btop/ ← moniteur système : themes/violet.theme
|
||||||
@@ -38,12 +43,115 @@ violet-dotfiles/
|
|||||||
├── sddm/
|
├── sddm/
|
||||||
│ ├── catppuccin-mocha-mauve/ ← thème de l'écran de connexion
|
│ ├── catppuccin-mocha-mauve/ ← thème de l'écran de connexion
|
||||||
│ └── 10-fws.conf ← config SDDM
|
│ └── 10-fws.conf ← config SDDM
|
||||||
└── wallpapers/
|
├── wallpapers/
|
||||||
└── Banner.png ← fond d'écran (3440×1440)
|
│ └── Banner.png ← fond d'écran (3440×1440)
|
||||||
|
│
|
||||||
|
│ ── copie intégrale de la machine (rien à installer : sauvegarde brute) ──
|
||||||
|
├── system/ ← miroir des fichiers système (voir § Copie intégrale)
|
||||||
|
│ ├── etc/{default/grub, grub.d/42_fws-recovery, sddm.conf.d/10-fws.conf}
|
||||||
|
│ ├── boot/grub/themes/catppuccin-mocha-grub-theme/
|
||||||
|
│ ├── usr/local/bin/fws-* ← scripts de la distro FWS
|
||||||
|
│ ├── usr/local/share/fws/ ← modèles FWS (wofi, waybar, hyprland…)
|
||||||
|
│ ├── usr/share/sddm/themes/fws/
|
||||||
|
│ └── usr/share/wayland-sessions/{hyprland,hyprland-uwsm}.desktop
|
||||||
|
├── home/ ← fichiers du home pas ailleurs dans le dépôt
|
||||||
|
│ ├── .zshrc .bashrc .bash_profile
|
||||||
|
│ ├── .config/btop/btop.conf ← `color_theme = "violet"`
|
||||||
|
│ ├── wofi-style-violet.css
|
||||||
|
│ └── grub-violet-theme/install-violet.sh
|
||||||
|
└── live-2026-09-21/ ← état exact des configs qui tournaient ce jour-là
|
||||||
|
└── .config/{hypr,waybar,wofi,kitty}/…
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## 🗄 Copie intégrale (system/, home/, live-<date>/)
|
||||||
|
|
||||||
|
En plus du thème installable, le dépôt contient une **sauvegarde brute** de tout
|
||||||
|
ce qui fait l'apparence de la machine : amorçage (GRUB), écran de connexion
|
||||||
|
(SDDM), session Wayland, verrouillage, barre, notifications, terminal, prompts
|
||||||
|
et les scripts qui vont avec. Rien à lancer : ce sont les fichiers tels quels.
|
||||||
|
|
||||||
|
### Où se trouve quoi
|
||||||
|
|
||||||
|
| Sur la machine | Dans le dépôt |
|
||||||
|
|----------------|----------------|
|
||||||
|
| `~/.config/hypr`, `waybar`, `mako`, `wofi`, `kitty`, `gtk-*`, `zsh`, `bash` | dossiers du même nom à la racine (modèles) + `live-2026-09-21/` (copie brute) |
|
||||||
|
| `~/.zshrc`, `~/.bashrc`, `~/.bash_profile` | `home/` |
|
||||||
|
| `~/.config/btop/btop.conf` | `home/.config/btop/btop.conf` |
|
||||||
|
| `~/wofi-style-violet.css`, `~/grub-violet-theme/` | `home/` |
|
||||||
|
| `/etc/default/grub` | `system/etc/default/grub` |
|
||||||
|
| `/etc/grub.d/42_fws-recovery` | `system/etc/grub.d/42_fws-recovery` |
|
||||||
|
| `/boot/grub/themes/violet` | `grub/violet/` (identique, vérifié) |
|
||||||
|
| `/boot/grub/themes/catppuccin-mocha-grub-theme` | `system/boot/grub/themes/catppuccin-mocha-grub-theme/` |
|
||||||
|
| `/etc/sddm.conf.d/10-fws.conf` | `system/etc/sddm.conf.d/10-fws.conf` |
|
||||||
|
| `/usr/share/sddm/themes/catppuccin-mocha-mauve` | `sddm/catppuccin-mocha-mauve/` (identique, vérifié) |
|
||||||
|
| `/usr/share/sddm/themes/fws` | `system/usr/share/sddm/themes/fws/` |
|
||||||
|
| `/usr/share/wayland-sessions/hyprland*.desktop` | `system/usr/share/wayland-sessions/` |
|
||||||
|
| `/usr/local/bin/fws-*` et amis | `system/usr/local/bin/` |
|
||||||
|
| `/usr/local/share/fws/` | `system/usr/local/share/fws/` |
|
||||||
|
|
||||||
|
> `system/` reproduit l'arborescence réelle : `system/etc/default/grub` se
|
||||||
|
> recopie en `/etc/default/grub`. Les deux gros thèmes (GRUB violet, SDDM
|
||||||
|
> catppuccin) ne sont pas dupliqués : ils vivent déjà à la racine du dépôt.
|
||||||
|
> Non inclus : le binaire `PacManager` et ses `plugins/` (~1 Mo,
|
||||||
|
> réinstallables via FWS-PacManage) et `~/violet-dotfiles.tar.gz` (archive).
|
||||||
|
|
||||||
|
### ⚠️ Le thème GRUB violet n'est pas celui qui s'affiche
|
||||||
|
|
||||||
|
`/etc/default/grub` de cette machine pointe vers **catppuccin**, pas vers
|
||||||
|
violet :
|
||||||
|
|
||||||
|
```
|
||||||
|
GRUB_THEME="/boot/grub/themes/catppuccin-mocha-grub-theme/theme.txt"
|
||||||
|
```
|
||||||
|
|
||||||
|
Le thème violet est bien installé dans `/boot/grub/themes/violet`, mais inactif.
|
||||||
|
Pour basculer sur le violet (sudo) :
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo cp /home/damien/violet-dotfiles/system/etc/default/grub /etc/default/grub
|
||||||
|
# ou seulement changer la ligne :
|
||||||
|
sudo sed -i 's|^GRUB_THEME=.*|GRUB_THEME="/boot/grub/themes/violet/theme.txt"|' /etc/default/grub
|
||||||
|
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
```
|
||||||
|
|
||||||
|
### Restaurer les fichiers système après un formatage
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd violet-dotfiles
|
||||||
|
sudo cp -a system/etc/. /etc/
|
||||||
|
sudo cp -a system/boot/. /boot/
|
||||||
|
sudo cp -a system/usr/. /usr/
|
||||||
|
sudo grub-mkconfig -o /boot/grub/grub.cfg # régénère le menu avec le thème
|
||||||
|
```
|
||||||
|
|
||||||
|
`./install.sh --system` fait ces copies pour toi (avec sauvegardes
|
||||||
|
`<fichier>.bak-<date>` et sans toucher à `/etc/default/grub`) :
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./install.sh --system # ou --all pour tout
|
||||||
|
```
|
||||||
|
|
||||||
|
### `live-2026-09-21/`
|
||||||
|
|
||||||
|
Copie **telle quelle** des configs qui tournaient le 21/09/2026, avec les
|
||||||
|
chemins absolus de cette machine. Les dossiers modèles de la racine en
|
||||||
|
diffèrent sur trois points, volontairement :
|
||||||
|
|
||||||
|
1. les chemins absolus y sont des jetons (`__WALLPAPER__`,
|
||||||
|
`__WAYBAR_SCRIPTS__`, `__WAYBAR_LOGO__`) remplacés par `install.sh` — un
|
||||||
|
chemin en dur casserait l'installation chez quelqu'un d'autre ;
|
||||||
|
2. la Waybar de la racine contient les modules `bluetooth` et `network` ainsi
|
||||||
|
que les règles CSS associées, absents de la version qui tournait ;
|
||||||
|
3. la version qui tournait avait perdu le fond mauve du bouton d'alimentation
|
||||||
|
dans `style.css` (`background: #cba6f7`).
|
||||||
|
|
||||||
|
Si la version qui tourne est celle que tu préfères, elle est dans
|
||||||
|
`live-2026-09-21/` : remets-la à la racine et `install.sh` la réinstallera.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## 🚀 Installation rapide
|
## 🚀 Installation rapide
|
||||||
|
|
||||||
Prérequis : **Arch Linux / FWS**, session **Hyprland** déjà fonctionnelle.
|
Prérequis : **Arch Linux / FWS**, session **Hyprland** déjà fonctionnelle.
|
||||||
@@ -64,9 +172,14 @@ fond d'écran — **en sauvegardant d'abord tes configs existantes** dans
|
|||||||
| `--bash` | ajoute aussi le prompt violet à `~/.bashrc` |
|
| `--bash` | ajoute aussi le prompt violet à `~/.bashrc` |
|
||||||
| `--grub` | installe le thème GRUB (sudo) + régénère grub.cfg |
|
| `--grub` | installe le thème GRUB (sudo) + régénère grub.cfg |
|
||||||
| `--sddm` | installe le thème SDDM de connexion (sudo) |
|
| `--sddm` | installe le thème SDDM de connexion (sudo) |
|
||||||
|
| `--system` | copie `system/` vers `/` : scripts FWS de `/usr/local/bin` (dont `fws-powermenu`), ressources de `/usr/local/share/fws`, thèmes GRUB, sessions Wayland (sudo) |
|
||||||
| `--install-deps` | installe les paquets manquants (pacman, sudo) |
|
| `--install-deps` | installe les paquets manquants (pacman, sudo) |
|
||||||
| `--all` | tout ce qui précède |
|
| `--all` | tout ce qui précède |
|
||||||
|
|
||||||
|
`--system` sauvegarde chaque fichier remplacé en `<fichier>.bak-<date>` et
|
||||||
|
laisse volontairement `/etc/default/grub` de côté : c'est `--grub` qui gère ce
|
||||||
|
fichier (sinon le thème GRUB repasse sur catppuccin au lieu de violet).
|
||||||
|
|
||||||
Exemple complet :
|
Exemple complet :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -76,8 +189,9 @@ Exemple complet :
|
|||||||
Ensuite :
|
Ensuite :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
hyprctl reload # ou SUPER+SHIFT+C
|
hyprctl reload # ou SUPER+SHIFT+C
|
||||||
killall waybar; waybar & # recharge la barre
|
killall waybar; waybar & # recharge la barre
|
||||||
|
makoctl reload # recharge le thème des notifications
|
||||||
```
|
```
|
||||||
|
|
||||||
Redémarre pour voir GRUB et SDDM. 💜
|
Redémarre pour voir GRUB et SDDM. 💜
|
||||||
@@ -92,12 +206,16 @@ Paquets Arch (installés par `./install.sh --install-deps`) :
|
|||||||
hyprland hyprlock hyprpaper waybar wofi kitty btop
|
hyprland hyprlock hyprpaper waybar wofi kitty btop
|
||||||
mako grim slurp wl-clipboard playerctl pavucontrol
|
mako grim slurp wl-clipboard playerctl pavucontrol
|
||||||
noto-fonts ttf-nerd-fonts-symbols network-manager-applet
|
noto-fonts ttf-nerd-fonts-symbols network-manager-applet
|
||||||
blueman polkit-gnome dolphin
|
blueman polkit-gnome dolphin python-gobject gtk4 curl
|
||||||
```
|
```
|
||||||
|
|
||||||
> Les icônes de la barre ( …) viennent de **ttf-nerd-fonts-symbols**.
|
> Les icônes de la barre ( …) viennent de **ttf-nerd-fonts-symbols**.
|
||||||
> Sans ce paquet, Waybar affichera des carrés vides.
|
> Sans ce paquet, Waybar affichera des carrés vides.
|
||||||
|
|
||||||
|
> `python-gobject` + `gtk4` : requis par le panneau multimédia (et par rien
|
||||||
|
d'autre). `playerctl` lit et pilote la musique, `curl` télécharge les
|
||||||
|
pochettes distantes.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🔧 Personnalisation rapide
|
## 🔧 Personnalisation rapide
|
||||||
@@ -109,27 +227,114 @@ blueman polkit-gnome dolphin
|
|||||||
| Changer le fond d'écran | remplace `wallpapers/Banner.png` puis relance `./install.sh` |
|
| 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` |
|
| 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) |
|
| Couleurs de la barre | `waybar/style.css` (palette en tête de fichier) |
|
||||||
|
| Couleurs des notifications | `mako/config` (puis `makoctl reload`) |
|
||||||
|
| Grandeur de la pochette dans la barre | `waybar/config` → module `image`, `size` |
|
||||||
| Toujours vouloir le prompt bash | `./install.sh --bash` |
|
| Toujours vouloir le prompt bash | `./install.sh --bash` |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## 🎵 Lecture en cours (pochette + panneau)
|
||||||
|
|
||||||
|
La barre affiche **la pochette** de la piste qui joue, et rien d'autre : le
|
||||||
|
titre, l'artiste et le temps (`0:42 / 3:18`) restent lisibles **au survol** de
|
||||||
|
la pochette. Rien n'est propre à un lecteur : tout passe par **MPRIS**
|
||||||
|
(`playerctl`), donc Spotify, mpv, Firefox ou VLC fonctionnent de la même façon.
|
||||||
|
Quand rien ne joue, la pilule disparaît complètement : la barre se referme au
|
||||||
|
lieu de garder un trou.
|
||||||
|
|
||||||
|
| Action | Effet |
|
||||||
|
|--------|-------|
|
||||||
|
| Clic sur la pochette | Ouvre le **panneau multimédia** |
|
||||||
|
| Clic milieu | Piste précédente |
|
||||||
|
| Molette | Avance / recule de 5 s |
|
||||||
|
| Survol | Titre — artiste (et « En pause » quand c'est le cas) |
|
||||||
|
| `SUPER+M` | Ouvre le même panneau |
|
||||||
|
|
||||||
|
> Le module « image » de Waybar ne gère pas le **clic droit** : la piste
|
||||||
|
> suivante se lance depuis le panneau (bouton ⏭).
|
||||||
|
|
||||||
|
Le panneau (classe `fws.media`, déclarée flottante dans `hyprland.conf`) montre
|
||||||
|
la pochette, le titre, l'artiste, l'album, une **barre de position déplaçable**
|
||||||
|
(on peut sauter n'importe où dans la piste) et les commandes : piste
|
||||||
|
précédente, **retour au début**, lecture/pause, piste suivante, fermeture.
|
||||||
|
Il se ferme avec la **croix** en haut à droite, avec `Échap`, ou en cliquant une
|
||||||
|
seconde fois sur la barre (le panneau bascule). `Espace`, `←` et `→`
|
||||||
|
fonctionnent au clavier (lecture/pause et ±5 s).
|
||||||
|
|
||||||
|
> Le panneau **ne** se ferme pas tout seul quand il perd le focus : Hyprland est
|
||||||
|
> configuré en focus glissant (`input.follow_mouse = 1`), donc ouvrir le panneau
|
||||||
|
> depuis la barre laisse le curseur hors de la fenêtre — elle serait fermée
|
||||||
|
> aussitôt, avant même d'avoir été vue.
|
||||||
|
|
||||||
|
Deux scripts, installés dans `~/.config/waybar/scripts/` :
|
||||||
|
|
||||||
|
- **`media-cover`** — donne à Waybar le **chemin local** de la pochette. Les
|
||||||
|
lecteurs du web n'exposent qu'une URL `https` : l'image est téléchargée une
|
||||||
|
seule fois dans `~/.cache/fws-media/` (vidé après 7 jours), sinon la barre la
|
||||||
|
retéléchargerait à chaque rafraîchissement. Sans pochette, c'est le logo FWS
|
||||||
|
qui s'affiche ; **sans lecteur, le script n'imprime rien** et Waybar masque la
|
||||||
|
pilule (`#image.empty` dans `style.css`). Sa deuxième ligne de sortie remplit
|
||||||
|
le survol (`titre — artiste`).
|
||||||
|
- **`media-panel`** — le panneau lui-même (GTK4 + PyGObject, rien de plus à
|
||||||
|
installer que `playerctl`).
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Écouter un autre lecteur que celui que MPRIS désigne :
|
||||||
|
playerctl -p mpv play-pause
|
||||||
|
# Voir qui joue en ce moment :
|
||||||
|
playerctl -l ; playerctl status
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 🔔 Notifications (mako)
|
||||||
|
|
||||||
|
Les popups reprennent la palette de la barre (fond `#29242e`, bordure lavande
|
||||||
|
`#c3b6f6`, coins 12 px, police Noto Sans 11) pour ne pas avoir l'air d'un autre
|
||||||
|
bureau. Réglages notables de `mako/config` :
|
||||||
|
|
||||||
|
| Réglage | Effet |
|
||||||
|
|---------|-------|
|
||||||
|
| `outer-margin=46,…` | La liste commence **sous la barre** au lieu de la recouvrir |
|
||||||
|
| `group-by=app-name` | Les notifications d'une même application se regroupent |
|
||||||
|
| `[urgency=critical]` | Bordure rose `#f569ca` et **pas de disparition automatique** |
|
||||||
|
| `history=1` | Relire un message manqué : `makoctl history` |
|
||||||
|
| `[mode=do-not-disturb]` | `invisible=1` : plus rien à l'écran en mode NIP |
|
||||||
|
|
||||||
|
```bash
|
||||||
|
makoctl reload # après avoir modifié mako/config
|
||||||
|
makoctl list # notifications affichées
|
||||||
|
makoctl history # historique
|
||||||
|
makoctl mode -t do-not-disturb # basculer le mode « ne pas déranger »
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## 🛠 Installation manuelle (sans le script)
|
## 🛠 Installation manuelle (sans le script)
|
||||||
|
|
||||||
1. **Hyprland** — copie `hypr/` vers `~/.config/hypr/`, puis dans
|
1. **Hyprland** — copie `hypr/` vers `~/.config/hypr/`, puis dans
|
||||||
`hyprpaper.conf` remplace `__WALLPAPER__` par le chemin absolu de
|
`hyprpaper.conf` remplace `__WALLPAPER__` par le chemin absolu de
|
||||||
`wallpapers/Banner.png` (ex. `/home/toi/Images/Banner.png`).
|
`wallpapers/Banner.png` (ex. `/home/toi/Images/Banner.png`).
|
||||||
2. **Waybar** — copie `waybar/` vers `~/.config/waybar/` et remplace
|
2. **Waybar** — copie `waybar/` vers `~/.config/waybar/`, remplace les deux
|
||||||
`__WAYBAR_LOGO__` dans `style.css` par le chemin absolu
|
chemins absolus, puis rends les scripts média exécutables :
|
||||||
`~/.config/waybar/icons/logo.png`.
|
```bash
|
||||||
3. **wofi / kitty / btop / GTK** — copie chaque dossier vers
|
sed -i "s|__WAYBAR_SCRIPTS__|$HOME/.config/waybar/scripts|g" ~/.config/waybar/config
|
||||||
|
sed -i "s|__WAYBAR_LOGO__|$HOME/.config/waybar/icons/logo.png|g" ~/.config/waybar/style.css
|
||||||
|
chmod +x ~/.config/waybar/scripts/media-cover ~/.config/waybar/scripts/media-panel
|
||||||
|
```
|
||||||
|
3. **mako** — copie `mako/config` vers `~/.config/mako/`, puis recharge :
|
||||||
|
```bash
|
||||||
|
makoctl reload
|
||||||
|
```
|
||||||
|
4. **wofi / kitty / btop / GTK** — copie chaque dossier vers
|
||||||
`~/.config/<nom>/`, puis choisis le thème btop : dans `~/.config/btop/btop.conf`,
|
`~/.config/<nom>/`, puis choisis le thème btop : dans `~/.config/btop/btop.conf`,
|
||||||
ligne `color_theme = "violet"`.
|
ligne `color_theme = "violet"`.
|
||||||
4. **zsh** — copie `zsh/kali-violet.zshrc` vers `~/.config/zsh/` et ajoute
|
5. **zsh** — copie `zsh/kali-violet.zshrc` vers `~/.config/zsh/` et ajoute
|
||||||
dans `~/.zshrc` :
|
dans `~/.zshrc` :
|
||||||
```bash
|
```bash
|
||||||
[[ -f "$HOME/.config/zsh/kali-violet.zshrc" ]] && source "$HOME/.config/zsh/kali-violet.zshrc"
|
[[ -f "$HOME/.config/zsh/kali-violet.zshrc" ]] && source "$HOME/.config/zsh/kali-violet.zshrc"
|
||||||
```
|
```
|
||||||
5. **GRUB** :
|
6. **GRUB** :
|
||||||
```bash
|
```bash
|
||||||
sudo rm -rf /boot/grub/themes/violet
|
sudo rm -rf /boot/grub/themes/violet
|
||||||
sudo cp -r grub/violet /boot/grub/themes/
|
sudo cp -r grub/violet /boot/grub/themes/
|
||||||
@@ -138,7 +343,7 @@ blueman polkit-gnome dolphin
|
|||||||
# GRUB_GFXMODE=1920x1080,auto
|
# GRUB_GFXMODE=1920x1080,auto
|
||||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
```
|
```
|
||||||
6. **SDDM** :
|
7. **SDDM** :
|
||||||
```bash
|
```bash
|
||||||
sudo cp -r sddm/catppuccin-mocha-mauve /usr/share/sddm/themes/
|
sudo cp -r sddm/catppuccin-mocha-mauve /usr/share/sddm/themes/
|
||||||
sudo cp sddm/10-fws.conf /etc/sddm.conf.d/10-fws.conf
|
sudo cp sddm/10-fws.conf /etc/sddm.conf.d/10-fws.conf
|
||||||
@@ -176,7 +381,8 @@ Exemple pour remplacer le bouton d'alimentation de Waybar :
|
|||||||
| Fond d'écran noir | vérifie que `hyprpaper` est lancé (`pgrep hyprpaper`) et que le chemin dans `hypr/hyprpaper.conf` existe |
|
| 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` |
|
| 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 |
|
| Waybar ne démarre pas | lance `waybar --log level=debug` pour voir l'erreur |
|
||||||
| Config Hyprland invalide | `hyprctl --config ~/.config/hypr/hyprland.conf verify` |
|
| Config Hyprland invalide | `Hyprland --verify-config -c ~/.config/hypr/hyprland.lua` |
|
||||||
|
| Thème ignoré, style par défaut (0.57+) | seul `hyprland.lua` est lu : vérifie qu'il existe dans `~/.config/hypr/` (`./install.sh` le copie) |
|
||||||
| L'ancienne config me manque | tout est dans `~/.violet-backup-<date>/` |
|
| L'ancienne config me manque | tout est dans `~/.violet-backup-<date>/` |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -7,10 +7,13 @@
|
|||||||
# Texte/chemin : bleu clair #89b4fa (137,180,250)
|
# Texte/chemin : bleu clair #89b4fa (137,180,250)
|
||||||
# $ / erreur : rose #f4c1e6 (244,193,230)
|
# $ / erreur : rose #f4c1e6 (244,193,230)
|
||||||
# ═══════════════════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════════════════
|
||||||
MAUVE=$'\e[38;2;203;166;247m' # mauve — boîtes et bordures (tty.png)
|
# \[ \] = séquence non imprimable : indispensable pour que bash calcule la
|
||||||
BLEU=$'\e[38;2;137;180;250m' # bleu clair — texte et chemin (tty.png)
|
# bonne largeur du prompt. Sans ces marqueurs, bash sur-estime la largeur et
|
||||||
ROSE=$'\e[38;2;244;193;230m' # rose — $ et code d'erreur (tty.png)
|
# le retour à la ligne / redessin des longues commandes se chevauche.
|
||||||
RESET=$'\e[0m'
|
MAUVE=$'\[\e[38;2;203;166;247m\]' # mauve — boîtes et bordures (tty.png)
|
||||||
|
BLEU=$'\[\e[38;2;137;180;250m\]' # bleu clair — texte et chemin (tty.png)
|
||||||
|
ROSE=$'\[\e[38;2;244;193;230m\]' # rose — $ et code d'erreur (tty.png)
|
||||||
|
RESET=$'\[\e[0m\]'
|
||||||
|
|
||||||
# Branche git courante : parenthèses mauve, nom en bleu
|
# Branche git courante : parenthèses mauve, nom en bleu
|
||||||
__fws_git_branch() {
|
__fws_git_branch() {
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#
|
||||||
|
# ~/.bash_profile
|
||||||
|
#
|
||||||
|
|
||||||
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
|
export PATH=$PATH:/home/damien/.spicetify
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
#
|
||||||
|
# ~/.bashrc
|
||||||
|
#
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
|
||||||
|
# ═══════════════════════════════════════════════════════════════
|
||||||
|
# 💜 PROMPT STYLE KALI — couleurs EXACTES de tty.png (image de
|
||||||
|
# référence, extraites au pixel près par analyse PNG)
|
||||||
|
# ╭──(damien💀pc)-[~/chemin]- (branche) [erreur]
|
||||||
|
# $
|
||||||
|
# Boîtes/bordures : mauve #cba6f7 (203,166,247)
|
||||||
|
# Texte/chemin : bleu clair #89b4fa (137,180,250)
|
||||||
|
# $ / erreur : rose #f4c1e6 (244,193,230)
|
||||||
|
# ═══════════════════════════════════════════════════════════════
|
||||||
|
# \[ \] = séquence non imprimable : indispensable pour que bash calcule la
|
||||||
|
# bonne largeur du prompt. Sans ces marqueurs, bash sur-estime la largeur et
|
||||||
|
# le retour à la ligne / redessin des longues commandes se chevauche.
|
||||||
|
MAUVE=$'\[\e[38;2;203;166;247m\]' # mauve — boîtes et bordures (tty.png)
|
||||||
|
BLEU=$'\[\e[38;2;137;180;250m\]' # bleu clair — texte et chemin (tty.png)
|
||||||
|
ROSE=$'\[\e[38;2;244;193;230m\]' # rose — $ et code d'erreur (tty.png)
|
||||||
|
RESET=$'\[\e[0m\]'
|
||||||
|
|
||||||
|
# Branche git courante : parenthèses mauve, nom en bleu
|
||||||
|
__fws_git_branch() {
|
||||||
|
local b
|
||||||
|
b=$(git symbolic-ref --short HEAD 2>/dev/null) || return
|
||||||
|
printf '%s(%s%s%s)%s' "$MAUVE" "$BLEU" "$b" "$MAUVE" "$RESET"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Construction du prompt à chaque ligne
|
||||||
|
__fws_prompt_cmd() {
|
||||||
|
local code=$? status=""
|
||||||
|
(( code != 0 )) && status="${ROSE}[$code]${RESET} "
|
||||||
|
PS1=$'\n'"${MAUVE}╭──(${BLEU}\u@\h${MAUVE})-[${BLEU}\w${MAUVE}]$(__fws_git_branch)${status}"$'\n'"${ROSE}\$ ${RESET}"
|
||||||
|
}
|
||||||
|
PROMPT_COMMAND=__fws_prompt_cmd
|
||||||
|
|
||||||
|
# ── Couleurs du terminal (ls assorti à tty.png) ────────────────
|
||||||
|
# dossiers mauve, liens bleu, exécutables rose
|
||||||
|
if command -v dircolors >/dev/null; then
|
||||||
|
eval "$(dircolors -b | sed \
|
||||||
|
-e 's/dir=01;34/dir=01;38;2;203;166;247/' \
|
||||||
|
-e 's/:ln=01;36:/:ln=01;38;2;137;180;250:/' \
|
||||||
|
-e 's/:ex=01;32:/:ex=01;38;2;244;193;230:/')"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ── Alias pratiques ────────────────────────────────────────────
|
||||||
|
alias update='sudo pacman -Syu'
|
||||||
|
alias cls='clear; echo -e "\e[38;2;203;166;247m 💜 Terminal violet prêt. 💜\e[0m"'
|
||||||
|
alias ll='ls -lah --color=auto'
|
||||||
|
alias ..='cd ..'
|
||||||
|
alias pkg='pacman -Q'
|
||||||
|
export PATH=$PATH:/home/damien/.spicetify
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
@@ -0,0 +1,286 @@
|
|||||||
|
#? Config file for btop v.1.4.7
|
||||||
|
|
||||||
|
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
||||||
|
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
||||||
|
color_theme = "violet"
|
||||||
|
|
||||||
|
#* If the theme set background should be shown, set to False if you want terminal background transparency.
|
||||||
|
theme_background = true
|
||||||
|
|
||||||
|
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
|
||||||
|
truecolor = true
|
||||||
|
|
||||||
|
#* Set to true to force tty mode regardless if a real tty has been detected or not.
|
||||||
|
#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols.
|
||||||
|
force_tty = false
|
||||||
|
|
||||||
|
#* Option to disable presets. Either the default preset, custom presets, or all presets.
|
||||||
|
#* "Off" All presets are enabled.
|
||||||
|
#* "Default" preset is disabled.#* "Custom" presets are disabled.#* "All" presets are disabled.
|
||||||
|
disable_presets = "Off"
|
||||||
|
|
||||||
|
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
|
||||||
|
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
|
||||||
|
#* Use whitespace " " as separator between different presets.
|
||||||
|
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
|
||||||
|
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
|
||||||
|
|
||||||
|
#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists.
|
||||||
|
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
|
||||||
|
vim_keys = false
|
||||||
|
|
||||||
|
#* Disable all mouse events.
|
||||||
|
disable_mouse = false
|
||||||
|
|
||||||
|
#* Rounded corners on boxes, is ignored if TTY mode is ON.
|
||||||
|
rounded_corners = true
|
||||||
|
|
||||||
|
#* Use terminal synchronized output sequences to reduce flickering on supported terminals.
|
||||||
|
terminal_sync = true
|
||||||
|
|
||||||
|
#* Default symbols to use for graph creation, "braille", "block" or "tty".
|
||||||
|
#* "braille" offers the highest resolution but might not be included in all fonts.
|
||||||
|
#* "block" has half the resolution of braille but uses more common characters.
|
||||||
|
#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY.
|
||||||
|
#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view.
|
||||||
|
graph_symbol = "braille"
|
||||||
|
|
||||||
|
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
||||||
|
graph_symbol_cpu = "default"
|
||||||
|
|
||||||
|
# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty".
|
||||||
|
graph_symbol_gpu = "default"
|
||||||
|
|
||||||
|
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
||||||
|
graph_symbol_mem = "default"
|
||||||
|
|
||||||
|
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
||||||
|
graph_symbol_net = "default"
|
||||||
|
|
||||||
|
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
|
||||||
|
graph_symbol_proc = "default"
|
||||||
|
|
||||||
|
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
|
||||||
|
shown_boxes = "cpu mem net proc"
|
||||||
|
|
||||||
|
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
|
||||||
|
update_ms = 100
|
||||||
|
|
||||||
|
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
||||||
|
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
||||||
|
proc_sorting = "cpu lazy"
|
||||||
|
|
||||||
|
#* Reverse sorting order, True or False.
|
||||||
|
proc_reversed = false
|
||||||
|
|
||||||
|
#* Show processes as a tree.
|
||||||
|
proc_tree = false
|
||||||
|
|
||||||
|
#* Use the cpu graph colors in the process list.
|
||||||
|
proc_colors = true
|
||||||
|
|
||||||
|
#* Use a darkening gradient in the process list.
|
||||||
|
proc_gradient = true
|
||||||
|
|
||||||
|
#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
|
||||||
|
proc_per_core = false
|
||||||
|
|
||||||
|
#* Show process memory as bytes instead of percent.
|
||||||
|
proc_mem_bytes = true
|
||||||
|
|
||||||
|
#* Show cpu graph for each process.
|
||||||
|
proc_cpu_graphs = true
|
||||||
|
|
||||||
|
#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)
|
||||||
|
proc_info_smaps = false
|
||||||
|
|
||||||
|
#* Show proc box on left side of screen instead of right.
|
||||||
|
proc_left = false
|
||||||
|
|
||||||
|
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
|
||||||
|
proc_filter_kernel = false
|
||||||
|
|
||||||
|
#* Should the process list follow the selected process when detailed view is open.
|
||||||
|
proc_follow_detailed = true
|
||||||
|
|
||||||
|
#* In tree-view, always accumulate child process resources in the parent process.
|
||||||
|
proc_aggregate = false
|
||||||
|
|
||||||
|
#* Should cpu and memory usage display be preserved for dead processes when paused.
|
||||||
|
keep_dead_proc_usage = false
|
||||||
|
|
||||||
|
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
|
||||||
|
#* Select from a list of detected attributes from the options menu.
|
||||||
|
cpu_graph_upper = "Auto"
|
||||||
|
|
||||||
|
#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available.
|
||||||
|
#* Select from a list of detected attributes from the options menu.
|
||||||
|
cpu_graph_lower = "Auto"
|
||||||
|
|
||||||
|
#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off".
|
||||||
|
show_gpu_info = "Auto"
|
||||||
|
|
||||||
|
#* Toggles if the lower CPU graph should be inverted.
|
||||||
|
cpu_invert_lower = true
|
||||||
|
|
||||||
|
#* Set to True to completely disable the lower CPU graph.
|
||||||
|
cpu_single_graph = false
|
||||||
|
|
||||||
|
#* Show cpu box at bottom of screen instead of top.
|
||||||
|
cpu_bottom = false
|
||||||
|
|
||||||
|
#* Shows the system uptime in the CPU box.
|
||||||
|
show_uptime = true
|
||||||
|
|
||||||
|
#* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo.
|
||||||
|
show_cpu_watts = true
|
||||||
|
|
||||||
|
#* Show cpu temperature.
|
||||||
|
check_temp = true
|
||||||
|
|
||||||
|
#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
|
||||||
|
cpu_sensor = "Auto"
|
||||||
|
|
||||||
|
#* Show temperatures for cpu cores also if check_temp is True and sensors has been found.
|
||||||
|
show_coretemp = true
|
||||||
|
|
||||||
|
#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.
|
||||||
|
#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.
|
||||||
|
#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries.
|
||||||
|
#* Example: "4:0 5:1 6:3"
|
||||||
|
cpu_core_map = ""
|
||||||
|
|
||||||
|
#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine".
|
||||||
|
temp_scale = "celsius"
|
||||||
|
|
||||||
|
#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.
|
||||||
|
base_10_sizes = false
|
||||||
|
|
||||||
|
#* Show CPU frequency.
|
||||||
|
show_cpu_freq = true
|
||||||
|
|
||||||
|
#* How to calculate CPU frequency, available values: "first", "range", "lowest", "highest" and "average".
|
||||||
|
freq_mode = "first"
|
||||||
|
|
||||||
|
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
|
||||||
|
#* Special formatting: /host = hostname | /user = username | /uptime = system uptime
|
||||||
|
clock_format = "%X"
|
||||||
|
|
||||||
|
#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
|
||||||
|
background_update = true
|
||||||
|
|
||||||
|
#* Custom cpu model name, empty string to disable.
|
||||||
|
custom_cpu_name = ""
|
||||||
|
|
||||||
|
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
|
||||||
|
#* Only disks matching the filter will be shown. Prepend exclude= to only show disks not matching the filter. Examples: disk_filter="/boot /home/user", disks_filter="exclude=/boot /home/user"
|
||||||
|
disks_filter = ""
|
||||||
|
|
||||||
|
#* Show graphs instead of meters for memory values.
|
||||||
|
mem_graphs = true
|
||||||
|
|
||||||
|
#* Show mem box below net box instead of above.
|
||||||
|
mem_below_net = false
|
||||||
|
|
||||||
|
#* Count ZFS ARC in cached and available memory.
|
||||||
|
zfs_arc_cached = true
|
||||||
|
|
||||||
|
#* If swap memory should be shown in memory box.
|
||||||
|
show_swap = true
|
||||||
|
|
||||||
|
#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
|
||||||
|
swap_disk = true
|
||||||
|
|
||||||
|
#* If mem box should be split to also show disks info.
|
||||||
|
show_disks = true
|
||||||
|
|
||||||
|
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
|
||||||
|
only_physical = true
|
||||||
|
|
||||||
|
#* Read disks list from /etc/fstab. This also disables only_physical.
|
||||||
|
use_fstab = true
|
||||||
|
|
||||||
|
#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool)
|
||||||
|
zfs_hide_datasets = false
|
||||||
|
|
||||||
|
#* Set to true to show available disk space for privileged users.
|
||||||
|
disk_free_priv = false
|
||||||
|
|
||||||
|
#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.
|
||||||
|
show_io_stat = true
|
||||||
|
|
||||||
|
#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
|
||||||
|
io_mode = false
|
||||||
|
|
||||||
|
#* Set to True to show combined read/write io graphs in io mode.
|
||||||
|
io_graph_combined = false
|
||||||
|
|
||||||
|
#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ".
|
||||||
|
#* Example: "/mnt/media:100 /:20 /boot:1".
|
||||||
|
io_graph_speeds = ""
|
||||||
|
|
||||||
|
#* Swap the positions of the upload and download speed graphs. When true, upload will be on top.
|
||||||
|
swap_upload_download = false
|
||||||
|
|
||||||
|
#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.
|
||||||
|
net_download = 100
|
||||||
|
|
||||||
|
net_upload = 100
|
||||||
|
|
||||||
|
#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
|
||||||
|
net_auto = true
|
||||||
|
|
||||||
|
#* Sync the auto scaling for download and upload to whichever currently has the highest scale.
|
||||||
|
net_sync = true
|
||||||
|
|
||||||
|
#* Starts with the Network Interface specified here.
|
||||||
|
net_iface = ""
|
||||||
|
|
||||||
|
#* "True" shows bitrates in base 10 (Kbps, Mbps). "False" shows bitrates in binary sizes (Kibps, Mibps, etc.). "Auto" uses base_10_sizes.
|
||||||
|
base_10_bitrate = "Auto"
|
||||||
|
|
||||||
|
#* Show battery stats in top right if battery is present.
|
||||||
|
show_battery = true
|
||||||
|
|
||||||
|
#* Which battery to use if multiple are present. "Auto" for auto detection.
|
||||||
|
selected_battery = "Auto"
|
||||||
|
|
||||||
|
#* Show power stats of battery next to charge indicator.
|
||||||
|
show_battery_watts = true
|
||||||
|
|
||||||
|
#* Set loglevel for "~/.local/state/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
|
||||||
|
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
|
||||||
|
log_level = "WARNING"
|
||||||
|
|
||||||
|
#* Automatically save current settings to config file on exit.
|
||||||
|
save_config_on_exit = true
|
||||||
|
|
||||||
|
#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
|
||||||
|
nvml_measure_pcie_speeds = true
|
||||||
|
|
||||||
|
#* Measure PCIe throughput on AMD cards, may impact performance on certain cards.
|
||||||
|
rsmi_measure_pcie_speeds = true
|
||||||
|
|
||||||
|
#* Horizontally mirror the GPU graph.
|
||||||
|
gpu_mirror_graph = true
|
||||||
|
|
||||||
|
#* Set which GPU vendors to show. Available values are "nvidia amd intel apple"
|
||||||
|
shown_gpus = "nvidia amd intel apple"
|
||||||
|
|
||||||
|
#* Custom gpu0 model name, empty string to disable.
|
||||||
|
custom_gpu_name0 = ""
|
||||||
|
|
||||||
|
#* Custom gpu1 model name, empty string to disable.
|
||||||
|
custom_gpu_name1 = ""
|
||||||
|
|
||||||
|
#* Custom gpu2 model name, empty string to disable.
|
||||||
|
custom_gpu_name2 = ""
|
||||||
|
|
||||||
|
#* Custom gpu3 model name, empty string to disable.
|
||||||
|
custom_gpu_name3 = ""
|
||||||
|
|
||||||
|
#* Custom gpu4 model name, empty string to disable.
|
||||||
|
custom_gpu_name4 = ""
|
||||||
|
|
||||||
|
#* Custom gpu5 model name, empty string to disable.
|
||||||
|
custom_gpu_name5 = ""
|
||||||
@@ -0,0 +1,348 @@
|
|||||||
|
# Filename: /etc/skel/.zshrc
|
||||||
|
# Purpose: config file for zsh (z shell)
|
||||||
|
# Authors: (c) grml-team (grml.org)
|
||||||
|
# Bug-Reports: see http://grml.org/bugs/
|
||||||
|
# License: This file is licensed under the GPL v2 or any later version.
|
||||||
|
################################################################################
|
||||||
|
# Nowadays, grml's zsh setup lives in only *one* zshrc file.
|
||||||
|
# That is the global one: /etc/zsh/zshrc (from grml-etc-core).
|
||||||
|
# It is best to leave *this* file untouched and do personal changes to
|
||||||
|
# your zsh setup via ${HOME}/.zshrc.local which is loaded at the end of
|
||||||
|
# the global zshrc.
|
||||||
|
#
|
||||||
|
# That way, we enable people on other operating systems to use our
|
||||||
|
# setup, too, just by copying our global zshrc to their ${HOME}/.zshrc.
|
||||||
|
# Adjustments would still go to the .zshrc.local file.
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
## Inform users about upgrade path for grml's old zshrc layout, assuming that:
|
||||||
|
## /etc/skel/.zshrc was installed as ~/.zshrc,
|
||||||
|
## /etc/zsh/zshrc was installed as ~/.zshrc.global and
|
||||||
|
## ~/.zshrc.local does not exist yet.
|
||||||
|
if [ -r ~/.zshrc -a -r ~/.zshrc.global -a ! -r ~/.zshrc.local ] ; then
|
||||||
|
printf '-!-\n'
|
||||||
|
printf '-!- Looks like you are using the old zshrc layout of grml.\n'
|
||||||
|
printf '-!- Please read the notes in the grml-zsh-refcard, being'
|
||||||
|
printf '-!- available at: http://grml.org/zsh/\n'
|
||||||
|
printf '-!-\n'
|
||||||
|
printf '-!- If you just want to get rid of this warning message execute:\n'
|
||||||
|
printf '-!- touch ~/.zshrc.local\n'
|
||||||
|
printf '-!-\n'
|
||||||
|
fi
|
||||||
|
|
||||||
|
## Settings for umask
|
||||||
|
#if (( EUID == 0 )); then
|
||||||
|
# umask 002
|
||||||
|
#else
|
||||||
|
# umask 022
|
||||||
|
#fi
|
||||||
|
|
||||||
|
## Now, we'll give a few examples of what you might want to use in your
|
||||||
|
## .zshrc.local file (just copy'n'paste and uncomment it there):
|
||||||
|
|
||||||
|
## Prompt theme extension ##
|
||||||
|
|
||||||
|
# Virtualenv support
|
||||||
|
|
||||||
|
#function virtual_env_prompt () {
|
||||||
|
# REPLY=${VIRTUAL_ENV+(${VIRTUAL_ENV:t}) }
|
||||||
|
#}
|
||||||
|
#grml_theme_add_token virtual-env -f virtual_env_prompt '%F{magenta}' '%f'
|
||||||
|
#zstyle ':prompt:grml:left:setup' items rc virtual-env change-root user at host path vcs percent
|
||||||
|
|
||||||
|
## ZLE tweaks ##
|
||||||
|
|
||||||
|
## use the vi navigation keys (hjkl) besides cursor keys in menu completion
|
||||||
|
#bindkey -M menuselect 'h' vi-backward-char # left
|
||||||
|
#bindkey -M menuselect 'k' vi-up-line-or-history # up
|
||||||
|
#bindkey -M menuselect 'l' vi-forward-char # right
|
||||||
|
#bindkey -M menuselect 'j' vi-down-line-or-history # bottom
|
||||||
|
|
||||||
|
## set command prediction from history, see 'man 1 zshcontrib'
|
||||||
|
#zrcautoload predict-on && \
|
||||||
|
#zle -N predict-on && \
|
||||||
|
#zle -N predict-off && \
|
||||||
|
#bindkey "^X^Z" predict-on && \
|
||||||
|
#bindkey "^Z" predict-off
|
||||||
|
|
||||||
|
## press ctrl-q to quote line:
|
||||||
|
#mquote () {
|
||||||
|
# zle beginning-of-line
|
||||||
|
# zle forward-word
|
||||||
|
# # RBUFFER="'$RBUFFER'"
|
||||||
|
# RBUFFER=${(q)RBUFFER}
|
||||||
|
# zle end-of-line
|
||||||
|
#}
|
||||||
|
#zle -N mquote && bindkey '^q' mquote
|
||||||
|
|
||||||
|
## define word separators (for stuff like backward-word, forward-word, backward-kill-word,..)
|
||||||
|
#WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>' # the default
|
||||||
|
#WORDCHARS=.
|
||||||
|
#WORDCHARS='*?_[]~=&;!#$%^(){}'
|
||||||
|
#WORDCHARS='${WORDCHARS:s@/@}'
|
||||||
|
|
||||||
|
# just type '...' to get '../..'
|
||||||
|
#rationalise-dot() {
|
||||||
|
#local MATCH
|
||||||
|
#if [[ $LBUFFER =~ '(^|/| | |'$'\n''|\||;|&)\.\.$' ]]; then
|
||||||
|
# LBUFFER+=/
|
||||||
|
# zle self-insert
|
||||||
|
# zle self-insert
|
||||||
|
#else
|
||||||
|
# zle self-insert
|
||||||
|
#fi
|
||||||
|
#}
|
||||||
|
#zle -N rationalise-dot
|
||||||
|
#bindkey . rationalise-dot
|
||||||
|
## without this, typing a . aborts incremental history search
|
||||||
|
#bindkey -M isearch . self-insert
|
||||||
|
|
||||||
|
#bindkey '\eq' push-line-or-edit
|
||||||
|
|
||||||
|
## some popular options ##
|
||||||
|
|
||||||
|
## add `|' to output redirections in the history
|
||||||
|
#setopt histallowclobber
|
||||||
|
|
||||||
|
## try to avoid the 'zsh: no matches found...'
|
||||||
|
#setopt nonomatch
|
||||||
|
|
||||||
|
## warning if file exists ('cat /dev/null > ~/.zshrc')
|
||||||
|
#setopt NO_clobber
|
||||||
|
|
||||||
|
## don't warn me about bg processes when exiting
|
||||||
|
#setopt nocheckjobs
|
||||||
|
|
||||||
|
## alert me if something failed
|
||||||
|
#setopt printexitvalue
|
||||||
|
|
||||||
|
## with spelling correction, assume dvorak kb
|
||||||
|
#setopt dvorak
|
||||||
|
|
||||||
|
## Allow comments even in interactive shells
|
||||||
|
#setopt interactivecomments
|
||||||
|
|
||||||
|
## if a new command line being added to the history list duplicates an older
|
||||||
|
## one, the older command is removed from the list
|
||||||
|
#setopt histignorealldups
|
||||||
|
|
||||||
|
## compsys related snippets ##
|
||||||
|
|
||||||
|
## changed completer settings
|
||||||
|
#zstyle ':completion:*' completer _complete _correct _approximate
|
||||||
|
#zstyle ':completion:*' expand prefix suffix
|
||||||
|
|
||||||
|
## another different completer setting: expand shell aliases
|
||||||
|
#zstyle ':completion:*' completer _expand_alias _complete _approximate
|
||||||
|
|
||||||
|
## to have more convenient account completion, specify your logins:
|
||||||
|
#my_accounts=(
|
||||||
|
# {grml,grml1}@foo.invalid
|
||||||
|
# grml-devel@bar.invalid
|
||||||
|
#)
|
||||||
|
#other_accounts=(
|
||||||
|
# {fred,root}@foo.invalid
|
||||||
|
# vera@bar.invalid
|
||||||
|
#)
|
||||||
|
#zstyle ':completion:*:my-accounts' users-hosts $my_accounts
|
||||||
|
#zstyle ':completion:*:other-accounts' users-hosts $other_accounts
|
||||||
|
|
||||||
|
## add grml.org to your list of hosts
|
||||||
|
#hosts+=(grml.org)
|
||||||
|
#zstyle ':completion:*:hosts' hosts $hosts
|
||||||
|
|
||||||
|
## telnet on non-default ports? ...well:
|
||||||
|
## specify specific port/service settings:
|
||||||
|
#telnet_users_hosts_ports=(
|
||||||
|
# user1@host1:
|
||||||
|
# user2@host2:
|
||||||
|
# @mail-server:{smtp,pop3}
|
||||||
|
# @news-server:nntp
|
||||||
|
# @proxy-server:8000
|
||||||
|
#)
|
||||||
|
#zstyle ':completion:*:*:telnet:*' users-hosts-ports $telnet_users_hosts_ports
|
||||||
|
|
||||||
|
## the default grml setup provides '..' as a completion. it does not provide
|
||||||
|
## '.' though. If you want that too, use the following line:
|
||||||
|
#zstyle ':completion:*' special-dirs true
|
||||||
|
|
||||||
|
## aliases ##
|
||||||
|
|
||||||
|
## translate
|
||||||
|
#alias u='translate -i'
|
||||||
|
|
||||||
|
## ignore ~/.ssh/known_hosts entries
|
||||||
|
#alias insecssh='ssh -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null" -o "PreferredAuthentications=keyboard-interactive"'
|
||||||
|
|
||||||
|
|
||||||
|
## global aliases (for those who like them) ##
|
||||||
|
|
||||||
|
#alias -g '...'='../..'
|
||||||
|
#alias -g '....'='../../..'
|
||||||
|
#alias -g BG='& exit'
|
||||||
|
#alias -g C='|wc -l'
|
||||||
|
#alias -g G='|grep'
|
||||||
|
#alias -g H='|head'
|
||||||
|
#alias -g Hl=' --help |& less -r'
|
||||||
|
#alias -g J='|jq'
|
||||||
|
#alias -g K='|keep'
|
||||||
|
#alias -g L='|less'
|
||||||
|
#alias -g LL='|& less -r'
|
||||||
|
#alias -g M='|most'
|
||||||
|
#alias -g N='&>/dev/null'
|
||||||
|
#alias -g R='| tr A-z N-za-m'
|
||||||
|
#alias -g SL='| sort | less'
|
||||||
|
#alias -g S='| sort'
|
||||||
|
#alias -g T='|tail'
|
||||||
|
#alias -g TS='|ts "%F %H:%M:%.S"'
|
||||||
|
#alias -g V='| vim -'
|
||||||
|
|
||||||
|
## instead of global aliase it might be better to use grmls $abk assoc array, whose contents are expanded after pressing ,.
|
||||||
|
#$abk[SnL]="| sort -n | less"
|
||||||
|
|
||||||
|
## get top 10 shell commands:
|
||||||
|
#alias top10='print -l ${(o)history%% *} | uniq -c | sort -nr | head -n 10'
|
||||||
|
|
||||||
|
## Execute \kbd{./configure}
|
||||||
|
#alias CO="./configure"
|
||||||
|
|
||||||
|
## Execute \kbd{./configure --help}
|
||||||
|
#alias CH="./configure --help"
|
||||||
|
|
||||||
|
## miscellaneous code ##
|
||||||
|
|
||||||
|
## Use a default width of 80 for manpages for more convenient reading
|
||||||
|
#export MANWIDTH=${MANWIDTH:-80}
|
||||||
|
|
||||||
|
## Set a search path for the cd builtin
|
||||||
|
#cdpath=(.. ~)
|
||||||
|
|
||||||
|
## variation of our manzsh() function; pick you poison:
|
||||||
|
#manzsh() { /usr/bin/man zshall | most +/"$1" ; }
|
||||||
|
|
||||||
|
## Switching shell safely and efficiently? http://www.zsh.org/mla/workers/2001/msg02410.html
|
||||||
|
#bash() {
|
||||||
|
# NO_SWITCH="yes" command bash "$@"
|
||||||
|
#}
|
||||||
|
#restart () {
|
||||||
|
# exec $SHELL $SHELL_ARGS "$@"
|
||||||
|
#}
|
||||||
|
|
||||||
|
## Handy functions for use with the (e::) globbing qualifier (like nt)
|
||||||
|
#contains() { grep -q "$*" $REPLY }
|
||||||
|
#sameas() { diff -q "$*" $REPLY &>/dev/null }
|
||||||
|
#ot () { [[ $REPLY -ot ${~1} ]] }
|
||||||
|
|
||||||
|
## get_ic() - queries imap servers for capabilities; real simple. no imaps
|
||||||
|
#ic_get() {
|
||||||
|
# emulate -L zsh
|
||||||
|
# local port
|
||||||
|
# if [[ ! -z $1 ]] ; then
|
||||||
|
# port=${2:-143}
|
||||||
|
# print "querying imap server on $1:${port}...\n";
|
||||||
|
# print "a1 capability\na2 logout\n" | nc $1 ${port}
|
||||||
|
# else
|
||||||
|
# print "usage:\n $0 <imap-server> [port]"
|
||||||
|
# fi
|
||||||
|
#}
|
||||||
|
|
||||||
|
## List all occurrences of programm in current PATH
|
||||||
|
#plap() {
|
||||||
|
# emulate -L zsh
|
||||||
|
# if [[ $# = 0 ]] ; then
|
||||||
|
# echo "Usage: $0 program"
|
||||||
|
# echo "Example: $0 zsh"
|
||||||
|
# echo "Lists all occurrences of program in the current PATH."
|
||||||
|
# else
|
||||||
|
# ls -l ${^path}/*$1*(*N)
|
||||||
|
# fi
|
||||||
|
#}
|
||||||
|
|
||||||
|
## Find out which libs define a symbol
|
||||||
|
#lcheck() {
|
||||||
|
# if [[ -n "$1" ]] ; then
|
||||||
|
# nm -go /usr/lib/lib*.a 2>/dev/null | grep ":[[:xdigit:]]\{8\} . .*$1"
|
||||||
|
# else
|
||||||
|
# echo "Usage: lcheck <function>" >&2
|
||||||
|
# fi
|
||||||
|
#}
|
||||||
|
|
||||||
|
## Download a file and display it locally
|
||||||
|
#uopen() {
|
||||||
|
# emulate -L zsh
|
||||||
|
# if ! [[ -n "$1" ]] ; then
|
||||||
|
# print "Usage: uopen \$URL/\$file">&2
|
||||||
|
# return 1
|
||||||
|
# else
|
||||||
|
# FILE=$1
|
||||||
|
# MIME=$(curl --head $FILE | \
|
||||||
|
# grep Content-Type | \
|
||||||
|
# cut -d ' ' -f 2 | \
|
||||||
|
# cut -d\; -f 1)
|
||||||
|
# MIME=${MIME%$'\r'}
|
||||||
|
# curl $FILE | see ${MIME}:-
|
||||||
|
# fi
|
||||||
|
#}
|
||||||
|
|
||||||
|
## Memory overview
|
||||||
|
#memusage() {
|
||||||
|
# ps aux | awk '{if (NR > 1) print $5;
|
||||||
|
# if (NR > 2) print "+"}
|
||||||
|
# END { print "p" }' | dc
|
||||||
|
#}
|
||||||
|
|
||||||
|
## print hex value of a number
|
||||||
|
#hex() {
|
||||||
|
# emulate -L zsh
|
||||||
|
# if [[ -n "$1" ]]; then
|
||||||
|
# printf "%x\n" $1
|
||||||
|
# else
|
||||||
|
# print 'Usage: hex <number-to-convert>'
|
||||||
|
# return 1
|
||||||
|
# fi
|
||||||
|
#}
|
||||||
|
|
||||||
|
## log out? set timeout in seconds...
|
||||||
|
## ...and do not log out in some specific terminals:
|
||||||
|
#if [[ "${TERM}" == ([Exa]term*|rxvt|dtterm|screen*) ]] ; then
|
||||||
|
# unset TMOUT
|
||||||
|
#else
|
||||||
|
# TMOUT=1800
|
||||||
|
#fi
|
||||||
|
|
||||||
|
## associate types and extensions (be aware with perl scripts and anwanted behaviour!)
|
||||||
|
#check_com zsh-mime-setup || { autoload zsh-mime-setup && zsh-mime-setup }
|
||||||
|
#alias -s pl='perl -S'
|
||||||
|
|
||||||
|
## ctrl-s will no longer freeze the terminal.
|
||||||
|
#stty erase "^?"
|
||||||
|
|
||||||
|
## you want to automatically use a bigger font on big terminals?
|
||||||
|
#if [[ "$TERM" == "xterm" ]] && [[ "$LINES" -ge 50 ]] && [[ "$COLUMNS" -ge 100 ]] && [[ -z "$SSH_CONNECTION" ]] ; then
|
||||||
|
# large
|
||||||
|
#fi
|
||||||
|
|
||||||
|
## Some quick Perl-hacks aka /useful/ oneliner
|
||||||
|
#bew() { perl -le 'print unpack "B*","'$1'"' }
|
||||||
|
#web() { perl -le 'print pack "B*","'$1'"' }
|
||||||
|
#hew() { perl -le 'print unpack "H*","'$1'"' }
|
||||||
|
#weh() { perl -le 'print pack "H*","'$1'"' }
|
||||||
|
#pversion() { perl -M$1 -le "print $1->VERSION" } # i. e."pversion LWP -> 5.79"
|
||||||
|
#getlinks () { perl -ne 'while ( m/"((www|ftp|http):\/\/.*?)"/gc ) { print $1, "\n"; }' $* }
|
||||||
|
#gethrefs () { perl -ne 'while ( m/href="([^"]*)"/gc ) { print $1, "\n"; }' $* }
|
||||||
|
#getanames () { perl -ne 'while ( m/a name="([^"]*)"/gc ) { print $1, "\n"; }' $* }
|
||||||
|
#getforms () { perl -ne 'while ( m:(\</?(input|form|select|option).*?\>):gic ) { print $1, "\n"; }' $* }
|
||||||
|
#getstrings () { perl -ne 'while ( m/"(.*?)"/gc ) { print $1, "\n"; }' $*}
|
||||||
|
#getanchors () { perl -ne 'while ( m/«([^«»\n]+)»/gc ) { print $1, "\n"; }' $* }
|
||||||
|
#showINC () { perl -e 'for (@INC) { printf "%d %s\n", $i++, $_ }' }
|
||||||
|
#vimpm () { vim `perldoc -l $1 | sed -e 's/pod$/pm/'` }
|
||||||
|
#vimhelp () { vim -c "help $1" -c on -c "au! VimEnter *" }
|
||||||
|
|
||||||
|
## END OF FILE #################################################################
|
||||||
|
|
||||||
|
# ═══════════════════════════════════════════════════════════════
|
||||||
|
# 💜 THÈME VIOLET « KALI-STYLE » — chargé en DERNIER pour que le
|
||||||
|
# prompt remplace celui de grml. Édite plutôt :
|
||||||
|
# ~/.config/zsh/kali-violet.zshrc
|
||||||
|
# ═══════════════════════════════════════════════════════════════
|
||||||
|
[[ -f "$HOME/.config/zsh/kali-violet.zshrc" ]] && source "$HOME/.config/zsh/kali-violet.zshrc"
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# ╔══════════════════════════════════════════════════════════════╗
|
||||||
|
# ║ 💜 Installation du thème GRUB violet + hyprpaper ║
|
||||||
|
# ║ À lancer ainsi : sudo bash ~/grub-violet-theme/install-violet.sh ║
|
||||||
|
# ╚══════════════════════════════════════════════════════════════╝
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
if [[ $EUID -ne 0 ]]; then
|
||||||
|
echo "À lancer avec sudo : sudo bash $0"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
THEME_SRC="/home/damien/grub-violet-theme/violet"
|
||||||
|
THEME_DST="/boot/grub/themes/violet"
|
||||||
|
GRUB_DEFAULT="/etc/default/grub"
|
||||||
|
|
||||||
|
echo "💜 Installation du thème GRUB violet..."
|
||||||
|
|
||||||
|
# ── 1. hyprpaper (fond d'écran Hyprland) s'il manque ───────
|
||||||
|
if ! command -v hyprpaper >/dev/null 2>&1; then
|
||||||
|
echo "→ installation de hyprpaper..."
|
||||||
|
pacman -S --needed --noconfirm hyprpaper
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ── 2. Copie du thème dans /boot ───────────────────────────
|
||||||
|
echo "→ copie du thème dans $THEME_DST ..."
|
||||||
|
mkdir -p /boot/grub/themes
|
||||||
|
rm -rf "$THEME_DST"
|
||||||
|
cp -r "$THEME_SRC" "$THEME_DST"
|
||||||
|
|
||||||
|
# ── 3. Déclaration du thème dans /etc/default/grub ─────────
|
||||||
|
echo "→ configuration de /etc/default/grub ..."
|
||||||
|
sed -i 's|^GRUB_THEME=.*|GRUB_THEME="/boot/grub/themes/violet/theme.txt"|' "$GRUB_DEFAULT" || true
|
||||||
|
grep -q '^GRUB_THEME=' "$GRUB_DEFAULT" || {
|
||||||
|
echo '' >> "$GRUB_DEFAULT"
|
||||||
|
echo '# Thème violet (généré automatiquement)' >> "$GRUB_DEFAULT"
|
||||||
|
echo 'GRUB_THEME="/boot/grub/themes/violet/theme.txt"' >> "$GRUB_DEFAULT"
|
||||||
|
}
|
||||||
|
grep -q '^GRUB_GFXMODE=' "$GRUB_DEFAULT" || {
|
||||||
|
echo 'GRUB_GFXMODE=1920x1080,auto' >> "$GRUB_DEFAULT"
|
||||||
|
}
|
||||||
|
|
||||||
|
# ── 4. Régénération de grub.cfg ────────────────────────────
|
||||||
|
echo "→ régénération de grub.cfg ..."
|
||||||
|
grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "✔ Thème GRUB violet installé ! Redémarre pour le voir 💜"
|
||||||
|
echo " (le fond d'écran Hyprland prendra effet aussi à la prochaine session)"
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
/* FWS — style wofi (menu d'applications Super+R, menu d'alimentation
|
||||||
|
Super+X). Édition VIOLETTE 💜, assorti à la barre Waybar :
|
||||||
|
fond #29242e · lavande #c3b6f6 · mauve #cba6f7 · texte #fafafa */
|
||||||
|
|
||||||
|
window {
|
||||||
|
background-color: rgba(41, 36, 46, 0.96); /* fond image #29242e */
|
||||||
|
border: 2px solid #cba6f7;
|
||||||
|
border-radius: 14px;
|
||||||
|
font-family: "Noto Sans", sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input {
|
||||||
|
background-color: #1f1a2e; /* fond profond */
|
||||||
|
color: #fafafa;
|
||||||
|
border: none;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin: 12px;
|
||||||
|
padding: 8px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input image { color: #c3b6f6; }
|
||||||
|
|
||||||
|
#inner-box {
|
||||||
|
margin: 0 8px 8px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry {
|
||||||
|
padding: 8px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
color: #fafafa;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected {
|
||||||
|
background-color: #cba6f7; /* mauve */
|
||||||
|
color: #1f1a2e;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected #text { color: #1f1a2e; }
|
||||||
|
|
||||||
|
#text {
|
||||||
|
margin-left: 8px;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
@@ -70,6 +70,9 @@ misc {
|
|||||||
exec-once = hyprpaper
|
exec-once = hyprpaper
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
exec-once = mako
|
exec-once = mako
|
||||||
|
# playerctld suit le LECTEUR ACTIF : sans lui, les modules média de la barre
|
||||||
|
# resteraient collés au premier lecteur ouvert (Spotify pendant que mpv joue).
|
||||||
|
exec-once = playerctld daemon
|
||||||
exec-once = nm-applet
|
exec-once = nm-applet
|
||||||
# Applet Bluetooth : seulement si un adaptateur existe (en VM il n'y en a
|
# Applet Bluetooth : seulement si un adaptateur existe (en VM il n'y en a
|
||||||
# pas → blueman afficherait une erreur « Connection to BlueZ failed »).
|
# pas → blueman afficherait une erreur « Connection to BlueZ failed »).
|
||||||
@@ -88,6 +91,9 @@ bindd = $mod, E, Gestionnaire de fichiers, exec, dolphin
|
|||||||
bindd = $mod, B, Ouvrir Firefox, exec, firefox
|
bindd = $mod, B, Ouvrir Firefox, exec, firefox
|
||||||
bindd = $mod, K, Afficher les raccourcis clavier, exec, fws-keys
|
bindd = $mod, K, Afficher les raccourcis clavier, exec, fws-keys
|
||||||
bindd = $mod, X, Menu d'alimentation (arrêt/redémarrage…), exec, fws-powermenu
|
bindd = $mod, X, Menu d'alimentation (arrêt/redémarrage…), exec, fws-powermenu
|
||||||
|
# Panneau multimédia : pochette, position déplaçable, lecture/pause, pistes.
|
||||||
|
# Même fenêtre que le clic sur la barre (script partagé avec Waybar).
|
||||||
|
bindd = $mod, M, Panneau multimédia (lecture en cours), exec, $HOME/.config/waybar/scripts/media-panel
|
||||||
|
|
||||||
# --- Fenêtres ---------------------------------------------------------------
|
# --- Fenêtres ---------------------------------------------------------------
|
||||||
bindd = $mod, Q, Fermer la fenêtre, killactive,
|
bindd = $mod, Q, Fermer la fenêtre, killactive,
|
||||||
@@ -182,3 +188,8 @@ windowrule = float on, match:class ^([Ff]ws-hello)$
|
|||||||
windowrule = float on, match:class ^([Ff]ws-about)$
|
windowrule = float on, match:class ^([Ff]ws-about)$
|
||||||
windowrule = float on, match:class ^([Ff]ws-bugreport)$
|
windowrule = float on, match:class ^([Ff]ws-bugreport)$
|
||||||
windowrule = float on, match:title ^(Picture-in-Picture)$
|
windowrule = float on, match:title ^(Picture-in-Picture)$
|
||||||
|
# Panneau multimédia (script media-panel) : flottant, à sa taille, au-dessus.
|
||||||
|
# La classe vient de l'identifiant d'application « fws.media » du script ;
|
||||||
|
# le point est écrit [.] pour rester valable quel que soit le moteur de regex.
|
||||||
|
windowrule = float on, match:class ^(fws[.]media)$
|
||||||
|
windowrule = size 460 214, match:class ^(fws[.]media)$
|
||||||
@@ -0,0 +1,187 @@
|
|||||||
|
-- 💜 FWS — configuration Hyprland (format Lua, Hyprland ≥ 0.56).
|
||||||
|
-- Depuis Hyprland 0.57, le format lu est hyprland.lua : si ce fichier existe,
|
||||||
|
-- hyprland.conf est ignoré. Même contenu, mêmes raccourcis, mêmes couleurs.
|
||||||
|
-- Raccourcis : transposition de la config i3/sway FWS (mêmes touches).
|
||||||
|
-- ⚠ Pas de virgule dans les descriptions (séparateur de champs Hyprland).
|
||||||
|
|
||||||
|
local mod = "SUPER"
|
||||||
|
|
||||||
|
---------------------
|
||||||
|
---- MONITEURS ----
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = 1 })
|
||||||
|
|
||||||
|
--------------------------
|
||||||
|
---- RÉGLAGES GÉNÉRAUX ----
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
hl.config({
|
||||||
|
input = {
|
||||||
|
kb_layout = "ch",
|
||||||
|
kb_variant = "fr",
|
||||||
|
follow_mouse = 1,
|
||||||
|
numlock_by_default = true,
|
||||||
|
touchpad = {
|
||||||
|
natural_scroll = true,
|
||||||
|
tap_to_click = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
general = {
|
||||||
|
gaps_in = 4,
|
||||||
|
gaps_out = 8,
|
||||||
|
border_size = 2,
|
||||||
|
-- Palette de l'image : mauve #cba6f7 → lavande #c3b6f6 en dégradé.
|
||||||
|
col = {
|
||||||
|
active_border = { colors = { "rgba(cba6f7ff)", "rgba(c3b6f6ff)" }, angle = 45 },
|
||||||
|
inactive_border = "rgba(313244ff)",
|
||||||
|
},
|
||||||
|
layout = "dwindle",
|
||||||
|
},
|
||||||
|
|
||||||
|
decoration = {
|
||||||
|
rounding = 8,
|
||||||
|
-- Flou et ombres COUPÉS : rendu logiciel (llvmpipe) en VM.
|
||||||
|
-- Sur un vrai GPU : enabled = true.
|
||||||
|
blur = { enabled = false },
|
||||||
|
shadow = { enabled = false },
|
||||||
|
},
|
||||||
|
|
||||||
|
animations = { enabled = true },
|
||||||
|
|
||||||
|
misc = {
|
||||||
|
disable_hyprland_logo = true,
|
||||||
|
disable_splash_rendering = true, -- pas de « Thanks xxx! » en bas d'écran
|
||||||
|
force_default_wallpaper = 0,
|
||||||
|
background_color = "rgba(1f1a2eff)", -- violet profond
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Courbes et animations (équivalent de « bezier = fws, 0.22, 1.0, 0.36, 1.0 »)
|
||||||
|
hl.curve("fws", { type = "bezier", points = { { 0.22, 1.0 }, { 0.36, 1.0 } } })
|
||||||
|
hl.animation({ leaf = "windows", enabled = true, speed = 3, bezier = "fws" })
|
||||||
|
hl.animation({ leaf = "workspaces", enabled = true, speed = 3, bezier = "fws" })
|
||||||
|
hl.animation({ leaf = "fade", enabled = true, speed = 2, bezier = "default" })
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
---- DÉMARRAGE ----
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
-- Barre d'état, notifications, réseau dans le tray, agent d'authentification
|
||||||
|
-- GUI (indispensable aux apps qui demandent les droits admin), fond d'écran.
|
||||||
|
hl.on("hyprland.start", function()
|
||||||
|
hl.exec_cmd("hyprpaper")
|
||||||
|
hl.exec_cmd("waybar")
|
||||||
|
hl.exec_cmd("mako")
|
||||||
|
-- playerctld suit le LECTEUR ACTIF (les modules média restent à jour).
|
||||||
|
hl.exec_cmd("playerctld daemon")
|
||||||
|
hl.exec_cmd("nm-applet")
|
||||||
|
-- Applet Bluetooth : seulement si un adaptateur existe (en VM il n'y en a
|
||||||
|
-- pas → blueman afficherait « Connection to BlueZ failed »).
|
||||||
|
hl.exec_cmd('sh -c \'[ -n "$(ls -A /sys/class/bluetooth 2>/dev/null)" ] && exec blueman-applet\'')
|
||||||
|
hl.exec_cmd("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1")
|
||||||
|
-- Fenêtre de bienvenue (1er démarrage seulement — se retire ensuite).
|
||||||
|
hl.exec_cmd("fws-hello --autostart")
|
||||||
|
end)
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
---- RACCOURCIS ----
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
-- Applications
|
||||||
|
hl.bind(mod .. " + Return", hl.dsp.exec_cmd("kitty"), { description = "Ouvrir un terminal (kitty)" })
|
||||||
|
hl.bind(mod .. " + SHIFT + Return", hl.dsp.exec_cmd("kitty --class floating-term"), { description = "Terminal flottant" })
|
||||||
|
hl.bind(mod .. " + R", hl.dsp.exec_cmd("wofi --show drun"), { description = "Menu des applications" })
|
||||||
|
hl.bind(mod .. " + E", hl.dsp.exec_cmd("dolphin"), { description = "Gestionnaire de fichiers" })
|
||||||
|
hl.bind(mod .. " + B", hl.dsp.exec_cmd("firefox"), { description = "Ouvrir Firefox" })
|
||||||
|
hl.bind(mod .. " + K", hl.dsp.exec_cmd("fws-keys"), { description = "Afficher les raccourcis clavier" })
|
||||||
|
hl.bind(mod .. " + X", hl.dsp.exec_cmd("fws-powermenu"), { description = "Menu d'alimentation (arrêt/redémarrage…)" })
|
||||||
|
-- Panneau multimédia (même fenêtre que le clic sur la pochette de la barre).
|
||||||
|
hl.bind(mod .. " + M", hl.dsp.exec_cmd(os.getenv("HOME") .. "/.config/waybar/scripts/media-panel"),
|
||||||
|
{ description = "Panneau multimédia (lecture en cours)" })
|
||||||
|
|
||||||
|
-- Fenêtres
|
||||||
|
hl.bind(mod .. " + Q", hl.dsp.window.close(), { description = "Fermer la fenêtre" })
|
||||||
|
hl.bind(mod .. " + V", hl.dsp.window.float({ action = "toggle" }), { description = "Fenêtre flottante ou ancrée" })
|
||||||
|
hl.bind(mod .. " + F", hl.dsp.window.fullscreen({ mode = "fullscreen", action = "toggle" }), { description = "Plein écran" })
|
||||||
|
hl.bind(mod .. " + J", hl.dsp.layout("togglesplit"), { description = "Basculer la découpe horizontale/verticale" })
|
||||||
|
hl.bind(mod .. " + L", hl.dsp.exec_cmd("hyprlock"), { description = "Verrouiller l'écran" })
|
||||||
|
hl.bind(mod .. " + SHIFT + E", hl.dsp.exit(), { description = "Quitter la session (retour à SDDM)" })
|
||||||
|
hl.bind(mod .. " + SHIFT + C", hl.dsp.reload_config(), { description = "Recharger la configuration Hyprland" })
|
||||||
|
|
||||||
|
-- Focus (flèches)
|
||||||
|
hl.bind(mod .. " + left", hl.dsp.focus({ direction = "left" }), { description = "Focus à gauche" })
|
||||||
|
hl.bind(mod .. " + right", hl.dsp.focus({ direction = "right" }), { description = "Focus à droite" })
|
||||||
|
hl.bind(mod .. " + up", hl.dsp.focus({ direction = "up" }), { description = "Focus en haut" })
|
||||||
|
hl.bind(mod .. " + down", hl.dsp.focus({ direction = "down" }), { description = "Focus en bas" })
|
||||||
|
|
||||||
|
-- Déplacer la fenêtre (Maj + flèches)
|
||||||
|
hl.bind(mod .. " + SHIFT + left", hl.dsp.window.move({ direction = "left" }), { description = "Déplacer la fenêtre à gauche" })
|
||||||
|
hl.bind(mod .. " + SHIFT + right", hl.dsp.window.move({ direction = "right" }), { description = "Déplacer la fenêtre à droite" })
|
||||||
|
hl.bind(mod .. " + SHIFT + up", hl.dsp.window.move({ direction = "up" }), { description = "Déplacer la fenêtre en haut" })
|
||||||
|
hl.bind(mod .. " + SHIFT + down", hl.dsp.window.move({ direction = "down" }), { description = "Déplacer la fenêtre en bas" })
|
||||||
|
|
||||||
|
-- Redimensionner (Ctrl + flèches, maintien possible)
|
||||||
|
hl.bind(mod .. " + CTRL + left", hl.dsp.window.resize({ x = -30, y = 0 }), { repeating = true })
|
||||||
|
hl.bind(mod .. " + CTRL + right", hl.dsp.window.resize({ x = 30, y = 0 }), { repeating = true })
|
||||||
|
hl.bind(mod .. " + CTRL + up", hl.dsp.window.resize({ x = 0, y = -30 }), { repeating = true })
|
||||||
|
hl.bind(mod .. " + CTRL + down", hl.dsp.window.resize({ x = 0, y = 30 }), { repeating = true })
|
||||||
|
|
||||||
|
-- Espaces de travail 1-10 (0 = espace 10, comme i3)
|
||||||
|
for i = 1, 10 do
|
||||||
|
local key = i % 10
|
||||||
|
hl.bind(mod .. " + " .. key, hl.dsp.focus({ workspace = i }), { description = "Aller à l'espace " .. i })
|
||||||
|
hl.bind(mod .. " + SHIFT + " .. key, hl.dsp.window.move({ workspace = i }), { description = "Envoyer la fenêtre vers l'espace " .. i })
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Multi-écrans (comme i3 : Super+Ctrl+1/2 = écran gauche/droit)
|
||||||
|
hl.bind(mod .. " + CTRL + 1", hl.dsp.window.move({ monitor = "l" }), { description = "Envoyer la fenêtre vers l'écran de gauche" })
|
||||||
|
hl.bind(mod .. " + CTRL + 2", hl.dsp.window.move({ monitor = "r" }), { description = "Envoyer la fenêtre vers l'écran de droite" })
|
||||||
|
|
||||||
|
-- Molette = changer d'espace de travail
|
||||||
|
hl.bind(mod .. " + mouse_up", hl.dsp.focus({ workspace = "e-1" }), { description = "Espace de travail précédent" })
|
||||||
|
hl.bind(mod .. " + mouse_down", hl.dsp.focus({ workspace = "e+1" }), { description = "Espace de travail suivant" })
|
||||||
|
|
||||||
|
-- Scratchpad (espace spécial)
|
||||||
|
hl.bind(mod .. " + S", hl.dsp.workspace.toggle_special("magic"), { description = "Afficher le scratchpad" })
|
||||||
|
hl.bind(mod .. " + SHIFT + S", hl.dsp.window.move({ workspace = "special:magic" }), { description = "Envoyer la fenêtre au scratchpad" })
|
||||||
|
|
||||||
|
-- Captures d'écran (grim/slurp → presse-papier ou ~/Images)
|
||||||
|
hl.bind("Print", hl.dsp.exec_cmd("grim - | wl-copy"),
|
||||||
|
{ description = "Capture plein écran vers le presse-papier" })
|
||||||
|
hl.bind(mod .. " + Print", hl.dsp.exec_cmd('grim -g "$(slurp)" - | wl-copy'),
|
||||||
|
{ description = "Capture d'une zone vers le presse-papier" })
|
||||||
|
hl.bind(mod .. " + SHIFT + Print",
|
||||||
|
hl.dsp.exec_cmd('sh -c \'mkdir -p ~/Images && grim -g "$(slurp)" ~/Images/capture_$(date +%Y-%m-%d_%H-%M-%S).png\''),
|
||||||
|
{ description = "Capture d'une zone vers ~/Images" })
|
||||||
|
|
||||||
|
-- Multimédia (touches XF86 : volume via PipeWire, lecture via playerctl)
|
||||||
|
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"), { locked = true, repeating = true })
|
||||||
|
hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"), { locked = true, repeating = true })
|
||||||
|
hl.bind("XF86AudioMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"), { locked = true })
|
||||||
|
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
|
||||||
|
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
|
||||||
|
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
|
||||||
|
|
||||||
|
-- Luminosité de l'écran (portables : touches Fn)
|
||||||
|
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("fws-brightness up"), { locked = true, repeating = true })
|
||||||
|
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("fws-brightness down"), { locked = true, repeating = true })
|
||||||
|
|
||||||
|
-- Souris : déplacer / redimensionner les fenêtres
|
||||||
|
hl.bind(mod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })
|
||||||
|
hl.bind(mod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true })
|
||||||
|
|
||||||
|
--------------------------
|
||||||
|
---- RÈGLES DE FENÊTRE ---
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
hl.window_rule({ name = "floating-term", match = { class = "^(floating-term)$" }, float = true, size = "900 550" })
|
||||||
|
hl.window_rule({ name = "pavucontrol", match = { class = "^([Pp]avucontrol|org.pulseaudio.pavucontrol)$" }, float = true })
|
||||||
|
hl.window_rule({ name = "blueman", match = { class = "^([Bb]lueman-manager.*)$" }, float = true })
|
||||||
|
hl.window_rule({ name = "fws-hello", match = { class = "^([Ff]ws-hello)$" }, float = true })
|
||||||
|
hl.window_rule({ name = "fws-about", match = { class = "^([Ff]ws-about)$" }, float = true })
|
||||||
|
hl.window_rule({ name = "fws-bugreport", match = { class = "^([Ff]ws-bugreport)$" }, float = true })
|
||||||
|
hl.window_rule({ name = "pip", match = { title = "^(Picture-in-Picture)$" }, float = true })
|
||||||
|
-- Panneau multimédia (script media-panel) : flottant, à sa taille, au-dessus.
|
||||||
|
hl.window_rule({ name = "fws-media", match = { class = "^(fws[.]media)$" }, float = true, size = "460 214" })
|
||||||
@@ -4,11 +4,12 @@
|
|||||||
# ║ ║
|
# ║ ║
|
||||||
# ║ Usage : ║
|
# ║ Usage : ║
|
||||||
# ║ ./install.sh configs utilisateur (Hypr, ║
|
# ║ ./install.sh configs utilisateur (Hypr, ║
|
||||||
# ║ Waybar, wofi, kitty, btop, ║
|
# ║ Waybar, mako, wofi, kitty, ║
|
||||||
# ║ GTK, zsh, fond d'écran) ║
|
# ║ btop, GTK, zsh, fond d'écran)║
|
||||||
# ║ ./install.sh --bash + prompt bash dans ~/.bashrc ║
|
# ║ ./install.sh --bash + prompt bash dans ~/.bashrc ║
|
||||||
# ║ ./install.sh --grub + thème GRUB (demande sudo) ║
|
# ║ ./install.sh --grub + thème GRUB (demande sudo) ║
|
||||||
# ║ ./install.sh --sddm + thème SDDM (demande sudo) ║
|
# ║ ./install.sh --sddm + thème SDDM (demande sudo) ║
|
||||||
|
# ║ ./install.sh --system + fichiers système (sudo) ║
|
||||||
# ║ ./install.sh --install-deps + paquets manquants (pacman) ║
|
# ║ ./install.sh --install-deps + paquets manquants (pacman) ║
|
||||||
# ║ ./install.sh --all tout ce qui précède ║
|
# ║ ./install.sh --all tout ce qui précède ║
|
||||||
# ║ ║
|
# ║ ║
|
||||||
@@ -23,6 +24,7 @@ HOME_DIR="${HOME:-$HOME}"
|
|||||||
DO_BASH=false
|
DO_BASH=false
|
||||||
DO_GRUB=false
|
DO_GRUB=false
|
||||||
DO_SDDM=false
|
DO_SDDM=false
|
||||||
|
DO_SYSTEM=false
|
||||||
DO_DEPS=false
|
DO_DEPS=false
|
||||||
|
|
||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
@@ -30,8 +32,9 @@ for arg in "$@"; do
|
|||||||
--bash) DO_BASH=true ;;
|
--bash) DO_BASH=true ;;
|
||||||
--grub) DO_GRUB=true ;;
|
--grub) DO_GRUB=true ;;
|
||||||
--sddm) DO_SDDM=true ;;
|
--sddm) DO_SDDM=true ;;
|
||||||
|
--system) DO_SYSTEM=true ;;
|
||||||
--install-deps) DO_DEPS=true ;;
|
--install-deps) DO_DEPS=true ;;
|
||||||
--all) DO_BASH=true; DO_GRUB=true; DO_SDDM=true; DO_DEPS=true ;;
|
--all) DO_BASH=true; DO_GRUB=true; DO_SDDM=true; DO_SYSTEM=true; DO_DEPS=true ;;
|
||||||
*) echo "⚠ Option inconnue : $arg (voir l'en-tête du script)" ;;
|
*) echo "⚠ Option inconnue : $arg (voir l'en-tête du script)" ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@@ -80,6 +83,33 @@ install_dir() { # install_dir <src> <dst> [sed-remplacements...]
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ── Déploiement d'un sous-arbre de system/ vers la racine (sudo requis) ──
|
||||||
|
# sys_deploy <sous-arbre> <racine cible> [chemin relatif à ignorer]
|
||||||
|
# Recopie fichier par fichier : sauvegarde ce qui existe déjà au format
|
||||||
|
# <fichier>.bak-<date>, conserve le bit exécutable des scripts et remet la
|
||||||
|
# propriété à root (les fichiers du dépôt appartiennent à l'utilisateur).
|
||||||
|
sys_deploy() {
|
||||||
|
local src="$1" dest="$2" skip="${3:-}" n=0
|
||||||
|
[[ -d "$src" ]] || return 0
|
||||||
|
while IFS= read -r -d '' f; do
|
||||||
|
local rel="${f#$src/}"
|
||||||
|
# artefacts Python éventuels : jamais déployés
|
||||||
|
case "$rel" in
|
||||||
|
*/__pycache__/*|*.pyc) continue ;;
|
||||||
|
esac
|
||||||
|
if [[ -n "$skip" && "$rel" == "$skip" ]]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
local target="$dest/$rel"
|
||||||
|
if [[ -e "$target" ]] && ! cmp -s "$f" "$target"; then
|
||||||
|
$SUDO cp -a "$target" "$target.bak-$(date +%Y%m%d-%H%M%S)"
|
||||||
|
fi
|
||||||
|
$SUDO install -D -m "$(stat -c '%a' "$f")" -o root -g root "$f" "$target"
|
||||||
|
n=$((n + 1))
|
||||||
|
done < <(find "$src" -type f -print0)
|
||||||
|
say " → $dest ($n fichier(s))"
|
||||||
|
}
|
||||||
|
|
||||||
say "Installation du thème violet 💜"
|
say "Installation du thème violet 💜"
|
||||||
say "Source : $SRC_DIR"
|
say "Source : $SRC_DIR"
|
||||||
say "Cible : $HOME_DIR"
|
say "Cible : $HOME_DIR"
|
||||||
@@ -99,13 +129,17 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# ═══════════════════════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════════════════════
|
||||||
# 2. Hyprland (hyprland.conf, hyprlock, hyprpaper)
|
# 2. Hyprland (hyprland.lua, hyprland.conf, hyprlock, hyprpaper)
|
||||||
# ═══════════════════════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════════════════════
|
||||||
|
# Depuis Hyprland 0.57 la config est lue en Lua : un hyprland.lua présent
|
||||||
|
# prend le pas sur hyprland.conf. On installe les deux (le .conf reste la
|
||||||
|
# référence lisible, le .lua est celui qui s'applique).
|
||||||
HYPR_DST="$HOME_DIR/.config/hypr"
|
HYPR_DST="$HOME_DIR/.config/hypr"
|
||||||
for f in hyprland.conf hyprlock.conf hyprlock-violet.conf; do
|
for f in hyprland.lua hyprland.conf hyprlock.conf hyprlock-violet.conf; do
|
||||||
backup "$HYPR_DST/$f"
|
backup "$HYPR_DST/$f"
|
||||||
done
|
done
|
||||||
mkdir -p "$HYPR_DST"
|
mkdir -p "$HYPR_DST"
|
||||||
|
cp "$SRC_DIR/hypr/hyprland.lua" "$HYPR_DST/"
|
||||||
cp "$SRC_DIR/hypr/hyprland.conf" "$HYPR_DST/"
|
cp "$SRC_DIR/hypr/hyprland.conf" "$HYPR_DST/"
|
||||||
cp "$SRC_DIR/hypr/hyprlock.conf" "$HYPR_DST/"
|
cp "$SRC_DIR/hypr/hyprlock.conf" "$HYPR_DST/"
|
||||||
cp "$SRC_DIR/hypr/hyprlock-violet.conf" "$HYPR_DST/"
|
cp "$SRC_DIR/hypr/hyprlock-violet.conf" "$HYPR_DST/"
|
||||||
@@ -125,16 +159,31 @@ say "config Hyprland → $HYPR_DST"
|
|||||||
# 3. Waybar
|
# 3. Waybar
|
||||||
# ═══════════════════════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════════════════════
|
||||||
WAYBAR_DST="$HOME_DIR/.config/waybar"
|
WAYBAR_DST="$HOME_DIR/.config/waybar"
|
||||||
|
SCRIPTS_DST="$WAYBAR_DST/scripts"
|
||||||
|
LOGO_DST="$WAYBAR_DST/icons/logo.png"
|
||||||
backup "$WAYBAR_DST/config"
|
backup "$WAYBAR_DST/config"
|
||||||
backup "$WAYBAR_DST/style.css"
|
backup "$WAYBAR_DST/style.css"
|
||||||
backup "$WAYBAR_DST/icons/logo.png"
|
backup "$WAYBAR_DST/icons/logo.png"
|
||||||
mkdir -p "$WAYBAR_DST/icons"
|
mkdir -p "$WAYBAR_DST/icons" "$SCRIPTS_DST"
|
||||||
cp "$SRC_DIR/waybar/config" "$WAYBAR_DST/config"
|
# __WAYBAR_SCRIPTS__ = chemin ABSOLU : Waybar lance ses commandes sans passer
|
||||||
LOGO_DST="$WAYBAR_DST/icons/logo.png"
|
# par un shell, donc ni « ~ » ni « $HOME » n'y sont développés.
|
||||||
|
sed -e "s|__WAYBAR_SCRIPTS__|$SCRIPTS_DST|g" \
|
||||||
|
"$SRC_DIR/waybar/config" > "$WAYBAR_DST/config"
|
||||||
cp "$SRC_DIR/waybar/icons/logo.png" "$LOGO_DST"
|
cp "$SRC_DIR/waybar/icons/logo.png" "$LOGO_DST"
|
||||||
sed -e "s|__WAYBAR_LOGO__|$LOGO_DST|g" \
|
sed -e "s|__WAYBAR_LOGO__|$LOGO_DST|g" \
|
||||||
"$SRC_DIR/waybar/style.css" > "$WAYBAR_DST/style.css"
|
"$SRC_DIR/waybar/style.css" > "$WAYBAR_DST/style.css"
|
||||||
say "config Waybar → $WAYBAR_DST"
|
# Panneau multimédia + pochette : appelés par la barre et par SUPER+M.
|
||||||
|
install -m 755 "$SRC_DIR/waybar/scripts/media-cover" "$SCRIPTS_DST/media-cover"
|
||||||
|
install -m 755 "$SRC_DIR/waybar/scripts/media-panel" "$SCRIPTS_DST/media-panel"
|
||||||
|
say "config Waybar + scripts média → $WAYBAR_DST"
|
||||||
|
|
||||||
|
# ═══════════════════════════════════════════════════════════════════
|
||||||
|
# 3bis. Notifications (mako)
|
||||||
|
# ═══════════════════════════════════════════════════════════════════
|
||||||
|
MAKO_DST="$HOME_DIR/.config/mako"
|
||||||
|
backup "$MAKO_DST/config"
|
||||||
|
install_dir "$SRC_DIR/mako" "$MAKO_DST"
|
||||||
|
say "thème des notifications → $MAKO_DST/config"
|
||||||
|
|
||||||
# ═══════════════════════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════════════════════
|
||||||
# 4. wofi, kitty, btop, GTK
|
# 4. wofi, kitty, btop, GTK
|
||||||
@@ -248,11 +297,34 @@ if $DO_SDDM; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# ═══════════════════════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════════════════════
|
||||||
# 9. Dépendances (option --install-deps, paquets Arch)
|
# 9. Fichiers système (option --system, sudo requis)
|
||||||
|
# ═══════════════════════════════════════════════════════════════════
|
||||||
|
# Recopie l'arborescence system/ du dépôt vers la racine réelle : scripts FWS
|
||||||
|
# de /usr/local/bin (dont fws-powermenu), ressources de /usr/local/share/fws,
|
||||||
|
# thèmes GRUB de /boot, sessions Wayland, conf SDDM…
|
||||||
|
# /etc/default/grub est volontairement ignoré : c'est l'option --grub qui le
|
||||||
|
# gère, sinon le thème GRUB repasserait sur catppuccin au lieu de violet.
|
||||||
|
if $DO_SYSTEM; then
|
||||||
|
if [[ ! -d "$SRC_DIR/system" ]]; then
|
||||||
|
warn "dossier system/ introuvable — étape système ignorée"
|
||||||
|
else
|
||||||
|
SUDO=""
|
||||||
|
[[ $EUID -ne 0 ]] && SUDO="sudo"
|
||||||
|
say "copie des fichiers système (sudo requis)…"
|
||||||
|
warn "les fichiers remplacés sont conservés en <fichier>.bak-<date>"
|
||||||
|
sys_deploy "$SRC_DIR/system/usr" /usr
|
||||||
|
sys_deploy "$SRC_DIR/system/boot" /boot
|
||||||
|
sys_deploy "$SRC_DIR/system/etc" /etc default/grub
|
||||||
|
say "scripts et ressources FWS à jour dans /usr/local (dont fws-powermenu)"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ═══════════════════════════════════════════════════════════════════
|
||||||
|
# 10. Dépendances (option --install-deps, paquets Arch)
|
||||||
# ═══════════════════════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════════════════════
|
||||||
DEPS=(hyprland hyprlock hyprpaper waybar wofi kitty btop mako grim slurp wl-clipboard \
|
DEPS=(hyprland hyprlock hyprpaper waybar wofi kitty btop mako grim slurp wl-clipboard \
|
||||||
playerctl pavucontrol noto-fonts ttf-nerd-fonts-symbols network-manager-applet \
|
playerctl pavucontrol noto-fonts ttf-nerd-fonts-symbols network-manager-applet \
|
||||||
blueman polkit-gnome dolphin)
|
blueman polkit-gnome dolphin python-gobject gtk4 curl)
|
||||||
if $DO_DEPS; then
|
if $DO_DEPS; then
|
||||||
if command -v pacman >/dev/null 2>&1; then
|
if command -v pacman >/dev/null 2>&1; then
|
||||||
say "installation des dépendances (pacman)…"
|
say "installation des dépendances (pacman)…"
|
||||||
@@ -264,7 +336,7 @@ if $DO_DEPS; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# ═══════════════════════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════════════════════
|
||||||
# 10. Scripts FWS manquants (rappel)
|
# 11. Scripts FWS manquants (rappel)
|
||||||
# ═══════════════════════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════════════════════
|
||||||
MISSING=()
|
MISSING=()
|
||||||
for cmd in fws-powermenu fws-keys fws-updates-check fws-update fws-brightness fws-hello; do
|
for cmd in fws-powermenu fws-keys fws-updates-check fws-update fws-brightness fws-hello; do
|
||||||
@@ -285,6 +357,7 @@ echo
|
|||||||
say "✔ Terminé !"
|
say "✔ Terminé !"
|
||||||
say "Recharge Hyprland (SUPER+SHIFT+C ou hyprctl reload) et redémarre"
|
say "Recharge Hyprland (SUPER+SHIFT+C ou hyprctl reload) et redémarre"
|
||||||
say "waybar pour voir le thème : killall waybar ; waybar &"
|
say "waybar pour voir le thème : killall waybar ; waybar &"
|
||||||
|
say "notifications (mako déjà lancé) : makoctl reload"
|
||||||
if [[ -d "$BACKUP_DIR" ]]; then
|
if [[ -d "$BACKUP_DIR" ]]; then
|
||||||
say "Anciennes configs : ~/.violet-backup-*/ (supprimables quand tout va bien)"
|
say "Anciennes configs : ~/.violet-backup-*/ (supprimables quand tout va bien)"
|
||||||
fi
|
fi
|
||||||
@@ -0,0 +1,196 @@
|
|||||||
|
# FWS — configuration Hyprland par défaut.
|
||||||
|
# Le clavier (ch / fr) est injecté à l'installation,
|
||||||
|
# depuis le choix fait dans Anaconda. Édite ce fichier librement.
|
||||||
|
#
|
||||||
|
# Raccourcis : transposition de la config i3/sway FWS (mêmes touches).
|
||||||
|
# Couleurs : VIOLET — dégradé violet → lavande sur la fenêtre active.
|
||||||
|
# (Fond du bureau, hyprlock, waybar, wofi et kitty sont assortis 💜)
|
||||||
|
#
|
||||||
|
# Les raccourcis sont déclarés avec « bindd » (bind + description) : la
|
||||||
|
# description alimente l'écran « Raccourcis clavier » (bouton ⌨ de la barre
|
||||||
|
# ou SUPER+K → fws-keys, qui lit les binds RÉELS via hyprctl). Ajoute
|
||||||
|
# tes propres bindd : ils apparaîtront automatiquement dans la liste.
|
||||||
|
# ⚠ Pas de virgule dans les descriptions (séparateur de champs Hyprland).
|
||||||
|
|
||||||
|
monitor = , preferred, auto, 1
|
||||||
|
|
||||||
|
input {
|
||||||
|
kb_layout = ch
|
||||||
|
kb_variant = fr
|
||||||
|
follow_mouse = 1
|
||||||
|
numlock_by_default = true
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = true
|
||||||
|
tap-to-click = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
general {
|
||||||
|
gaps_in = 4
|
||||||
|
gaps_out = 8
|
||||||
|
border_size = 2
|
||||||
|
# Palette de l'image : mauve #cba6f7 → lavande #c3b6f6 en dégradé.
|
||||||
|
col.active_border = rgb(cba6f7) rgb(c3b6f6) 45deg
|
||||||
|
col.inactive_border = rgb(313244)
|
||||||
|
layout = dwindle
|
||||||
|
}
|
||||||
|
|
||||||
|
decoration {
|
||||||
|
rounding = 8
|
||||||
|
# Flou et ombres COUPÉS : rendu logiciel (llvmpipe) en VM — cf. le
|
||||||
|
# wrapper fws-hyprland écrit par l'installateur. Sur un vrai GPU tu
|
||||||
|
# peux les réactiver (enabled = true).
|
||||||
|
blur {
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
shadow {
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
bezier = fws, 0.22, 1.0, 0.36, 1.0
|
||||||
|
animation = windows, 1, 3, fws
|
||||||
|
animation = workspaces, 1, 3, fws
|
||||||
|
animation = fade, 1, 2, default
|
||||||
|
}
|
||||||
|
|
||||||
|
misc {
|
||||||
|
disable_hyprland_logo = true
|
||||||
|
disable_splash_rendering = true # pas de « Thanks xxx! » en bas d'écran
|
||||||
|
force_default_wallpaper = 0
|
||||||
|
background_color = 0x1f1a2e # violet profond (aucun fond requis)
|
||||||
|
}
|
||||||
|
|
||||||
|
# Démarrage de session : barre d'état, notifications, réseau dans le tray,
|
||||||
|
# agent d'authentification GUI (indispensable pour les apps qui demandent
|
||||||
|
# les droits admin : gestionnaire de disques, blueman…).
|
||||||
|
# Fond d'écran violet (hyprpaper — ne fait rien s'il n'est pas installé,
|
||||||
|
# le script ~/grub-violet-theme/install-violet.sh l'installe).
|
||||||
|
exec-once = hyprpaper
|
||||||
|
exec-once = waybar
|
||||||
|
exec-once = mako
|
||||||
|
# playerctld suit le LECTEUR ACTIF : sans lui, les modules média de la barre
|
||||||
|
# resteraient collés au premier lecteur ouvert (Spotify pendant que mpv joue).
|
||||||
|
exec-once = playerctld daemon
|
||||||
|
exec-once = nm-applet
|
||||||
|
# Applet Bluetooth : seulement si un adaptateur existe (en VM il n'y en a
|
||||||
|
# pas → blueman afficherait une erreur « Connection to BlueZ failed »).
|
||||||
|
exec-once = sh -c '[ -n "$(ls -A /sys/class/bluetooth 2>/dev/null)" ] && exec blueman-applet'
|
||||||
|
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
# Fenêtre de bienvenue (1er démarrage seulement — se retire ensuite).
|
||||||
|
exec-once = fws-hello --autostart
|
||||||
|
|
||||||
|
$mod = SUPER
|
||||||
|
|
||||||
|
# --- Applications ---------------------------------------------------------
|
||||||
|
bindd = $mod, Return, Ouvrir un terminal (kitty), exec, kitty
|
||||||
|
bindd = $mod SHIFT, Return, Terminal flottant, exec, kitty --class floating-term
|
||||||
|
bindd = $mod, R, Menu des applications, exec, wofi --show drun
|
||||||
|
bindd = $mod, E, Gestionnaire de fichiers, exec, dolphin
|
||||||
|
bindd = $mod, B, Ouvrir Firefox, exec, firefox
|
||||||
|
bindd = $mod, K, Afficher les raccourcis clavier, exec, fws-keys
|
||||||
|
bindd = $mod, X, Menu d'alimentation (arrêt/redémarrage…), exec, fws-powermenu
|
||||||
|
# Panneau multimédia : pochette, position déplaçable, lecture/pause, pistes.
|
||||||
|
# Même fenêtre que le clic sur la barre (script partagé avec Waybar).
|
||||||
|
bindd = $mod, M, Panneau multimédia (lecture en cours), exec, $HOME/.config/waybar/scripts/media-panel
|
||||||
|
|
||||||
|
# --- Fenêtres ---------------------------------------------------------------
|
||||||
|
bindd = $mod, Q, Fermer la fenêtre, killactive,
|
||||||
|
bindd = $mod, V, Fenêtre flottante ou ancrée, togglefloating,
|
||||||
|
bindd = $mod, F, Plein écran, fullscreen,
|
||||||
|
bindd = $mod, J, Basculer la découpe horizontale/verticale, layoutmsg, togglesplit
|
||||||
|
bindd = $mod, L, Verrouiller l'écran, exec, hyprlock
|
||||||
|
bindd = $mod SHIFT, E, Quitter la session (retour à SDDM), exit,
|
||||||
|
bindd = $mod SHIFT, C, Recharger la configuration Hyprland, exec, hyprctl reload
|
||||||
|
|
||||||
|
# --- Focus (flèches) ---------------------------------------------------------
|
||||||
|
bindd = $mod, left, Focus à gauche, movefocus, l
|
||||||
|
bindd = $mod, right, Focus à droite, movefocus, r
|
||||||
|
bindd = $mod, up, Focus en haut, movefocus, u
|
||||||
|
bindd = $mod, down, Focus en bas, movefocus, d
|
||||||
|
|
||||||
|
# --- Déplacer la fenêtre (Maj + flèches) ---------------------------------------
|
||||||
|
bindd = $mod SHIFT, left, Déplacer la fenêtre à gauche, movewindow, l
|
||||||
|
bindd = $mod SHIFT, right, Déplacer la fenêtre à droite, movewindow, r
|
||||||
|
bindd = $mod SHIFT, up, Déplacer la fenêtre en haut, movewindow, u
|
||||||
|
bindd = $mod SHIFT, down, Déplacer la fenêtre en bas, movewindow, d
|
||||||
|
|
||||||
|
# --- Redimensionner (Ctrl + flèches, maintien possible) ------------------------
|
||||||
|
binde = $mod CTRL, left, resizeactive, -30 0
|
||||||
|
binde = $mod CTRL, right, resizeactive, 30 0
|
||||||
|
binde = $mod CTRL, up, resizeactive, 0 -30
|
||||||
|
binde = $mod CTRL, down, resizeactive, 0 30
|
||||||
|
|
||||||
|
# --- Espaces de travail 1-10 (0 = espace 10, comme i3) --------------------------
|
||||||
|
bindd = $mod, 1, Aller à l'espace 1, workspace, 1
|
||||||
|
bindd = $mod, 2, Aller à l'espace 2, workspace, 2
|
||||||
|
bindd = $mod, 3, Aller à l'espace 3, workspace, 3
|
||||||
|
bindd = $mod, 4, Aller à l'espace 4, workspace, 4
|
||||||
|
bindd = $mod, 5, Aller à l'espace 5, workspace, 5
|
||||||
|
bindd = $mod, 6, Aller à l'espace 6, workspace, 6
|
||||||
|
bindd = $mod, 7, Aller à l'espace 7, workspace, 7
|
||||||
|
bindd = $mod, 8, Aller à l'espace 8, workspace, 8
|
||||||
|
bindd = $mod, 9, Aller à l'espace 9, workspace, 9
|
||||||
|
bindd = $mod, 0, Aller à l'espace 10, workspace, 10
|
||||||
|
bindd = $mod SHIFT, 1, Envoyer la fenêtre vers l'espace 1, movetoworkspace, 1
|
||||||
|
bindd = $mod SHIFT, 2, Envoyer la fenêtre vers l'espace 2, movetoworkspace, 2
|
||||||
|
bindd = $mod SHIFT, 3, Envoyer la fenêtre vers l'espace 3, movetoworkspace, 3
|
||||||
|
bindd = $mod SHIFT, 4, Envoyer la fenêtre vers l'espace 4, movetoworkspace, 4
|
||||||
|
bindd = $mod SHIFT, 5, Envoyer la fenêtre vers l'espace 5, movetoworkspace, 5
|
||||||
|
bindd = $mod SHIFT, 6, Envoyer la fenêtre vers l'espace 6, movetoworkspace, 6
|
||||||
|
bindd = $mod SHIFT, 7, Envoyer la fenêtre vers l'espace 7, movetoworkspace, 7
|
||||||
|
bindd = $mod SHIFT, 8, Envoyer la fenêtre vers l'espace 8, movetoworkspace, 8
|
||||||
|
bindd = $mod SHIFT, 9, Envoyer la fenêtre vers l'espace 9, movetoworkspace, 9
|
||||||
|
bindd = $mod SHIFT, 0, Envoyer la fenêtre vers l'espace 10, movetoworkspace, 10
|
||||||
|
|
||||||
|
# --- Multi-écrans (comme i3 : Super+Ctrl+1/2 = écran gauche/droit) -------------
|
||||||
|
bindd = $mod CTRL, 1, Envoyer la fenêtre vers l'écran de gauche, movewindow, mon:l
|
||||||
|
bindd = $mod CTRL, 2, Envoyer la fenêtre vers l'écran de droite, movewindow, mon:r
|
||||||
|
|
||||||
|
# --- Molette = changer d'espace de travail --------------------------------------
|
||||||
|
bindd = $mod, mouse_up, Espace de travail précédent, workspace, e-1
|
||||||
|
bindd = $mod, mouse_down, Espace de travail suivant, workspace, e+1
|
||||||
|
|
||||||
|
# --- Scratchpad (espace spécial) -------------------------------------------------
|
||||||
|
bindd = $mod, S, Afficher le scratchpad, togglespecialworkspace, magic
|
||||||
|
bindd = $mod SHIFT, S, Envoyer la fenêtre au scratchpad, movetoworkspace, special:magic
|
||||||
|
|
||||||
|
# --- Captures d'écran (grim/slurp → presse-papier ou ~/Images) -------------------
|
||||||
|
bindd = , Print, Capture plein écran vers le presse-papier, exec, grim - | wl-copy
|
||||||
|
bindd = $mod, Print, Capture d'une zone vers le presse-papier, exec, grim -g "$(slurp)" - | wl-copy
|
||||||
|
bindd = $mod SHIFT, Print, Capture d'une zone vers ~/Images, exec, sh -c 'mkdir -p ~/Images && grim -g "$(slurp)" ~/Images/capture_$(date +%Y-%m-%d_%H-%M-%S).png'
|
||||||
|
|
||||||
|
# --- Multimédia (touches XF86 : volume via PipeWire, lecture via playerctl) ------
|
||||||
|
bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
|
bindel = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
|
bindl = , XF86AudioNext, exec, playerctl next
|
||||||
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
|
# --- Luminosité de l'écran (portables : touches Fn) ------------------------------
|
||||||
|
bindel = , XF86MonBrightnessUp, exec, fws-brightness up
|
||||||
|
bindel = , XF86MonBrightnessDown, exec, fws-brightness down
|
||||||
|
|
||||||
|
# --- Souris : déplacer / redimensionner les fenêtres -----------------------------
|
||||||
|
bindm = $mod, mouse:272, movewindow
|
||||||
|
bindm = $mod, mouse:273, resizewindow
|
||||||
|
|
||||||
|
# --- Règles de fenêtres (comme i3) ------------------------------------------------
|
||||||
|
# Syntaxe Hyprland ≥ 0.55 : champs « <règle> <valeur> » + cibles « match:… »
|
||||||
|
# (validé contre le binaire avec --verify-config).
|
||||||
|
windowrule = float on, match:class ^(floating-term)$
|
||||||
|
windowrule = size 900 550, match:class ^(floating-term)$
|
||||||
|
windowrule = float on, match:class ^([Pp]avucontrol|org.pulseaudio.pavucontrol)$
|
||||||
|
windowrule = float on, match:class ^(.?[Bb]lueman-manager.*)$
|
||||||
|
windowrule = float on, match:class ^([Ff]ws-hello)$
|
||||||
|
windowrule = float on, match:class ^([Ff]ws-about)$
|
||||||
|
windowrule = float on, match:class ^([Ff]ws-bugreport)$
|
||||||
|
windowrule = float on, match:title ^(Picture-in-Picture)$
|
||||||
|
# Panneau multimédia (script media-panel) : flottant, à sa taille, au-dessus.
|
||||||
|
# La classe vient de l'identifiant d'application « fws.media » du script ;
|
||||||
|
# le point est écrit [.] pour rester valable quel que soit le moteur de regex.
|
||||||
|
windowrule = float on, match:class ^(fws[.]media)$
|
||||||
|
windowrule = size 460 214, match:class ^(fws[.]media)$
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
# Palette extraite de l'image de référence (Downloads/image.png)
|
||||||
|
# — sourcée par hyprlock.conf, référence unique pour tout le thème :
|
||||||
|
#
|
||||||
|
# Fond image : #29242e → rgba(41, 36, 46, x)
|
||||||
|
# Fond profond : #1f1a2e → rgba(31, 26, 46, x)
|
||||||
|
# Surface : #313244 (Catppuccin surface0, bordures inactives)
|
||||||
|
# Texte : #fafafa → rgba(250, 250, 250, 1.0)
|
||||||
|
# Lavande highlight: #c3b6f6 → rgba(195, 182, 246, x)
|
||||||
|
# Mauve : #cba6f7 → rgba(203, 166, 247, x)
|
||||||
|
# Indigo : #7064b6 → rgba(112, 100, 182, x)
|
||||||
|
# Teal : #94e2d5 → rgba(148, 226, 213, x)
|
||||||
|
# Teal clair : #8cebd4 → rgba(140, 235, 212, x)
|
||||||
|
# Rose : #f569ca → rgba(245, 105, 202, x)
|
||||||
|
#
|
||||||
|
# Fond d'écran : ~/Images/Banner.png (via hyprpaper)
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
# ╔══════════════════════════════════════════════════════════╗
|
||||||
|
# ║ hyprlock — écran de verrouillage VIOLET 💜 ║
|
||||||
|
# ╚══════════════════════════════════════Super+L═════════════╝
|
||||||
|
|
||||||
|
source = /home/damien/.config/hypr/hyprlock-violet.conf
|
||||||
|
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
color = rgba(31, 26, 46, 1.0) # fond image #1f1a2e
|
||||||
|
}
|
||||||
|
|
||||||
|
# Dégradé décoratif (bandeau vertical violet → lavande) à gauche
|
||||||
|
shape {
|
||||||
|
monitor =
|
||||||
|
size = 14, 100%
|
||||||
|
position = 0, 0
|
||||||
|
halign = left
|
||||||
|
valign = center
|
||||||
|
rounding = 7
|
||||||
|
rotations = 0
|
||||||
|
gradient_from = rgba(195, 182, 246, 1.0) # lavande #c3b6f6
|
||||||
|
gradient_to = rgba(112, 100, 182, 1.0) # indigo #7064b6
|
||||||
|
angle = 180
|
||||||
|
}
|
||||||
|
|
||||||
|
# Grande lueur violette en fond (rectangle flou doux via dégradé)
|
||||||
|
shape {
|
||||||
|
monitor =
|
||||||
|
size = 60%, 3px
|
||||||
|
position = 0, 180
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
rounding = 2
|
||||||
|
angle = 0
|
||||||
|
gradient_from = rgba(203, 166, 247, 0.9)
|
||||||
|
gradient_to = rgba(203, 166, 247, 0.0)
|
||||||
|
}
|
||||||
|
|
||||||
|
# ── Textes ─────────────────────────────────────────────────
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = ⌛ $TIME
|
||||||
|
font_size = 90
|
||||||
|
font_family = Noto Sans
|
||||||
|
color = rgba(250, 250, 250, 1.0)
|
||||||
|
position = 0, 220
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = Bonjour damien 💜
|
||||||
|
font_size = 22
|
||||||
|
font_family = Noto Sans Italic
|
||||||
|
color = rgba(195, 182, 246, 0.95)
|
||||||
|
position = 0, 120
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = ⌨ clavier : ch / fr
|
||||||
|
font_size = 18
|
||||||
|
font_family = Noto Sans
|
||||||
|
color = rgba(155, 112, 185, 0.8)
|
||||||
|
position = 0, -190
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# ── Champ mot de passe ─────────────────────────────────────
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 320, 55
|
||||||
|
outline_thickness = 3
|
||||||
|
dots_center = true
|
||||||
|
dots_size = 0.28
|
||||||
|
dots_spacing = 0.35
|
||||||
|
dots_fade_time = 250
|
||||||
|
outer_color = rgba(203, 166, 247, 0.9) # bord mauve #cba6f7
|
||||||
|
inner_color = rgba(31, 26, 46, 0.92) # fond #1f1a2e
|
||||||
|
font_color = rgba(215, 200, 245, 1.0) # texte lavande
|
||||||
|
fade_on_empty = false
|
||||||
|
placeholder_text = <i><span foreground=\"##c3b6f6\">Mot de passe…</span></i>
|
||||||
|
position = 0, -80
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# hyprpaper — fond d'écran : Banner.png (3440×1440) 💜
|
||||||
|
# L'image a été déplacée dans ~/Images/ pour éviter une suppression accidentelle.
|
||||||
|
# Nécessite : sudo pacman -S hyprpaper (fait par install-violet.sh)
|
||||||
|
# Format de config hyprpaper ≥ 0.8 (hyprtoolkit) :
|
||||||
|
# wallpaper { monitor = ... path = ... }
|
||||||
|
splash = false
|
||||||
|
ipc = on
|
||||||
|
|
||||||
|
preload = /home/damien/Images/Banner.png
|
||||||
|
|
||||||
|
wallpaper {
|
||||||
|
monitor =
|
||||||
|
path = /home/damien/Images/Banner.png
|
||||||
|
}
|
||||||
@@ -0,0 +1,89 @@
|
|||||||
|
# ╔══════════════════════════════════════════════════════════╗
|
||||||
|
# ║ kitty — thème VIOLET calqué sur l'image de Damien 💜 ║
|
||||||
|
# ║ bg #29242e · texte #fafafa · lavande #c3b6f6 ║
|
||||||
|
# ║ mauve #cba6f7 · teal #94e2d5 · rose #f569ca ║
|
||||||
|
# ╚══════════════════════════════════════════════════════════╝
|
||||||
|
|
||||||
|
font_family Noto Sans Mono
|
||||||
|
bold_font auto
|
||||||
|
italic_font auto
|
||||||
|
bold_italic_font auto
|
||||||
|
font_size 11.0
|
||||||
|
modify_font cell_height 108%
|
||||||
|
|
||||||
|
cursor_shape beam
|
||||||
|
cursor_shape_thin 1
|
||||||
|
cursor_blink_interval 0.6
|
||||||
|
cursor_stop_blinking_after 8
|
||||||
|
|
||||||
|
scrollback_lines 10000
|
||||||
|
wheel_scroll_multiplier 5.0
|
||||||
|
url_style curly
|
||||||
|
detect_urls yes
|
||||||
|
open_url_with default
|
||||||
|
allow_hyperlinks yes
|
||||||
|
|
||||||
|
repaint_delay 10
|
||||||
|
input_delay 3
|
||||||
|
sync_to_monitor yes
|
||||||
|
enable_audio_bell no
|
||||||
|
visual_bell_duration 0.0
|
||||||
|
window_padding_width 10
|
||||||
|
hide_window_decorations yes
|
||||||
|
confirm_os_window_close 0
|
||||||
|
placement_strategy center
|
||||||
|
remember_window_size yes
|
||||||
|
|
||||||
|
# ── Fond et texte : exactement l'image ─────────────────────
|
||||||
|
foreground #fafafa
|
||||||
|
background #29242e
|
||||||
|
background_opacity 0.94
|
||||||
|
dim_opacity 0.55
|
||||||
|
selection_foreground #1f1a2e
|
||||||
|
selection_background #7064b6
|
||||||
|
|
||||||
|
# Curseur : highlight lavande de l'image
|
||||||
|
cursor #c3b6f6
|
||||||
|
cursor_text_color #1f1a2e
|
||||||
|
|
||||||
|
# ── Palette 16 couleurs tirée de l'image ───────────────────
|
||||||
|
# Normales
|
||||||
|
color0 #2a2438 # noir → fond plus profond
|
||||||
|
color1 #f569ca # rouge → rose de l'image (alertes)
|
||||||
|
color2 #8cebd4 # vert → teal clair de l'image
|
||||||
|
color3 #c3b6f6 # jaune → lavande highlight
|
||||||
|
color4 #7064b6 # bleu → indigo de l'image
|
||||||
|
color5 #cba6f7 # magenta → mauve Catppuccin
|
||||||
|
color6 #94e2d5 # cyan → teal de l'image
|
||||||
|
color7 #fafafa # blanc → texte image
|
||||||
|
# Vives
|
||||||
|
color8 #4a4160 # noir brillant (commentaires)
|
||||||
|
color9 #ff8fda # rose brillant
|
||||||
|
color10 #aef2e2 # teal brillant
|
||||||
|
color11 #d8cfff # lavande brillante
|
||||||
|
color12 #9a8cd8 # indigo brillant
|
||||||
|
color13 #e06abd # magenta de l'image
|
||||||
|
color14 #a8ecdf # teal doux
|
||||||
|
color15 #ffffff # blanc pur
|
||||||
|
|
||||||
|
# ── Onglets / fenêtres kitty ───────────────────────────────
|
||||||
|
tab_bar_edge top
|
||||||
|
tab_bar_style powerline
|
||||||
|
tab_powerline_style slanted
|
||||||
|
active_tab_foreground #1f1a2e
|
||||||
|
active_tab_background #cba6f7
|
||||||
|
inactive_tab_foreground #9a8cd8
|
||||||
|
inactive_tab_background #313244
|
||||||
|
tab_title_template " {index} {title}"
|
||||||
|
active_tab_font_style bold
|
||||||
|
|
||||||
|
active_border_color #cba6f7
|
||||||
|
inactive_border_color #313244
|
||||||
|
bell_border_color #f569ca
|
||||||
|
|
||||||
|
# ── Raccourcis (style Kali : ctrl+shift+c/v) ───────────────
|
||||||
|
map ctrl+shift+c copy_to_clipboard
|
||||||
|
map ctrl+shift+v paste_from_clipboard
|
||||||
|
map ctrl+shift+up scroll_line_up
|
||||||
|
map ctrl+shift+down scroll_line_down
|
||||||
|
map ctrl+shift+u kitten unicode_input
|
||||||
@@ -0,0 +1,100 @@
|
|||||||
|
{
|
||||||
|
"layer": "top",
|
||||||
|
"position": "top",
|
||||||
|
"height": 36,
|
||||||
|
"spacing": 2,
|
||||||
|
"margin-top": 6,
|
||||||
|
"margin-left": 10,
|
||||||
|
"margin-right": 10,
|
||||||
|
"modules-left": ["hyprland/workspaces", "hyprland/window"],
|
||||||
|
"modules-center": ["clock"],
|
||||||
|
"modules-right": ["image", "custom/updates", "custom/keyhelp", "backlight", "pulseaudio", "cpu", "memory", "battery", "tray", "custom/power"],
|
||||||
|
|
||||||
|
"image": {
|
||||||
|
"exec": "/home/damien/.config/waybar/scripts/media-cover",
|
||||||
|
"size": 22,
|
||||||
|
"interval": 1,
|
||||||
|
"tooltip": true,
|
||||||
|
"on-click": "/home/damien/.config/waybar/scripts/media-panel",
|
||||||
|
"on-click-middle": "playerctl previous",
|
||||||
|
"on-scroll-up": "playerctl position 5+",
|
||||||
|
"on-scroll-down": "playerctl position 5-"
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/power": {
|
||||||
|
"format": " ",
|
||||||
|
"tooltip-format": "Alimentation (SUPER+X)",
|
||||||
|
"on-click": "fws-powermenu"
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/updates": {
|
||||||
|
"exec": "fws-updates-check",
|
||||||
|
"interval": 1800,
|
||||||
|
"tooltip-format": "Mises à jour disponibles — clic pour installer",
|
||||||
|
"on-click": "kitty -e fws-update"
|
||||||
|
},
|
||||||
|
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"format": "{id}",
|
||||||
|
"on-click": "activate",
|
||||||
|
"on-scroll-up": "hyprctl dispatch workspace e-1",
|
||||||
|
"on-scroll-down": "hyprctl dispatch workspace e+1"
|
||||||
|
},
|
||||||
|
"hyprland/window": {
|
||||||
|
"max-length": 45,
|
||||||
|
"separate-outputs": true
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
"interval": 1,
|
||||||
|
"format": " {:%H:%M:%S}",
|
||||||
|
"format-alt": " {:%H:%M %A %d %B %Y}",
|
||||||
|
"tooltip-format": "<tt>{calendar}</tt>",
|
||||||
|
"calendar": {
|
||||||
|
"format": {
|
||||||
|
"today": "<b><span color='#89b4fa'>{}</span></b>"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"custom/keyhelp": {
|
||||||
|
"format": " ",
|
||||||
|
"tooltip-format": "Raccourcis clavier (SUPER+K)",
|
||||||
|
"on-click": "fws-keys"
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
"format": "{icon} {percent}%",
|
||||||
|
"format-icons": ["", "", ""],
|
||||||
|
"on-scroll-up": "fws-brightness up",
|
||||||
|
"on-scroll-down": "fws-brightness down",
|
||||||
|
"tooltip-format": "Luminosité {percent}% (molette pour régler)"
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon} {volume}%",
|
||||||
|
"format-muted": " muet",
|
||||||
|
"format-icons": { "default": ["", "", ""] },
|
||||||
|
"on-click": "pavucontrol",
|
||||||
|
"on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||||
|
"on-scroll-up": "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 2%+",
|
||||||
|
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-",
|
||||||
|
"tooltip-format": "{desc} — clic : mixeur, clic droit : muet"
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"format": " {usage}%",
|
||||||
|
"interval": 3
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"format": " {percentage}%",
|
||||||
|
"interval": 3,
|
||||||
|
"tooltip-format": "{used:0.1f} / {total:0.1f} Gio"
|
||||||
|
},
|
||||||
|
"battery": {
|
||||||
|
"states": { "warning": 25, "critical": 10 },
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"format-charging": " {capacity}%",
|
||||||
|
"format-icons": ["", "", "", "", ""],
|
||||||
|
"tooltip-format": "{timeTo}"
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
"spacing": 8,
|
||||||
|
"icon-size": 16
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,136 @@
|
|||||||
|
/* FWS — style Waybar v2 — Édition VIOLETTE 💜 (palette de l'image)
|
||||||
|
bg #29242e · lavande #c3b6f6 · mauve #cba6f7 · teal #94e2d5 · rose #f569ca */
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: "Noto Sans", "Symbols Nerd Font", sans-serif;
|
||||||
|
font-size: 13px;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background: rgba(41, 36, 46, 0.88); /* fond image #29242e */
|
||||||
|
color: #fafafa; /* texte image */
|
||||||
|
border: 1px solid rgba(195, 182, 246, 0.35);
|
||||||
|
border-radius: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
tooltip {
|
||||||
|
background: #29242e;
|
||||||
|
border: 1px solid #c3b6f6;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
tooltip label { color: #fafafa; }
|
||||||
|
|
||||||
|
/* --- Espaces de travail --------------------------------------------------- */
|
||||||
|
#workspaces {
|
||||||
|
background: #1f1a2e; /* fond profond */
|
||||||
|
margin: 5px 4px;
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 0 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
color: #9a8cd8; /* lavande grise */
|
||||||
|
padding: 0 8px;
|
||||||
|
margin: 3px 2px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 8px;
|
||||||
|
background: transparent;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
color: #1f1a2e;
|
||||||
|
background: #cba6f7; /* mauve */
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
color: #fafafa;
|
||||||
|
background: #3a3350;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window {
|
||||||
|
color: #9a8cd8;
|
||||||
|
margin-left: 10px;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* --- Horloge (centre) ------------------------------------------------------ */
|
||||||
|
#clock {
|
||||||
|
color: #fafafa;
|
||||||
|
font-weight: bold;
|
||||||
|
background: #1f1a2e;
|
||||||
|
padding: 0 16px;
|
||||||
|
margin: 5px 0;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* --- Modules de droite : pilules ------------------------------------------- */
|
||||||
|
#custom-keyhelp,
|
||||||
|
#backlight,
|
||||||
|
#pulseaudio,
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#battery,
|
||||||
|
#tray {
|
||||||
|
background: #1f1a2e;
|
||||||
|
padding: 0 12px;
|
||||||
|
margin: 5px 3px;
|
||||||
|
border-radius: 10px;
|
||||||
|
color: #fafafa;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-keyhelp {
|
||||||
|
/* bouton d'appel : mauve plein */
|
||||||
|
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
#custom-keyhelp:hover { background: #c3b6f6; }
|
||||||
|
|
||||||
|
#custom-power {
|
||||||
|
background-color: #1f1a2e; /* pilule comme les autres modules */
|
||||||
|
background-image: url("/home/damien/.config/waybar/icons/logo.png");
|
||||||
|
background-size: 16px 16px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center;
|
||||||
|
min-width: 18px;
|
||||||
|
padding: 0 12px;
|
||||||
|
margin: 5px 10px 5px 3px; /* décalé du bord droit */
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
#custom-power:hover { background-color: #3a3350; }
|
||||||
|
|
||||||
|
#backlight { color: #c3b6f6; } /* lavande */
|
||||||
|
#pulseaudio { color: #cba6f7; }
|
||||||
|
#pulseaudio.muted { color: #6b6180; }
|
||||||
|
#cpu { color: #9a8cd8; } /* indigo clair */
|
||||||
|
#memory { color: #e06abd; } /* magenta de l'image */
|
||||||
|
|
||||||
|
#battery.warning { color: #c3b6f6; }
|
||||||
|
#battery.critical { color: #f569ca; }
|
||||||
|
#battery.charging { color: #8cebd4; }
|
||||||
|
|
||||||
|
/* --- Lecture en cours : la pochette seule ------------------------------------ */
|
||||||
|
/* La pochette vient du module « image » (script media-cover). Le titre,
|
||||||
|
l'artiste et le temps ne s'affichent plus dans la barre : ils restent
|
||||||
|
lisibles au survol de la pochette (le panneau multimédia, lui, montre tout).
|
||||||
|
Sans lecteur, media-cover ne renvoie aucune image : Waybar pose la classe
|
||||||
|
« empty » sur la pilule, que l'on efface juste en dessous. */
|
||||||
|
#image {
|
||||||
|
background: #1f1a2e;
|
||||||
|
padding: 0 6px;
|
||||||
|
margin: 5px 3px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#image:hover { background: #3a3350; }
|
||||||
|
|
||||||
|
/* Rien ne joue : pas de pochette → la pilule doit disparaître sans laisser
|
||||||
|
de carré vide ni de trou dans la barre. */
|
||||||
|
#image.empty {
|
||||||
|
background: transparent;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# FWS — configuration wofi (menu d'applications).
|
||||||
|
insensitive=true
|
||||||
|
allow_images=true
|
||||||
|
image_size=24
|
||||||
|
prompt=Applications
|
||||||
|
width=560
|
||||||
|
height=440
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
/* FWS — style wofi (menu d'applications Super+R) — VIOLET, palette image 💜 */
|
||||||
|
|
||||||
|
window {
|
||||||
|
background-color: rgba(41, 36, 46, 0.96); /* fond image #29242e */
|
||||||
|
border: 2px solid #cba6f7;
|
||||||
|
border-radius: 14px;
|
||||||
|
font-family: "Noto Sans", sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input {
|
||||||
|
background-color: #1f1a2e; /* fond profond */
|
||||||
|
color: #fafafa;
|
||||||
|
border: none;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin: 12px;
|
||||||
|
padding: 8px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input image { color: #c3b6f6; }
|
||||||
|
|
||||||
|
#inner-box {
|
||||||
|
margin: 0 8px 8px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry {
|
||||||
|
padding: 8px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
color: #fafafa;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected {
|
||||||
|
background-color: #cba6f7;
|
||||||
|
color: #1f1a2e;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected #text { color: #1f1a2e; }
|
||||||
|
|
||||||
|
#text {
|
||||||
|
margin-left: 8px;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
# FWS — notifications (mako), édition VIOLETTE 💜
|
||||||
|
#
|
||||||
|
# Mêmes valeurs que la barre Waybar pour que les popups ne semblent pas venir
|
||||||
|
# d'un autre bureau : fond #29242e (opacité 0.88 comme la barre), bordure
|
||||||
|
# lavande #c3b6f6 (opacité 0.35), texte #fafafa, coins 12px, police Noto Sans
|
||||||
|
# 11. Le mauve #cba6f7 sert d'accent (barre de progression, urgence critique).
|
||||||
|
#
|
||||||
|
# Appliquer une modification sans redémarrer : makoctl reload
|
||||||
|
# (mako doit tourner : exec-once = mako dans hyprland.conf).
|
||||||
|
|
||||||
|
font=Noto Sans 11
|
||||||
|
background-color=#29242EE0
|
||||||
|
text-color=#FAFAFA
|
||||||
|
border-size=1
|
||||||
|
border-color=#C3B6F659
|
||||||
|
border-radius=12
|
||||||
|
|
||||||
|
# Marge externe = espace de la LISTE avec le bord de l'écran : 46px en haut
|
||||||
|
# laissent passer la barre (36px de haut, 6px de marge) au lieu de la recouvrir.
|
||||||
|
# margin = espace entre deux notifications.
|
||||||
|
outer-margin=46,10,10,10
|
||||||
|
margin=6
|
||||||
|
padding=12,14
|
||||||
|
|
||||||
|
width=380
|
||||||
|
height=140
|
||||||
|
max-visible=4
|
||||||
|
# Une teinte séparée par application : trois notifications de kitty se
|
||||||
|
# regroupent, une notification de kitty et une de Spotify restent distinctes.
|
||||||
|
group-by=app-name
|
||||||
|
|
||||||
|
anchor=top-right
|
||||||
|
layer=overlay
|
||||||
|
text-alignment=left
|
||||||
|
markup=1
|
||||||
|
icons=1
|
||||||
|
max-icon-size=40
|
||||||
|
progress-color=over #CBA6F7
|
||||||
|
|
||||||
|
default-timeout=6000
|
||||||
|
# Historique consultable (makoctl history) : le thème de la barre n'a pas de
|
||||||
|
# centre de notifications, c'est le seul moyen de relire un message manqué.
|
||||||
|
history=1
|
||||||
|
|
||||||
|
[urgency=low]
|
||||||
|
border-color=#9A8CD8AA
|
||||||
|
default-timeout=4000
|
||||||
|
|
||||||
|
[urgency=critical]
|
||||||
|
border-color=#F569CAFF
|
||||||
|
background-color=#29242EF5
|
||||||
|
# Une urgence critique reste affichée jusqu'à ce qu'on la ferme : les
|
||||||
|
# batteries faibles ou les erreurs de disque ne doivent pas disparaître seules.
|
||||||
|
default-timeout=0
|
||||||
|
|
||||||
|
[mode=do-not-disturb]
|
||||||
|
invisible=1
|
||||||
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 657 B |
|
After Width: | Height: | Size: 467 B |
|
After Width: | Height: | Size: 130 B |
|
After Width: | Height: | Size: 130 B |
|
After Width: | Height: | Size: 968 B |
|
After Width: | Height: | Size: 561 B |
|
After Width: | Height: | Size: 899 B |
|
After Width: | Height: | Size: 574 B |
|
After Width: | Height: | Size: 491 B |
|
After Width: | Height: | Size: 491 B |
|
After Width: | Height: | Size: 263 B |
|
After Width: | Height: | Size: 651 B |
|
After Width: | Height: | Size: 940 B |
|
After Width: | Height: | Size: 295 B |
|
After Width: | Height: | Size: 689 B |
|
After Width: | Height: | Size: 607 B |
|
After Width: | Height: | Size: 641 B |
|
After Width: | Height: | Size: 449 B |
|
After Width: | Height: | Size: 443 B |
|
After Width: | Height: | Size: 239 B |
|
After Width: | Height: | Size: 380 B |
|
After Width: | Height: | Size: 783 B |
|
After Width: | Height: | Size: 761 B |
|
After Width: | Height: | Size: 564 B |
|
After Width: | Height: | Size: 409 B |
|
After Width: | Height: | Size: 425 B |
|
After Width: | Height: | Size: 547 B |
|
After Width: | Height: | Size: 516 B |
|
After Width: | Height: | Size: 716 B |
|
After Width: | Height: | Size: 663 B |
|
After Width: | Height: | Size: 595 B |
|
After Width: | Height: | Size: 271 B |
|
After Width: | Height: | Size: 594 B |
|
After Width: | Height: | Size: 546 B |
|
After Width: | Height: | Size: 242 B |
|
After Width: | Height: | Size: 592 B |
|
After Width: | Height: | Size: 567 B |
|
After Width: | Height: | Size: 674 B |
|
After Width: | Height: | Size: 417 B |
|
After Width: | Height: | Size: 716 B |
|
After Width: | Height: | Size: 716 B |
|
After Width: | Height: | Size: 618 B |
|
After Width: | Height: | Size: 660 B |
|
After Width: | Height: | Size: 472 B |
|
After Width: | Height: | Size: 569 B |
|
After Width: | Height: | Size: 130 B |
|
After Width: | Height: | Size: 130 B |
|
After Width: | Height: | Size: 443 B |
|
After Width: | Height: | Size: 572 B |
|
After Width: | Height: | Size: 984 B |
|
After Width: | Height: | Size: 778 B |
|
After Width: | Height: | Size: 688 B |
|
After Width: | Height: | Size: 457 B |
|
After Width: | Height: | Size: 754 B |
|
After Width: | Height: | Size: 754 B |
|
After Width: | Height: | Size: 454 B |
|
After Width: | Height: | Size: 731 B |
|
After Width: | Height: | Size: 381 B |
|
After Width: | Height: | Size: 480 B |
|
After Width: | Height: | Size: 520 B |
|
After Width: | Height: | Size: 631 B |
|
After Width: | Height: | Size: 616 B |
|
After Width: | Height: | Size: 225 B |
|
After Width: | Height: | Size: 185 B |
|
After Width: | Height: | Size: 428 B |
|
After Width: | Height: | Size: 635 B |
|
After Width: | Height: | Size: 716 B |
|
After Width: | Height: | Size: 320 B |
|
After Width: | Height: | Size: 713 B |
|
After Width: | Height: | Size: 316 B |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 586 B |
|
After Width: | Height: | Size: 432 B |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 84 B |
|
After Width: | Height: | Size: 146 B |