feat: violet-chaton v2 — palette originale, kitty, AGS, Maple Mono NF
Refonte complete du rice. Palette 100% originale (Mitsuri Kanroji inspired), zero emprunt Dracula/Catppuccin. 50 fichiers, 3200+ lignes. Palette v2: - palette.sh source de verite unique (dark + light) - 5 accents (magenta, lilac, mitsuri, lavande, champagne) - 4 semantiques derivees, 4 niveaux texte, 6 fonds - Gradient signature: magenta → lilac → lavande → mitsuri - Variante Light: fonds lavande, accents assombris WCAG Terminal: - kitty (remplace COSMIC Term comme principal) - Maple Mono NF (cursive italics, ligatures) - Cursor trail magenta, splits/layouts tiling, undercurl - Vi-mode zsh avec cursor shape adaptatif Shell: - starship 3 lignes (palette nommee, brain_name, battery, sudo) - zshrc v2 (nouveaux outils, fzf pimp, shell functions, vi-mode) - Commandes custom: proj, glog, fkill, colors, hotkeys, weather, y Desktop: - AGS config (bar 3-pills, OSD gradient, launcher, notifications) - COSMIC Dark + Light v2 (7 fichiers RON chacun) - COSMIC Term v2 (color schemes dark/light, Maple Mono NF) - GTK3/GTK4 dark + light css - Vivaldi theme v2 Outils: - +kitty +dust +procs +tokei +sd +hyperfine +gping +Maple Mono NF - Propagation palette sur: bat, btop, cava, yazi, lazygit, rofi, delta, fastfetch, atuin, ls-colors, vivaldi - Claude Code statusline brain-aware Docs: - README v2 complet (palette, structure, raccourcis, commandes) - help.md v2 (reference exhaustive)
This commit is contained in:
@@ -131,6 +131,135 @@ else
|
||||
chmod +x "$BIN/pipes.sh" && ok "pipes.sh" || fail "pipes.sh"
|
||||
fi
|
||||
|
||||
# dust (remplace ncdu/du)
|
||||
if has_cmd dust; then
|
||||
ok "dust (déjà installé)"
|
||||
else
|
||||
DUST_VER=$(github_latest_tag "bootandy/dust")
|
||||
if [ -z "$DUST_VER" ]; then
|
||||
fail "dust — version introuvable"
|
||||
else
|
||||
install_binary "dust" \
|
||||
"https://github.com/bootandy/dust/releases/download/${DUST_VER}/dust-${DUST_VER}-x86_64-unknown-linux-musl.tar.gz" \
|
||||
"tar:dust"
|
||||
fi
|
||||
fi
|
||||
|
||||
# procs (remplace ps)
|
||||
if has_cmd procs; then
|
||||
ok "procs (déjà installé)"
|
||||
else
|
||||
PROCS_VER=$(github_latest_tag "dalance/procs")
|
||||
if [ -z "$PROCS_VER" ]; then
|
||||
fail "procs — version introuvable"
|
||||
else
|
||||
install_binary "procs" \
|
||||
"https://github.com/dalance/procs/releases/download/${PROCS_VER}/procs-${PROCS_VER}-x86_64-linux.zip" \
|
||||
"zip:procs"
|
||||
fi
|
||||
fi
|
||||
|
||||
# tokei (stats code par langage) — v12 car v13+ n'a plus de binaires pre-compiles
|
||||
if has_cmd tokei; then
|
||||
ok "tokei (déjà installé)"
|
||||
else
|
||||
install_binary "tokei" \
|
||||
"https://github.com/XAMPPRocky/tokei/releases/download/v12.1.2/tokei-x86_64-unknown-linux-musl.tar.gz" \
|
||||
"tar:tokei"
|
||||
fi
|
||||
|
||||
# sd (remplace sed simplifié)
|
||||
if has_cmd sd; then
|
||||
ok "sd (déjà installé)"
|
||||
else
|
||||
SD_VER=$(github_latest_tag "chmln/sd")
|
||||
if [ -z "$SD_VER" ]; then
|
||||
fail "sd — version introuvable"
|
||||
else
|
||||
install_binary "sd" \
|
||||
"https://github.com/chmln/sd/releases/download/${SD_VER}/sd-${SD_VER}-x86_64-unknown-linux-musl.tar.gz" \
|
||||
"tar:sd"
|
||||
fi
|
||||
fi
|
||||
|
||||
# hyperfine (benchmarks CLI)
|
||||
if has_cmd hyperfine; then
|
||||
ok "hyperfine (déjà installé)"
|
||||
else
|
||||
HF_VER=$(github_latest_tag "sharkdp/hyperfine")
|
||||
if [ -z "$HF_VER" ]; then
|
||||
fail "hyperfine — version introuvable"
|
||||
else
|
||||
install_binary "hyperfine" \
|
||||
"https://github.com/sharkdp/hyperfine/releases/download/${HF_VER}/hyperfine-${HF_VER}-x86_64-unknown-linux-musl.tar.gz" \
|
||||
"tar:hyperfine"
|
||||
fi
|
||||
fi
|
||||
|
||||
# gping (ping avec graphe)
|
||||
if has_cmd gping; then
|
||||
ok "gping (déjà installé)"
|
||||
else
|
||||
GPING_VER=$(github_latest_tag "orf/gping")
|
||||
if [ -z "$GPING_VER" ]; then
|
||||
fail "gping — version introuvable"
|
||||
else
|
||||
install_binary "gping" \
|
||||
"https://github.com/orf/gping/releases/download/${GPING_VER}/gping-Linux-musl-x86_64.tar.gz" \
|
||||
"tar:gping"
|
||||
fi
|
||||
fi
|
||||
|
||||
section "AGS (Aylur's GTK Shell — barre + OSD + launcher + notifs)"
|
||||
if has_cmd ags; then
|
||||
ok "ags (deja installe)"
|
||||
else
|
||||
step "Installation de AGS depuis source..."
|
||||
tmp=$(mktemp -d)
|
||||
AGS_VER=$(github_latest_tag "Aylur/ags")
|
||||
if [ -z "$AGS_VER" ]; then
|
||||
warn "ags — version introuvable — a installer manuellement"
|
||||
else
|
||||
if git clone --depth 1 --branch "$AGS_VER" https://github.com/Aylur/ags.git "$tmp/ags" &>/dev/null; then
|
||||
if cd "$tmp/ags" && npm install &>/dev/null && npm run build &>/dev/null; then
|
||||
cp "$tmp/ags/ags" "$BIN/ags" 2>/dev/null && chmod +x "$BIN/ags" 2>/dev/null
|
||||
if [ -x "$BIN/ags" ]; then
|
||||
ok "ags"
|
||||
else
|
||||
warn "ags — build OK mais binaire non trouve. Install manuelle recommandee :"
|
||||
info " git clone https://github.com/Aylur/ags && cd ags && npm i && npm run build"
|
||||
fi
|
||||
else
|
||||
warn "ags — build echoue. Install manuelle recommandee :"
|
||||
info " git clone https://github.com/Aylur/ags && cd ags && npm i && npm run build"
|
||||
fi
|
||||
cd - &>/dev/null
|
||||
else
|
||||
warn "ags — clone echoue"
|
||||
fi
|
||||
fi
|
||||
rm -rf "$tmp"
|
||||
fi
|
||||
|
||||
section "kitty (terminal GPU-accelerated)"
|
||||
if has_cmd kitty; then
|
||||
ok "kitty (deja installe)"
|
||||
else
|
||||
step "Installation de kitty..."
|
||||
if curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin launch=n &>/dev/null; then
|
||||
ln -sf "$HOME/.local/kitty.app/bin/kitty" "$HOME/.local/bin/kitty"
|
||||
ln -sf "$HOME/.local/kitty.app/bin/kitten" "$HOME/.local/bin/kitten"
|
||||
# Desktop file pour le launcher
|
||||
cp "$HOME/.local/kitty.app/share/applications/kitty.desktop" \
|
||||
"$HOME/.local/share/applications/" 2>/dev/null
|
||||
sed -i "s|Icon=kitty|Icon=$HOME/.local/kitty.app/share/icons/hicolor/256x256/apps/kitty.png|g" \
|
||||
"$HOME/.local/share/applications/kitty.desktop" 2>/dev/null
|
||||
ok "kitty"
|
||||
else
|
||||
fail "kitty"
|
||||
fi
|
||||
fi
|
||||
|
||||
section "starship (prompt)"
|
||||
if has_cmd starship; then
|
||||
ok "starship (déjà installé)"
|
||||
@@ -188,7 +317,7 @@ else
|
||||
fi
|
||||
|
||||
# ── Nerd Fonts ─────────────────────────────────────────────────────────────────
|
||||
section "Nerd Fonts (JetBrainsMono NL + 0xProto)"
|
||||
section "Nerd Fonts (Maple Mono NF + JetBrainsMono NL + 0xProto)"
|
||||
FONTS_DIR="$HOME/.local/share/fonts/NerdFonts"
|
||||
ensure_dir "$FONTS_DIR"
|
||||
|
||||
@@ -213,6 +342,9 @@ install_font() {
|
||||
rm -rf "$tmp"
|
||||
}
|
||||
|
||||
install_font "Maple Mono NF" \
|
||||
"https://github.com/subframe7536/maple-font/releases/latest/download/MapleMono-NF.zip" \
|
||||
"MapleMono-NF-Regular.ttf"
|
||||
install_font "JetBrainsMono NL" \
|
||||
"https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.zip" \
|
||||
"JetBrainsMonoNLNerdFont-Regular.ttf"
|
||||
|
||||
Reference in New Issue
Block a user