i3smartfocus
i3smartfocus can be used in place of the default i3wm focus in order
to restore a more natural way of moving focus.
The default focus behavior will focus on the last focused window inside
a container (which might not be the chosen direction) instead of honoring
the direction chosen. i3smartfocus fixes this.
Installation
sudo pip3 install i3smartfocus
Or simply copy i3smartfocus.py somewhere in your path.
Usage
Edit your i3 config ~/.config/i3/config and replace the default focus tool
bindsym Mod1+Left exec --no-startup-id "i3smartfocus left"
bindsym Mod1+Down exec --no-startup-id "i3smartfocus down"
bindsym Mod1+Up exec --no-startup-id "i3smartfocus up"
bindsym Mod1+Right exec --no-startup-id "i3smartfocus right"
#bindsym Mod1+Left focus left
#bindsym Mod1+Down focus down
#bindsym Mod1+Up focus up
#bindsym Mod1+Right focus right
Contribution
If you are having trouble installing or using i3smartfocus, open an issue.
If you want to contribute, feel free to do a PR (please follow PEP8).
License
This project is licensed under the terms of the GPLv3 license.
Metadata
Release files for i3smartfocus 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| i3smartfocus-0.1.4.tar.gz | 17.2 kB | Without provenance | Details for i3smartfocus-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| i3smartfocus-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for i3smartfocus-0.1.4-py3-none-any.whl |
Total release size: 34.4 kB
Release files / i3smartfocus-0.1.4.tar.gz
| Download URL | i3smartfocus-0.1.4.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
866c43f58120ccd3944069a4733a9d824e092d110e3bdc0aee714be092342dd0
|
|
BLAKE2b-256 checksum How to use checksums |
02f32aa5728312dd367eff3dcb04c2ec7deff900ccb2736b660a772c27bfdd17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Release files / i3smartfocus-0.1.4-py3-none-any.whl
| Download URL | i3smartfocus-0.1.4-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1784bbc5ff05be3ab3b06613f83d42e1f03e0999663b8576cca207463118c579
|
|
BLAKE2b-256 checksum How to use checksums |
02b3def7a5893fe5c93bb4878ab817d741e8b3fa6fed333f2c31b962331d8125
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Security for i3smartfocus 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.