feat: enhance install script and theme generation

- install.sh now installs all variants when run without parameters
- preserve single-variant mode when --variant is specified
- add variant names to generated file headers for clarity
- fix tool name extraction to preserve compound names like git-delta
- fix CSS variable preservation during header generation
This commit is contained in:
2025-09-09 00:01:46 +03:00
parent 5710074685
commit 5c0e8b0f40
234 changed files with 723 additions and 343 deletions

View File

@@ -1,4 +1,4 @@
# Everforest theme for Atuin
# Everforest dark-hard theme for Atuin
# Generated from template - do not edit manually
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for Atuin
# Everforest dark-medium theme for Atuin
# Generated from template - do not edit manually
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for Atuin
# Everforest dark-soft theme for Atuin
# Generated from template - do not edit manually
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for Atuin
# Everforest light-hard theme for Atuin
# Generated from template - do not edit manually
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for Atuin
# Everforest light-medium theme for Atuin
# Generated from template - do not edit manually
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for Atuin
# Everforest light-soft theme for Atuin
# Generated from template - do not edit manually
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for bat
# Everforest dark-hard theme for bat
# Place this in ~/.config/bat/themes/everforest.tmTheme
# Then run: bat cache --build

View File

@@ -1,4 +1,4 @@
# Everforest theme for bat
# Everforest dark-medium theme for bat
# Place this in ~/.config/bat/themes/everforest.tmTheme
# Then run: bat cache --build

View File

@@ -1,4 +1,4 @@
# Everforest theme for bat
# Everforest dark-soft theme for bat
# Place this in ~/.config/bat/themes/everforest.tmTheme
# Then run: bat cache --build

View File

@@ -1,4 +1,4 @@
# Everforest theme for bat
# Everforest light-hard theme for bat
# Place this in ~/.config/bat/themes/everforest.tmTheme
# Then run: bat cache --build

View File

@@ -1,4 +1,4 @@
# Everforest theme for bat
# Everforest light-medium theme for bat
# Place this in ~/.config/bat/themes/everforest.tmTheme
# Then run: bat cache --build

View File

@@ -1,4 +1,4 @@
# Everforest theme for bat
# Everforest light-soft theme for bat
# Place this in ~/.config/bat/themes/everforest.tmTheme
# Then run: bat cache --build

View File

@@ -1,4 +1,4 @@
# Everforest theme for bottom (btm)
# Everforest dark-hard theme
# Place this in ~/.config/bottom/bottom.toml under [colors] section
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for bottom (btm)
# Everforest dark-medium theme
# Place this in ~/.config/bottom/bottom.toml under [colors] section
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for bottom (btm)
# Everforest dark-soft theme
# Place this in ~/.config/bottom/bottom.toml under [colors] section
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for bottom (btm)
# Everforest light-hard theme
# Place this in ~/.config/bottom/bottom.toml under [colors] section
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for bottom (btm)
# Everforest light-medium theme
# Place this in ~/.config/bottom/bottom.toml under [colors] section
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for bottom (btm)
# Everforest light-soft theme
# Place this in ~/.config/bottom/bottom.toml under [colors] section
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for btop++
# Everforest dark-hard theme
# Place this in ~/.config/btop/themes/everforest.theme
# Main background and foreground

View File

@@ -1,4 +1,4 @@
# Everforest theme for btop++
# Everforest dark-medium theme
# Place this in ~/.config/btop/themes/everforest.theme
# Main background and foreground

View File

@@ -1,4 +1,4 @@
# Everforest theme for btop++
# Everforest dark-soft theme
# Place this in ~/.config/btop/themes/everforest.theme
# Main background and foreground

View File

@@ -1,4 +1,4 @@
# Everforest theme for btop++
# Everforest light-hard theme
# Place this in ~/.config/btop/themes/everforest.theme
# Main background and foreground

View File

