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:
commit
27ad1efe42
58 files changed
+2154
No files matched your search
@@ -0,0 +1,44 @@
|
||||
# ═══════════════════════════════════════════════════════════════
|
||||
# 💜 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'
|
||||
Reference in new issue
Block a user