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

# todo get this app not from appstore
# https://github.com/TermiT/Flycut/issues/56

if ! ls "$HOME/Library/Application Support/Flycut/com.generalarcade.flycut.plist" &> /dev/null
then
  echo_info "Flycut.app don't have a preferences file yet. Please change a setting a quit the app to create one. Then press a key"
  open -a Flycut
  read -k
  sleep 1
fi

# kill so the app don't keep runtime values
killall Flycut &> /dev/null

plistbuddy "Flycut/com.generalarcade.flycut" "Set stickyBezel 1"
plistbuddy "Flycut/com.generalarcade.flycut" "Set displayNum 40"
plistbuddy "Flycut/com.generalarcade.flycut" "Set rememberNum 99"<commit_msg>Adjust Flycut pref message<commit_after>#!/usr/bin/env zsh

# todo get this app not from appstore
# https://github.com/TermiT/Flycut/issues/56

if ! ls "$HOME/Library/Application Support/Flycut/com.generalarcade.flycut.plist" &> /dev/null
then
  echo_info "Flycut.app don't have a preferences file yet. Please change a setting, then quit the app (this will create a file).\nWhen it's done, press a key to continue."
  open -a Flycut
  read -k
  sleep 1
fi

# kill so the app don't keep runtime values
killall Flycut &> /dev/null

plistbuddy "Flycut/com.generalarcade.flycut" "Set stickyBezel 1"
plistbuddy "Flycut/com.generalarcade.flycut" "Set displayNum 40"
plistbuddy "Flycut/com.generalarcade.flycut" "Set rememberNum 99"
{'fraction_non_alphanumeric': 0.10243553008595989, 'fraction_numerical': 0.011461318051575931, 'mean_word_length': 4.352490421455939, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5415275', 'n_tokens_mistral': 518, 'n_tokens_neox': 472, 'n_words': 153}