@@ -1,4 +1,4 @@
# Everforest theme for btop++
# Everforest light-medium theme
# Place this in ~/.config/btop/themes/everforest.theme
# Main background and foreground

View File

@@ -1,4 +1,4 @@
# Everforest theme for btop++
# Everforest light-soft theme
# Place this in ~/.config/btop/themes/everforest.theme
# Main background and foreground

View File

@@ -1,4 +1,4 @@
# Everforest theme for git-delta
# Everforest dark-hard theme for git-delta
# Generated from template - do not edit manually
[delta]

View File

@@ -1,4 +1,4 @@
# Everforest theme for git-delta
# Everforest dark-medium theme for git-delta
# Generated from template - do not edit manually
[delta]

View File

@@ -1,4 +1,4 @@
# Everforest theme for git-delta
# Everforest dark-soft theme for git-delta
# Generated from template - do not edit manually
[delta]

View File

@@ -1,4 +1,4 @@
# Everforest theme for git-delta
# Everforest light-hard theme for git-delta
# Generated from template - do not edit manually
[delta]

View File

@@ -1,4 +1,4 @@
# Everforest theme for git-delta
# Everforest light-medium theme for git-delta
# Generated from template - do not edit manually
[delta]

View File

@@ -1,4 +1,4 @@
# Everforest theme for git-delta
# Everforest light-soft theme for git-delta
# Generated from template - do not edit manually
[delta]

View File

@@ -1,4 +1,4 @@
# Everforest theme for eza (fish shell)
# Everforest dark-hard theme
# Add these environment variables to your fish config (e.g., ~/.config/fish/config.fish)
# Everforest color definitions for eza

View File

@@ -1,4 +1,4 @@
# Everforest theme for eza
# Everforest dark-hard theme for eza
# Add these environment variables to your shell config (e.g., ~/.bashrc, ~/.zshrc)
# Everforest color definitions for eza

View File

@@ -1,4 +1,4 @@
# Everforest theme for eza (fish shell)
# Everforest dark-medium theme
# Add these environment variables to your fish config (e.g., ~/.config/fish/config.fish)
# Everforest color definitions for eza

View File

@@ -1,4 +1,4 @@
# Everforest theme for eza
# Everforest dark-medium theme for eza
# Add these environment variables to your shell config (e.g., ~/.bashrc, ~/.zshrc)
# Everforest color definitions for eza

View File

@@ -1,4 +1,4 @@
# Everforest theme for eza (fish shell)
# Everforest dark-soft theme
# Add these environment variables to your fish config (e.g., ~/.config/fish/config.fish)
# Everforest color definitions for eza

View File

@@ -1,4 +1,4 @@
# Everforest theme for eza
# Everforest dark-soft theme for eza
# Add these environment variables to your shell config (e.g., ~/.bashrc, ~/.zshrc)
# Everforest color definitions for eza

View File

@@ -1,4 +1,4 @@
# Everforest theme for eza (fish shell)
# Everforest light-hard theme
# Add these environment variables to your fish config (e.g., ~/.config/fish/config.fish)
# Everforest color definitions for eza

View File

@@ -1,4 +1,4 @@
# Everforest theme for eza
# Everforest light-hard theme for eza
# Add these environment variables to your shell config (e.g., ~/.bashrc, ~/.zshrc)
# Everforest color definitions for eza

View File

@@ -1,4 +1,4 @@
# Everforest theme for eza (fish shell)
# Everforest light-medium theme
# Add these environment variables to your fish config (e.g., ~/.config/fish/config.fish)
# Everforest color definitions for eza

View File

@@ -1,4 +1,4 @@
# Everforest theme for eza
# Everforest light-medium theme for eza
# Add these environment variables to your shell config (e.g., ~/.bashrc, ~/.zshrc)
# Everforest color definitions for eza

View File

@@ -1,4 +1,4 @@
# Everforest theme for eza (fish shell)
# Everforest light-soft theme
# Add these environment variables to your fish config (e.g., ~/.config/fish/config.fish)
# Everforest color definitions for eza

