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

# This runs a terminal timer that counts down to zero
# from a specified amount of minutes and then
# lets the window manager draw attention to it in it's native way.

# based on script and explanation from: https://erikwinter.nl/notes/2020/basic-pomodoro-timer-in-bash-with-termdown-and-wmctrl/

# keywords: pomodoro, timer, stopwatch, wmctrl

# usage:
# pomodoro.sh -t normal  # set a normal pomodoro
# pomodoro.sh -t break  # set a break pomodoro

set -eou pipefail

usage()
{
	echo "usage: pomodoro.sh -t [normal/break]"
}

no_args="true"
while getopts ":t:" arg; do
  case $arg in
    t) TYPE=$OPTARG;;<commit_msg>feat(bin): removed redundant comment.<commit_after>#!/usr/bin/env bash

# This runs a terminal timer that counts down to zero
# from a specified amount of minutes and then
# lets the window manager draw attention to it in it's native way.

# based on script and explanation from: https://erikwinter.nl/notes/2020/basic-pomodoro-timer-in-bash-with-termdown-and-wmctrl/

# keywords: pomodoro, timer, stopwatch, wmctrl

set -eou pipefail

usage()
{
	echo "usage: pomodoro.sh -t [normal/break]"
}

no_args="true"
while getopts ":t:" arg; do
  case $arg in
    t) TYPE=$OPTARG;;
{'fraction_non_alphanumeric': 0.11400651465798045, 'fraction_numerical': 0.006514657980456026, 'mean_word_length': 4.036885245901639, 'pattern_counts': {'":': 2, '<': 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': '455628', 'n_tokens_mistral': 438, 'n_tokens_neox': 415, 'n_words': 145}