<commit_before># Functions used by workspace scripts
# originally from
#   https://github.com/fhaun/config-misc/blob/master/i3-stuff/auto-start-for-i3

# maximum time to wait for a program to start
MAXWAIT=30

start() {
    eval "$@ &"                  # Handle arguments with whitspaces
    echo "$@ started, waiting for pid..."
}

# wait for a class name to show up in i3 window list
wait_for_title () {<commit_msg>Reduce command timeout to 10 (from 30)<commit_after># Functions used by workspace scripts
# originally from
#   https://github.com/fhaun/config-misc/blob/master/i3-stuff/auto-start-for-i3

# maximum time to wait for a program to start
MAXWAIT=10

start() {
    eval "$@ &"                  # Handle arguments with whitspaces
    echo "$@ started, waiting for pid..."
}

# wait for a class name to show up in i3 window list
wait_for_title () {
{'fraction_non_alphanumeric': 0.10710128055878929, 'fraction_numerical': 0.01629802095459837, 'mean_word_length': 3.1148325358851676, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2742783', 'n_tokens_mistral': 278, 'n_tokens_neox': 260, 'n_words': 92}