View File

@@ -1,4 +1,4 @@
# Everforest theme for eza
# Everforest light-soft theme for eza
# Add these environment variables to your shell config (e.g., ~/.bashrc, ~/.zshrc)
# Everforest color definitions for eza

View File

@@ -1,4 +1,4 @@
# Everforest colors for fd
# Everforest dark-hard theme for fd
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest colors for fd
# Everforest dark-medium theme for fd
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest colors for fd
# Everforest dark-soft theme for fd
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest colors for fd
# Everforest light-hard theme for fd
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest colors for fd
# Everforest light-medium theme for fd
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest colors for fd
# Everforest light-soft theme for fd
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest color scheme for fish shell
# Everforest dark-hard theme for fish shell
# Generated from template - do not edit manually
# Set fish colors

View File

@@ -1,4 +1,4 @@
# Everforest color scheme for fish shell
# Everforest dark-medium theme for fish shell
# Generated from template - do not edit manually
# Set fish colors

View File

@@ -1,4 +1,4 @@
# Everforest color scheme for fish shell
# Everforest dark-soft theme for fish shell
# Generated from template - do not edit manually
# Set fish colors

View File

@@ -1,4 +1,4 @@
# Everforest color scheme for fish shell
# Everforest light-hard theme for fish shell
# Generated from template - do not edit manually
# Set fish colors

View File

@@ -1,4 +1,4 @@
# Everforest color scheme for fish shell
# Everforest light-medium theme for fish shell
# Generated from template - do not edit manually
# Set fish colors

View File

@@ -1,4 +1,4 @@
# Everforest color scheme for fish shell
# Everforest light-soft theme for fish shell
# Generated from template - do not edit manually
# Set fish colors

View File

@@ -1,4 +1,4 @@
# Everforest theme for fzf (fish shell)
# Everforest dark-hard theme
# Generated from template - do not edit manually
set -gx FZF_DEFAULT_OPTS " \

View File

@@ -1,4 +1,4 @@
# Everforest theme for fzf
# Everforest dark-hard theme for fzf
# Generated from template - do not edit manually
export FZF_DEFAULT_OPTS=" \

View File

@@ -1,4 +1,4 @@
# Everforest theme for fzf (fish shell)
# Everforest dark-medium theme
# Generated from template - do not edit manually
set -gx FZF_DEFAULT_OPTS " \

View File

@@ -1,4 +1,4 @@
# Everforest theme for fzf
# Everforest dark-medium theme for fzf
# Generated from template - do not edit manually
export FZF_DEFAULT_OPTS=" \

View File

@@ -1,4 +1,4 @@
# Everforest theme for fzf (fish shell)
# Everforest dark-soft theme
# Generated from template - do not edit manually
set -gx FZF_DEFAULT_OPTS " \

View File

@@ -1,4 +1,4 @@
# Everforest theme for fzf
# Everforest dark-soft theme for fzf
# Generated from template - do not edit manually
export FZF_DEFAULT_OPTS=" \

View File

@@ -1,4 +1,4 @@
# Everforest theme for fzf (fish shell)
# Everforest light-hard theme
# Generated from template - do not edit manually
set -gx FZF_DEFAULT_OPTS " \

View File

@@ -1,4 +1,4 @@
# Everforest theme for fzf
# Everforest light-hard theme for fzf
# Generated from template - do not edit manually
export FZF_DEFAULT_OPTS=" \

View File

@@ -1,4 +1,4 @@
# Everforest theme for fzf (fish shell)
# Everforest light-medium theme
# Generated from template - do not edit manually
set -gx FZF_DEFAULT_OPTS " \

View File

@@ -1,4 +1,4 @@
# Everforest theme for fzf
# Everforest light-medium theme for fzf
# Generated from template - do not edit manually
export FZF_DEFAULT_OPTS=" \

