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

set -e
set -u

enabled=()
disabled=()

command -v systemctl >/dev/null 2>&1 || exit 0

enabled+=("keymap@$(hostname)")
enabled+=('app@screencloud')
enabled+=('app@unclutter')
enabled+=('geoclue-agent')
enabled+=('insync')
enabled+=('numlock')
enabled+=('pulseaudio.socket')
enabled+=('redshift-gtk')
enabled+=('ssh-agent')
enabled+=('transmission-gtk')
enabled+=('urxvtd')
enabled+=('wm.target')
enabled+=('xinit.target')
enabled+=('xresources')
enabled+=('xscreensaver')

if [[ -e $HOME/.config/xbindkeys/xbindkeysrc ]]; then
  enabled+=('xbindkeys')
fi

for unit in $enabled; do
  echo "[Enable] $unit"
  systemctl --user enable $unit
done<commit_msg>Add app@flameshot to units<commit_after>#!/usr/bin/env zsh

set -e
set -u

enabled=()
disabled=()

command -v systemctl >/dev/null 2>&1 || exit 0

enabled+=("keymap@$(hostname)")
enabled+=('app@screencloud')
enabled+=('app@unclutter')
enabled+=('app@flameshot')
enabled+=('geoclue-agent')
enabled+=('insync')
enabled+=('numlock')
enabled+=('pulseaudio.socket')
enabled+=('redshift-gtk')
enabled+=('ssh-agent')
enabled+=('transmission-gtk')
enabled+=('urxvtd')
enabled+=('wm.target')
enabled+=('xinit.target')
enabled+=('xresources')
enabled+=('xscreensaver')

if [[ -e $HOME/.config/xbindkeys/xbindkeysrc ]]; then
  enabled+=('xbindkeys')
fi

for unit in $enabled; do
  echo "[Enable] $unit"
  systemctl --user enable $unit
done
{'fraction_non_alphanumeric': 0.2231638418079096, 'fraction_numerical': 0.00423728813559322, 'mean_word_length': 7.097142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1134434', 'n_tokens_mistral': 530, 'n_tokens_neox': 515, 'n_words': 101}