<commit_before>script:
  before:
    - |
      # Do not allow witray to be killed with Rumai::Client#kill.
      class Rumai::Client
        alias _e7ce5cfa_da6d_467f_837b_e9e738c0ee1b kill
        def kill
          props = self.props.read rescue nil
          if props == 'witray:witray:witray'
            LOG.info 'Rumai::Client#kill: skipping witray'
          else
            _e7ce5cfa_da6d_467f_837b_e9e738c0ee1b
          end
        end
      end

control:
  action:

    client_fullscreen!: curr_client.fullscreen!

    client_close: curr_client.kill

    client_kill: curr_client.slay

    # Show a list of clients, and if user selects one,
    # tag it with the same tag as the current view.
    client_invite_menu: |
      if client = client_menu('invite client:', :client)
        client.tag curr_tag
      end
<commit_msg>exclude witray(1) completely from Rumai's clients<commit_after>script:
  before:
    - |
      # Do not allow witray to be selected by any grouping commands.
      module Rumai::ClientContainer
        alias _e7ce5cfa_da6d_467f_837b_e9e738c0ee1b clients
        def clients
          _e7ce5cfa_da6d_467f_837b_e9e738c0ee1b.reject do |client|
            'witray:witray:witray' == client.props.read rescue nil
          end
        end
      end

control:
  action:

    client_fullscreen!: curr_client.fullscreen!

    client_close: curr_client.kill

    client_kill: curr_client.slay

    # Show a list of clients, and if user selects one,
    # tag it with the same tag as the current view.
    client_invite_menu: |
      if client = client_menu('invite client:', :client)
        client.tag curr_tag
      end

{'fraction_non_alphanumeric': 0.06480920654149, 'fraction_numerical': 0.036947304663840094, 'mean_word_length': 2.477894736842105, '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': '2102350', 'n_tokens_mistral': 593, 'n_tokens_neox': 566, 'n_words': 143}