<commit_before>#!/bin/bash

COLORS=(
	"Red3"
	"Green3"
	"Yellow3"
	"Blue3"
	"Magenta3"
	"Cyan3"
	"Grey25"
	"Red"
	"Green"
	"Yellow"
	"Blue"
	"Magenta"
	"Cyan"
	"Black"
	"White"
)

INDEX=( {0..15} )

OPTCOLORS=( "${COLORS[@]}" )
OPT="${1:-'-i'}"


[ ${OPT} == '-c' ] && OPTCOLORS=( "${COLORS[@]}" )
[ ${OPT} == '-i' ] && OPTCOLORS=( "${INDEX[@]}" )


RANDOM=$(date +%N)
size=${#OPTCOLORS[@]}
(( i=$RANDOM % $size ))
color=${OPTCOLORS[i]}



urxvtc -cr $color<commit_msg>Bugfix in urxvtc-color.sh parameter handler.<commit_after>#!/bin/bash

COLORS=(
	"Red3"
	"Green3"
	"Yellow3"
	"Blue3"
	"Magenta3"
	"Cyan3"
	"Grey25"
	"Red"
	"Green"
	"Yellow"
	"Blue"
	"Magenta"
	"Cyan"
	"Black"
	"White"
)

INDEX=( {0..15} )

OPTCOLORS=( "${COLORS[@]}" )
OPT=${1:-'-i'}


[ ${OPT} == '-c' ] && OPTCOLORS=( "${COLORS[@]}" )
[ ${OPT} == '-i' ] && OPTCOLORS=( "${INDEX[@]}" )


RANDOM=$(date +%N)
size=${#OPTCOLORS[@]}
(( i=$RANDOM % $size ))
color=${OPTCOLORS[i]}



urxvtc -cr $color
{'fraction_non_alphanumeric': 0.30093071354705275, 'fraction_numerical': 0.02481902792140641, 'mean_word_length': 4.260869565217392, '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': '723905', 'n_tokens_mistral': 497, 'n_tokens_neox': 491, 'n_words': 81}