<commit_before>- defaults:
    link:
      relink: true
      create: true

- clean: ['~']

- shell:
    - [i3/genconf, "Generating i3 config"]

- link:
    ~/.i3/config: i3/config
    ~/.i3blocks.conf: i3/i3blocks.conf
    ~/bin/hop: i3/scripts/hop
    ~/bin/i3_switch_workspace.sh: i3/scripts/i3_switch_workspace.sh
    ~/.config/terminator/config: terminator/config
    ~/.xbindkeysrc: xbindkeys/xbindkeysrc
    ~/.fonts/Inconsolata-Regular.ttf: fonts/Inconsolata-Regular.ttf
    ~/.fonts/FontAwesome.otf: fonts/FontAwesome.otf
    ~/.fonts/SourceCodePro-Regular.ttf: fonts/SourceCodePro-Regular.ttf
    ~/.fonts/NotoColorEmoji.ttf: fonts/NotoColorEmoji.ttf
    ~/.config/fontconfig/fonts.conf: fonts/fonts.conf

- shell:
    - [fc-cache -f -v, "Regenerate font cache."]<commit_msg>try to fix fc-cache errors<commit_after>- defaults:
    link:
      relink: true
      create: true

- clean: ['~']

- shell:
    - [i3/genconf, "Generating i3 config"]

- link:
    ~/.i3/config: i3/config
    ~/.i3blocks.conf: i3/i3blocks.conf
    ~/bin/hop: i3/scripts/hop
    ~/bin/i3_switch_workspace.sh: i3/scripts/i3_switch_workspace.sh
    ~/.config/terminator/config: terminator/config
    ~/.xbindkeysrc: xbindkeys/xbindkeysrc
    ~/.fonts/Inconsolata-Regular.ttf: fonts/Inconsolata-Regular.ttf
    ~/.fonts/FontAwesome.otf: fonts/FontAwesome.otf
    ~/.fonts/SourceCodePro-Regular.ttf: fonts/SourceCodePro-Regular.ttf
    ~/.fonts/NotoColorEmoji.ttf: fonts/NotoColorEmoji.ttf
    ~/.config/fontconfig/fonts.conf: fonts/fonts.conf

- shell:
    - ['([ -x "$(command -v fc-cache)" ] && fc-cache -f -v) || echo "no fc-cache command"', "Regenerate font cache."]
{'fraction_non_alphanumeric': 0.16101694915254236, 'fraction_numerical': 0.013317191283292978, 'mean_word_length': 3.012135922330097, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6912797', 'n_tokens_mistral': 685, 'n_tokens_neox': 648, 'n_words': 97}