Files
cachyos/run_onchange_after_build-bat-cache.sh.tmpl
Prad Nukala ee355bcfd5 Initial import: chezmoi source for CachyOS + Umbriel + Noctalia
Imported from prdlk/dotfiles master (efdd827). Drops the niri, Hyprland/Omarchy,
macOS, and Blume docs-site layers; docs/ is plain Markdown.
2026-11-02 09:14:11 -05:00

8 lines
300 B
Cheetah
Executable File

#!/bin/sh
# Rebuild bat's syntax/theme cache when managed inputs change.
# themes hash: {{ include "dot_config/bat/themes/cyberdream.tmTheme" | sha256sum }}
# config hash: {{ include "dot_config/bat/config" | sha256sum }}
set -eu
command -v bat >/dev/null 2>&1 || exit 0
bat cache --build >/dev/null