View File

@@ -1,4 +1,4 @@
# Everforest theme for fzf (fish shell)
# Everforest light-soft theme
# Generated from template - do not edit manually
set -gx FZF_DEFAULT_OPTS " \

View File

@@ -1,4 +1,4 @@
# Everforest theme for fzf
# Everforest light-soft theme for fzf
# Generated from template - do not edit manually
export FZF_DEFAULT_OPTS=" \

View File

@@ -1,4 +1,4 @@
// Everforest theme for GitUI
// Everforest dark-hard theme for GitUI
// Generated from template - do not edit manually
(

View File

@@ -1,4 +1,4 @@
// Everforest theme for GitUI
// Everforest dark-medium theme for GitUI
// Generated from template - do not edit manually
(

View File

@@ -1,4 +1,4 @@
// Everforest theme for GitUI
// Everforest dark-soft theme for GitUI
// Generated from template - do not edit manually
(

View File

@@ -1,4 +1,4 @@
// Everforest theme for GitUI
// Everforest light-hard theme for GitUI
// Generated from template - do not edit manually
(

View File

@@ -1,4 +1,4 @@
// Everforest theme for GitUI
// Everforest light-medium theme for GitUI
// Generated from template - do not edit manually
(

View File

@@ -1,4 +1,4 @@
// Everforest theme for GitUI
// Everforest light-soft theme for GitUI
// Generated from template - do not edit manually
(

View File

@@ -1,4 +1,4 @@
# Everforest theme for Glances
# Everforest dark-hard theme for Glances
# Generated from template - do not edit manually
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for Glances
# Everforest dark-medium theme for Glances
# Generated from template - do not edit manually
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for Glances
# Everforest dark-soft theme for Glances
# Generated from template - do not edit manually
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for Glances
# Everforest light-hard theme for Glances
# Generated from template - do not edit manually
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for Glances
# Everforest light-medium theme for Glances
# Generated from template - do not edit manually
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for Glances
# Everforest light-soft theme for Glances
# Generated from template - do not edit manually
[colors]

View File

@@ -1,4 +1,4 @@
# Everforest theme for htop
# Everforest dark-hard theme for htop
# Place this in ~/.config/htop/htoprc or run htop and configure colors interactively
# Color scheme

View File

@@ -1,4 +1,4 @@
# Everforest theme for htop
# Everforest dark-medium theme for htop
# Place this in ~/.config/htop/htoprc or run htop and configure colors interactively
# Color scheme

View File

@@ -1,4 +1,4 @@
# Everforest theme for htop
# Everforest dark-soft theme for htop
# Place this in ~/.config/htop/htoprc or run htop and configure colors interactively
# Color scheme

View File

@@ -1,4 +1,4 @@
# Everforest theme for htop
# Everforest light-hard theme for htop
# Place this in ~/.config/htop/htoprc or run htop and configure colors interactively
# Color scheme

View File

@@ -1,4 +1,4 @@
# Everforest theme for htop
# Everforest light-medium theme for htop
# Place this in ~/.config/htop/htoprc or run htop and configure colors interactively
# Color scheme

View File

@@ -1,4 +1,4 @@
# Everforest theme for htop
# Everforest light-soft theme for htop
# Place this in ~/.config/htop/htoprc or run htop and configure colors interactively
# Color scheme

View File

@@ -1,59 +0,0 @@
#!/usr/bin/env bash
# Everforest Resources Installer
# Installs all CLI tool configurations to ~/.config
set -euo pipefail
CONFIG_DIR="${HOME}/.config"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "🎨 Installing Everforest CLI configurations..."
# Create config directories
mkdir -p "${CONFIG_DIR}/starship"
mkdir -p "${CONFIG_DIR}/fzf"
mkdir -p "${CONFIG_DIR}/git"
mkdir -p "${CONFIG_DIR}/fish"
mkdir -p "${CONFIG_DIR}/tmux"
# Install configurations
install_config() {
local tool="$1"
local file="$2"
local target="$3"
if [[ -f "${SCRIPT_DIR}/${tool}/${file}" ]]; then
echo "📝 Installing ${tool}/${file} -> ${target}"
cp "${SCRIPT_DIR}/${tool}/${file}" "${target}"
else
echo "⚠️ Warning: ${tool}/${file} not found (may not be generated yet)"
fi
}
# Install tool configurations
install_config "starship" "starship.toml" "${CONFIG_DIR}/starship/starship.toml"
install_config "fzf" "everforest.sh" "${CONFIG_DIR}/fzf/everforest.sh"
install_config "delta" "gitconfig.delta" "${CONFIG_DIR}/git/everforest-delta"
install_config "tmux" "everforest.tmux.conf" "${CONFIG_DIR}/tmux/everforest.conf"
# Install fish colors (all variants)
for variant in dark-hard dark-medium dark-soft light-hard light-medium light-soft; do
install_config "fish" "everforest-${variant}.fish" "${CONFIG_DIR}/fish/conf.d/everforest-${variant}.fish"
done
# Install LS_COLORS
if [[ -f "${SCRIPT_DIR}/ls_colors/everforest.sh" ]]; then
echo "📝 Installing LS_COLORS"
mkdir -p "${CONFIG_DIR}/dircolors"
cp "${SCRIPT_DIR}/ls_colors/everforest.sh" "${CONFIG_DIR}/dircolors/everforest.sh"
cp "${SCRIPT_DIR}/ls_colors/dircolors" "${CONFIG_DIR}/dircolors/everforest"
fi
echo "✅ Installation complete!"
echo ""
echo "To use the themes:"
echo " - Starship: export STARSHIP_CONFIG=~/.config/starship/starship.toml"
echo " - FZF: source ~/.config/fzf/everforest.sh"
echo " - LS_COLORS: source ~/.config/dircolors/everforest.sh"
echo " - Fish: restart fish or run 'exec fish'"

View File

@@ -1,4 +1,4 @@
# Everforest colors for jq
# Everforest dark-hard theme for jq
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest colors for jq
# Everforest dark-medium theme for jq
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest colors for jq
# Everforest dark-soft theme for jq
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest colors for jq
# Everforest light-hard theme for jq
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest colors for jq
# Everforest light-medium theme for jq
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest colors for jq
# Everforest light-soft theme for jq
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest theme for LazyGit
# Everforest dark-hard theme for LazyGit
# Generated from template - do not edit manually
gui:

View File

@@ -1,4 +1,4 @@
# Everforest theme for LazyGit
# Everforest dark-medium theme for LazyGit
# Generated from template - do not edit manually
gui:

View File

@@ -1,4 +1,4 @@
# Everforest theme for LazyGit
# Everforest dark-soft theme for LazyGit
# Generated from template - do not edit manually
gui:

View File

@@ -1,4 +1,4 @@
# Everforest theme for LazyGit
# Everforest light-hard theme for LazyGit
# Generated from template - do not edit manually
gui:

View File

@@ -1,4 +1,4 @@
# Everforest theme for LazyGit
# Everforest light-medium theme for LazyGit
# Generated from template - do not edit manually
gui:

View File

@@ -1,4 +1,4 @@
# Everforest theme for LazyGit
# Everforest light-soft theme for LazyGit
# Generated from template - do not edit manually
gui:

View File

@@ -1,4 +1,4 @@
# Everforest colors for less pager
# Everforest dark-hard theme for less pager
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest colors for less pager
# Everforest dark-medium theme for less pager
# Generated from template - do not edit manually
# Source this in your shell configuration

View File

@@ -1,4 +1,4 @@
# Everforest colors for less pager
# Everforest dark-soft theme for less pager
# Generated from template - do not edit manually
# Source this in your shell configuration

Some files were not shown because too many files have changed in this diff Show More