feat: package the violet Hyprland theme as distributable dotfiles

Complete violet-themed desktop pack: Hyprland, Waybar, wofi, kitty,
btop, GTK, zsh/bash prompts, GRUB theme, SDDM theme and wallpaper,
with an installer script (backup + substitutions) and French docs.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
BlackAngelTV committed 2026-09-10 21:45:40 +02:00
commit 27ad1efe42
58 files changed
+2154

No files matched your search

+184
View File
@@ -0,0 +1,184 @@
# 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é).
exec-once = hyprpaper
exec-once = waybar
exec-once = mako
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
# --- 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)$
+15
View File
@@ -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)
+90
View File
@@ -0,0 +1,90 @@
# ╔══════════════════════════════════════════════════════════╗
# ║ hyprlock — écran de verrouillage VIOLET 💜 ║
# ╚══════════════════════════════════════Super+L═════════════╝
source = ./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
}
+16
View File
@@ -0,0 +1,16 @@
# hyprpaper — fond d'écran : Banner.png (3440×1440) 💜
# TEMPLATE : le jeton WALLPAPER_PLACEHOLDER est remplacé par le chemin
# réel par install.sh (le fond est copié dans ~/Images/Banner.png).
# Installation manuelle : remplace WALLPAPER_PLACEHOLDER par le chemin
# absolu de ton image, ex. /home/toi/Images/Banner.png
# Format de config hyprpaper ≥ 0.8 (hyprtoolkit) :
# wallpaper { monitor = ... path = ... }
splash = false
ipc = on
preload = __WALLPAPER__
wallpaper {
monitor =
path = __WALLPAPER__
}