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

SCREENS_DIR="$HOME/Pictures/Screens"

if [[ ! -e "$SCREENS_DIR" ]]; then
    mkdir -p "$SCREENS_DIR"
fi

# Make sure that settings aren't overridden
osascript -e 'tell application "System Preferences" to quit'

# Ask for the administrator password upfront
sudo -v

# Set highlight color
defaults write NSGlobalDomain AppleHighlightColor -string "0.5882 0.8824 0.8824"

# Disable transparency in the menu bar and elsewhere on Yosemite
defaults write com.apple.universalaccess reduceTransparency -bool true

# Set sidebar icon size to medium
defaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 2

# Always show scrollbars
defaults write NSGlobalDomain AppleShowScrollBars -string "WhenScrolling"
# Possible values: `WhenScrolling`, `Automatic` and `Always`

# Disable smart quotes as they’re annoying when typing code
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false<commit_msg>defaults.sh: Remove reduced transparency<commit_after>#!/usr/bin/env bash

SCREENS_DIR="$HOME/Pictures/Screens"

if [[ ! -e "$SCREENS_DIR" ]]; then
    mkdir -p "$SCREENS_DIR"
fi

# Make sure that settings aren't overridden
osascript -e 'tell application "System Preferences" to quit'

# Ask for the administrator password upfront
sudo -v

# Set highlight color
defaults write NSGlobalDomain AppleHighlightColor -string "0.5882 0.8824 0.8824"

# Set sidebar icon size to medium
defaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 2

# Always show scrollbars
defaults write NSGlobalDomain AppleShowScrollBars -string "WhenScrolling"
# Possible values: `WhenScrolling`, `Automatic` and `Always`

# Disable smart quotes as they’re annoying when typing code
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
{'fraction_non_alphanumeric': 0.07254464285714286, 'fraction_numerical': 0.017857142857142856, 'mean_word_length': 5.591911764705882, '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': '1948695', 'n_tokens_mistral': 560, 'n_tokens_neox': 506, 'n_words': 190}