<commit_before>#!/usr/bin/env bash

initialize() {
  leftSeperator=$(getOptionOrElse "@left-seperator" "")
  rightSeperator=$(getOptionOrElse "@right-seperator" "")
  leftSubseperator=$(getOptionOrElse "@left-subseperator" "")
  rightSubseperator=$(getOptionOrElse "@right-subseperator" "")

  bgColor=$(getOptionOrElse "@bg-color" 'black')
  fgColor=$(getOptionOrElse "@fg-color" 'white')
  primaryColor=$(getOptionOrElse "@primary-color" 'green')
  secondaryColor=$(getOptionOrElse "@secondary-color" 'red')

  leftColors=$(getOptionOrElse "@left-colors", 'blue, green')
  rightColors=$(getOptionOrElse "@right-colors", 'blue, green')
}

setDefaults() {
  setOption "message-command-style" "fg=$fgColor,bg=$bgColor"
  setOption "message-style" "fg=$fgColor,bg=$bgColor"
  setOption "status-style" "fg=$fgColor,bg=$bgColor"
  setOption 'pane-border-style' "fg=$bgColor,bg=$bgColor"
  setOption 'pane-active-border-style' "fg=$primaryColor"
  setWindowOption "window-status-activity-style" "fg=$bgColor,bg=$secondaryColor"
  setWindowOption "window-status-bell-style" "fg=$bgColor,bg=$secondaryColor"
  setWindowOption "window-status-current-style" "fg=$bgColor,bg=$primaryColor"<commit_msg>use leftColors for default rightColors<commit_after>#!/usr/bin/env bash

initialize() {
  leftSeperator=$(getOptionOrElse "@left-seperator" "")
  rightSeperator=$(getOptionOrElse "@right-seperator" "")
  leftSubseperator=$(getOptionOrElse "@left-subseperator" "")
  rightSubseperator=$(getOptionOrElse "@right-subseperator" "")

  bgColor=$(getOptionOrElse "@bg-color" 'black')
  fgColor=$(getOptionOrElse "@fg-color" 'white')
  primaryColor=$(getOptionOrElse "@primary-color" 'green')
  secondaryColor=$(getOptionOrElse "@secondary-color" 'red')

  leftColors=$(getOptionOrElse "@left-colors", 'blue, green')
  rightColors=$(getOptionOrElse "@right-colors", "$leftColors")
}

setDefaults() {
  setOption "message-command-style" "fg=$fgColor,bg=$bgColor"
  setOption "message-style" "fg=$fgColor,bg=$bgColor"
  setOption "status-style" "fg=$fgColor,bg=$bgColor"
  setOption 'pane-border-style' "fg=$bgColor,bg=$bgColor"
  setOption 'pane-active-border-style' "fg=$primaryColor"
  setWindowOption "window-status-activity-style" "fg=$bgColor,bg=$secondaryColor"
  setWindowOption "window-status-bell-style" "fg=$bgColor,bg=$secondaryColor"
  setWindowOption "window-status-current-style" "fg=$bgColor,bg=$primaryColor"
{'fraction_non_alphanumeric': 0.17391304347826086, 'fraction_numerical': 0.0, 'mean_word_length': 7.948148148148148, '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': '309490', 'n_tokens_mistral': 860, 'n_tokens_neox': 834, 'n_words': 122}