semvec/pypi-packages huggingface dataset:
via-xterm 0.1.2
Connect Python script to xterm

via-xterm: connect Python script to ``xterm``
#############################################

Usage
=====

``via-xterm script [argument ...]``

How is this useful?
===================

To simplify debugging of scripts, that use `escape sequences
<https://en.wikipedia.org/wiki/ANSI_escape_code>`_/`curses
<https://docs.python.org/3/howto/curses.html>`_/`urwid
<http://urwid.org/>`_, in an IDE (e.g. `PyCharm
<https://www.jetbrains.com/pycharm/>`_). Normally IDEs' integrated consoles do
not handle all the escape sequences, so one has to either live with that or
use remote debugging.

``via-xterm`` wraps the target script in a way that its stdin/stdout are
connected to a new `xterm -S
<https://linux.die.net/man/1/xterm>`_ instance, which handles the user
interaction. Debugging the target script is possible, because it is run using
``compile()`` and ``exec()`` builtins.
polybar-reload 0.1.7
reloads polybar when screen resolution changes
Keywords: polybar,reload,resize,resolution

# polybar-reload

Signals `polybar` to reload when screen resolution has changed. Especially useful
when running in a vm, when screen resizes can occur often.

Currently supports one screen.

## Installation

Enable interprocess communication for each bar you would like to reload:

Edit `~/.config/polybar/config`:

```
[bar/myBar1]
enable-ipc = true
...


[bar/myBar2]
enable-ipc = true
```

Install `polybar-reload` via pip:

`pip install --user polybar-reload`


Run `polybar-reload`. This can be done in a number of places. If you don't use
any of the tools mentioned below, you can run `polybar-reload` in whatever script
you use to start polybar.

### for i3 users:

Add the following to your `~/.config/i3/config`

```
exec_always --no-startup-id ~/.local/bin/polybar-reload
```

This will load polybar on startup, but not on "reload i3" (commonly bound to Mod+Shift+r)

## Upgrading

`pip install --upgrade --user polybar-reload`

If `polybar-reload` doesn't update to the newest version you can uninstall and reinstall.
Make sure to bypass local cache.

`pip uninstall polybar-reload && pip install --user --no-cache-dir polybar-reload`