<commit_before># xwindow-switcher.sh

A minimalist (<20 LOC) x11 window switcher (ALT+TAB replacement) in BASH.

Powered by [wmctrl](https://sites.google.com/site/tstyblo/wmctrl/) and
[Zenity](https://wiki.gnome.org/Projects/Zenity).

License: [MIT](LICENSE)

![xwindow-switcher screenshot](screenshot.png)

## Installation

1. Make sure you have
[wmctrl](https://sites.google.com/site/tstyblo/wmctrl/) and
[Zenity](https://wiki.gnome.org/Projects/Zenity) installed first (Use
you package manager if not).

2. Run [xwindow-switcher.sh](xwindow-switcher.sh) in a terminal
   (`./xwindow-switcher.sh`).<commit_msg>Update README to show usage and some options.<commit_after># xwindow-switcher.sh

A minimalist (<20 LOC) x11 window switcher (ALT+TAB replacement) in BASH.

Powered by [wmctrl](https://sites.google.com/site/tstyblo/wmctrl/) and
[Zenity](https://wiki.gnome.org/Projects/Zenity).

License: [MIT](LICENSE)

![xwindow-switcher screenshot](screenshot.png)

## Installation

1. Make sure you have
[wmctrl](https://sites.google.com/site/tstyblo/wmctrl/) and
[Zenity](https://wiki.gnome.org/Projects/Zenity) installed first (Use
you package manager if not).

2. Run [xwindow-switcher.sh](xwindow-switcher.sh) in a terminal
   (`./xwindow-switcher.sh`).

## Usage

###### `xwindow-switcher.sh`

Can be called without any options (defaults to a 800x600 GUI).

###### `xwindow-switcher.sh --help`

Shows the relevant parts of the help of Zenity. `xwindow-switcher.sh`
accepts the same arguments as `zenity --list ...`.

###### `xwindow-switcher.sh --width=1200 --height=600 --title="My Custom Title"`

Set the width, height and title of `xwindow-switcher.sh`'s GUI.

{'fraction_non_alphanumeric': 0.15896820635872824, 'fraction_numerical': 0.014997000599880024, 'mean_word_length': 4.56, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '153309', 'n_tokens_mistral': 621, 'n_tokens_neox': 595, 'n_words': 145}