<commit_before>function sway_selector
    swaymsg --type get_tree | jq -r '.. | select(.pid?) | select(.pid != 0) | "\(.pid)\t\(.id)\t\(.name)"' | while read --local pid con_id title
        set --local process_name (cat "/proc/$pid/cmdline")
        echo -- "[$con_id] $title ($process_name)"
    end | wofi --dmenu | read --local selection
    set sel_con (string replace --regex --filter "^\[(\d+)].*" '$1' "$selection")
    swaymsg [con_id="$sel_con"] move container to workspace current
end<commit_msg>fish/sway: disable PID check to get all containers<commit_after>function sway_selector
    swaymsg --type get_tree | jq -r '.. | select(.pid?) | "\(.pid)\t\(.id)\t\(.name)"' | while read --local pid con_id title
        # TODO handle cases where PID is 0, such as the Steam client
        set --local process_name (cat "/proc/$pid/cmdline")
        echo -- "$title ($process_name)"
    end | wofi --dmenu | read --local selection
    set sel_con (string replace --regex --filter "^\[(\d+)].*" '$1' "$selection")
    swaymsg [con_id="$sel_con"] move container to workspace current
end
{'fraction_non_alphanumeric': 0.17706422018348625, 'fraction_numerical': 0.003669724770642202, 'mean_word_length': 2.9817518248175183, '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': '969617', 'n_tokens_mistral': 356, 'n_tokens_neox': 344, 'n_words': 113}