Files
dotfiles/config/pokefetch/README.md
T

1.2 KiB

Pokefetch presets

Store reusable Pokémon rules in this folder. Each .zsh preset defines pokefetch_args() and fills the reply array with the complete colorscripts arguments. Keep credentials, cached weather and machine-specific settings outside the repository.

Enable one preset in ~/.config/dotfiles/local.zsh:

source "$DOTFILES_DIR/config/pokefetch/arceus.zsh"
Preset Behavior
arceus.zsh Arceus, 5% shiny; holidays override Las Cruces weather. Rule guide. Requires curl, jq and flock for weather refreshes.
lugia-daynight.zsh Normal Lugia during the day, Shadow Lugia at night.

Open a new terminal after changing presets. Source one preset at a time; if several define the hook, the last one wins. Remove the source line to restore the default POKEMON* settings on the next terminal start.

To add a preset, create a clearly named .zsh file here, define the hook, document its options and list it in this table. Return success after setting a nonempty reply array. Shared helpers should use a distinct prefix to avoid collisions with other shell functions. See the main README for a minimal custom hook example.