<commit_before>#! /bin/bash

# tomato_enpassant is my personal script for automatically
# doing everything to set-up displays properly when run.

# stopgap for feh using a relative path for its wallpaper.
# The below should just reflect whatever directory makes
# the wallpaper path coherent. 
cd ~; 

xrandr_output=$(xrandr -q); 

if [[ "$xrandr_output" =~ "HDMI1 connected" ]]; then 
  printf "Doing stuff for HDMI connection.\n"; 
  xrandr --output HDMI1 --auto --left-of LVDS1; 
  pactl set-card-profile 0 output:hdmi-stereo+input:analog-stereo; 
else 
  printf "Doing stuff for HDMI disconnection.\n"; 
  xrandr --auto; 
  pactl set-card-profile 0 output:analog-stereo+input:analog-stereo; 
fi; 

sh ~/.fehbg; 
<commit_msg>tomato_enpassant: modifications for the new E440 pending testing.<commit_after>#! /bin/bash

# tomato_enpassant is my personal script for automatically
# doing everything to set-up displays properly when run.

# stopgap for feh using a relative path for its wallpaper.
# The below should just reflect whatever directory makes
# the wallpaper path coherent. 
cd ~; 

xrandr_output=$(xrandr -q); 

if [[ "$xrandr_output" =~ "HDMI1 connected" ]]; then 
  printf "Doing stuff for HDMI connection.\n"; 
  xrandr --output HDMI1 --auto --left-of eDP1; 
  pactl set-card-profile alsa_card.pci-0000_00_03.0 output:hdmi-stereo ; 
else 
  printf "Doing stuff for HDMI disconnection.\n"; 
  xrandr --auto; 
  pactl set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo ;
fi; 

sh ~/.fehbg; 

{'fraction_non_alphanumeric': 0.10408432147562582, 'fraction_numerical': 0.01844532279314888, 'mean_word_length': 3.9, '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': '7179089', 'n_tokens_mistral': 563, 'n_tokens_neox': 515, 'n_words': 165}