Compare commits

...
2 Commits
Author SHA1 Message Date
BlackAngelTV fb22fa8af7 MAJ 2026-09-21 21:04:44 +02:00
BlackAngelTV 6a65913c2c feat: piloter la lecture en cours depuis la barre et assortir les notifications
La barre ne disait rien de la musique qui joue, et les notifications gardaient
le style par défaut de mako, sans rapport avec le reste du bureau.

Waybar gagne un module média (pochette téléchargée puis mise en cache, titre,
artiste et temps) et un panneau flottant ouvert au clic ou par SUPER+M, avec
une position déplaçable, les commandes de lecture et une croix pour fermer ;
mako reprend la palette violette et se place sous la barre.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-16 23:23:59 +02:00
147 changed files with 6395 additions and 21 deletions

No files matched your search

+13
View File
@@ -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
*~
+203 -11
View File
@@ -24,8 +24,12 @@ Toute la config visuelle « édition violette » : **Hyprland**, **Waybar**, **w
violet-dotfiles/
├── install.sh ← script d'installation (recommandé)
├── README.md ← ce fichier
│
│ ── le thème, prêt à installer (modèles avec chemins à substituer) ──
├── hypr/ ← Hyprland : hyprland.conf, hyprlock, hyprpaper
├── 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)
├── kitty/ ← terminal
├── btop/ ← moniteur système : themes/violet.theme
@@ -38,12 +42,108 @@ violet-dotfiles/
├── sddm/
│ ├── catppuccin-mocha-mauve/ ← thème de l'écran de connexion
│ └── 10-fws.conf ← config SDDM
└── wallpapers/
└── Banner.png ← fond d'écran (3440×1440)
├── wallpapers/
│ └── 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
```
### `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
Prérequis : **Arch Linux / FWS**, session **Hyprland** déjà fonctionnelle.
@@ -76,8 +176,9 @@ Exemple complet :
Ensuite :
```bash
hyprctl reload # ou SUPER+SHIFT+C
hyprctl reload # ou SUPER+SHIFT+C
killall waybar; waybar & # recharge la barre
makoctl reload # recharge le thème des notifications
```
Redémarre pour voir GRUB et SDDM. 💜
@@ -92,12 +193,16 @@ Paquets Arch (installés par `./install.sh --install-deps`) :
hyprland hyprlock hyprpaper waybar wofi kitty btop
mako grim slurp wl-clipboard playerctl pavucontrol
noto-fonts ttf-nerd-fonts-symbols network-manager-applet
blueman polkit-gnome dolphin
blueman polkit-gnome dolphin python-gobject gtk4 curl
```
> Les icônes de la barre (󰥔 󰌌 󰕿…) viennent de **ttf-nerd-fonts-symbols**.
> 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
@@ -109,27 +214,114 @@ blueman polkit-gnome dolphin
| Changer le fond d'écran | remplace `wallpapers/Banner.png` puis relance `./install.sh` |
| Dégradé des bordures de fenêtres | `hypr/hyprland.conf` → `col.active_border` |
| Couleurs de la barre | `waybar/style.css` (palette en tête de fichier) |
| 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` |
---
## 🎵 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)
1. **Hyprland** — copie `hypr/` vers `~/.config/hypr/`, puis dans
`hyprpaper.conf` remplace `__WALLPAPER__` par le chemin absolu de
`wallpapers/Banner.png` (ex. `/home/toi/Images/Banner.png`).
2. **Waybar** — copie `waybar/` vers `~/.config/waybar/` et remplace
`__WAYBAR_LOGO__` dans `style.css` par le chemin absolu
`~/.config/waybar/icons/logo.png`.
3. **wofi / kitty / btop / GTK** — copie chaque dossier vers
2. **Waybar** — copie `waybar/` vers `~/.config/waybar/`, remplace les deux
chemins absolus, puis rends les scripts média exécutables :
```bash
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`,
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` :
```bash
[[ -f "$HOME/.config/zsh/kali-violet.zshrc" ]] && source "$HOME/.config/zsh/kali-violet.zshrc"
```
5. **GRUB** :
6. **GRUB** :
```bash
sudo rm -rf /boot/grub/themes/violet
sudo cp -r grub/violet /boot/grub/themes/
@@ -138,7 +330,7 @@ blueman polkit-gnome dolphin
# GRUB_GFXMODE=1920x1080,auto
sudo grub-mkconfig -o /boot/grub/grub.cfg
```
6. **SDDM** :
7. **SDDM** :
```bash
sudo cp -r sddm/catppuccin-mocha-mauve /usr/share/sddm/themes/
sudo cp sddm/10-fws.conf /etc/sddm.conf.d/10-fws.conf
+7
View File
@@ -0,0 +1,7 @@
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
export PATH=$PATH:/home/damien/.spicetify
+57
View File
@@ -0,0 +1,57 @@
#
# ~/.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)
# ═══════════════════════════════════════════════════════════════
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"
+286
View File
@@ -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 = ""
+348
View File
@@ -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"
+49
View File
@@ -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)"
+44
View File
@@ -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;
}
+12 -1
View File
@@ -70,6 +70,9 @@ misc {
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 »).
@@ -88,6 +91,9 @@ 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,
@@ -181,4 +187,9 @@ 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)$
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)$
+23 -7
View File
@@ -4,8 +4,8 @@
# ║ ║
# ║ Usage : ║
# ║ ./install.sh configs utilisateur (Hypr, ║
# ║ Waybar, wofi, kitty, btop, ║
# ║ GTK, zsh, fond d'écran) ║
# ║ Waybar, mako, wofi, kitty, ║
# ║ btop, GTK, zsh, fond d'écran)║
# ║ ./install.sh --bash + prompt bash dans ~/.bashrc ║
# ║ ./install.sh --grub + thème GRUB (demande sudo) ║
# ║ ./install.sh --sddm + thème SDDM (demande sudo) ║
@@ -125,16 +125,31 @@ say "config Hyprland → $HYPR_DST"
# 3. 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/style.css"
backup "$WAYBAR_DST/icons/logo.png"
mkdir -p "$WAYBAR_DST/icons"
cp "$SRC_DIR/waybar/config" "$WAYBAR_DST/config"
LOGO_DST="$WAYBAR_DST/icons/logo.png"
mkdir -p "$WAYBAR_DST/icons" "$SCRIPTS_DST"
# __WAYBAR_SCRIPTS__ = chemin ABSOLU : Waybar lance ses commandes sans passer
# 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"
sed -e "s|__WAYBAR_LOGO__|$LOGO_DST|g" \
"$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
@@ -252,7 +267,7 @@ fi
# ═══════════════════════════════════════════════════════════════════
DEPS=(hyprland hyprlock hyprpaper waybar wofi kitty btop mako grim slurp wl-clipboard \
playerctl pavucontrol noto-fonts ttf-nerd-fonts-symbols network-manager-applet \
blueman polkit-gnome dolphin)
blueman polkit-gnome dolphin python-gobject gtk4 curl)
if $DO_DEPS; then
if command -v pacman >/dev/null 2>&1; then
say "installation des dépendances (pacman)…"
@@ -285,6 +300,7 @@ echo
say "✔ Terminé !"
say "Recharge Hyprland (SUPER+SHIFT+C ou hyprctl reload) et redémarre"
say "waybar pour voir le thème : killall waybar ; waybar &"
say "notifications (mako déjà lancé) : makoctl reload"
if [[ -d "$BACKUP_DIR" ]]; then
say "Anciennes configs : ~/.violet-backup-*/ (supprimables quand tout va bien)"
fi
+196
View File
@@ -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
}
+89
View File
@@ -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
+100
View File
@@ -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
}
}
+136
View File
@@ -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;
}
+7
View File
@@ -0,0 +1,7 @@
# FWS — configuration wofi (menu d'applications).
insensitive=true
allow_images=true
image_size=24
prompt=Applications
width=560
height=440
+42
View File
@@ -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;
}
+57
View File
@@ -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
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 899 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 761 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 595 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 417 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 984 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 778 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 688 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 631 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

@@ -0,0 +1,50 @@
# GRUB2 gfxmenu pop theme, based and inspired by Vimix and Dracula grub themes
# Designed for any resolution
# Global Property
title-text: ""
desktop-image: "background.png"
desktop-image-scale-method: "stretch"
desktop-color: "#1E1E2E"
terminal-font: "Unifont Regular 16"
terminal-left: "0"
terminal-top: "0"
terminal-width: "100%"
terminal-height: "100%"
terminal-border: "0"
# Logo image
+ image {
left = 50%-50
top = 50%-50
file = "logo.png"
}
# Show the boot menu
+ boot_menu {
left = 50%-240
top = 60%
width = 480
height = 30%
item_font = "Unifont Regular 16"
item_color = "#CDD6F4"
selected_item_color = "#CDD6F4"
icon_width = 32
icon_height = 32
item_icon_space = 20
item_height = 36
item_padding = 5
item_spacing = 10
selected_item_pixmap_style = "select_*.png"
}
# Show a countdown message using the label component
+ label {
top = 82%
left = 35%
width = 30%
align = "center"
id = "__timeout__"
text = "Booting in %d seconds"
color = "#CDD6F4"
}
Loaded 100 of 147 files, more files were not shown because too many files have changed in this diff. Show more