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,72 @@
|
||||
# ╔══════════════════════════════════════════════════════════════╗
|
||||
# ║ Prompt zsh style Kali — couleurs EXACTES de tty.png (image ║
|
||||
# ║ de référence, extraites au pixel près par analyse PNG) ║
|
||||
# ║ ╭──(user💀host)-[~/chemin]-(branche) ║
|
||||
# ║ $ ║
|
||||
# ║ Boîtes/bordures : mauve #cba6f7 (203,166,247) ║
|
||||
# ║ Texte/chemin : bleu clair #89b4fa (137,180,250) ║
|
||||
# ║ $ / erreur : rose #f4c1e6 (244,193,230) ║
|
||||
# ╚══════════════════════════════════════════════════════════════╝
|
||||
|
||||
# Git info : branche + état
|
||||
autoload -Uz vcs_info
|
||||
zstyle ':vcs_info:git:*' formats ' %F{#cba6f7}(%F{#89b4fa}%b%F{#cba6f7})%f'
|
||||
zstyle ':vcs_info:git:*' actionformats ' %F{#cba6f7}(%F{#89b4fa}%b|%a%F{#cba6f7})%f'
|
||||
zstyle ':vcs_info:*' enable git
|
||||
precmd() { vcs_info; }
|
||||
|
||||
MAUVE="%F{#cba6f7}" # mauve — boîtes et bordures (tty.png)
|
||||
BLEU="%F{#89b4fa}" # bleu clair — texte et chemin (tty.png)
|
||||
ROSE="%F{#f4c1e6}" # rose — $ et code d'erreur (tty.png)
|
||||
RESET="%f"
|
||||
|
||||
# ── Prompt droit : heure en mauve discret ──────────────────
|
||||
RPROMPT="${MAUVE}⚡ %T${RESET}"
|
||||
|
||||
# ── Dernier code d'erreur, affiché en rose si ≠ 0 ──────────
|
||||
prompt_status() {
|
||||
local code=$?
|
||||
if (( code != 0 )); then
|
||||
print -P "${ROSE}[$code]${RESET} "
|
||||
fi
|
||||
}
|
||||
|
||||
# ── Prompt principal (calqué sur tty.png, au pixel près) ────
|
||||
setopt PROMPT_SUBST
|
||||
PROMPT='
|
||||
${MAUVE}╭──(${BLEU}%n@%m${MAUVE})-[${BLEU}%~${MAUVE}]${vcs_info_msg_0_}$(prompt_status)
|
||||
${ROSE}$ ${RESET}'
|
||||
|
||||
# ── Couleurs du terminal ────────────────────────────────────
|
||||
alias ls='ls --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
alias ip='ip -color=auto'
|
||||
alias diff='diff --color=auto'
|
||||
alias less='less -R'
|
||||
|
||||
# ls assortie à 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
|
||||
|
||||
# ── Historique ──────────────────────────────────────────────
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
HISTFILE=~/.zsh_history
|
||||
setopt SHARE_HISTORY HIST_IGNORE_ALL_DUPS HIST_REDUCE_BLANKS
|
||||
|
||||
# ── Confort clavier ─────────────────────────────────────────
|
||||
bindkey -e
|
||||
bindkey '^[[1;5C' forward-word
|
||||
bindkey '^[[1;5D' backward-word
|
||||
bindkey '^[.' insert-last-word
|
||||
|
||||
# ── 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