i3 script to switch between windows in history
Project description
i3-switch
i3 script to switch between windows in history.
This script is inspired by i3-swap-focus. It provides a configurable history length and ignore windows in scratchpad. Besides, it can skip the closed windows or windows not in the current workspace.
Installation
pip install i3-switch
Configuration
Add the following lines to your i3 config file:
# Start i3-switch process
exec i3-switch
bindsym $mod+Tab exec pkill -USR1 -F "${XDG_RUNTIME_DIR}/i3-switch.pid"
# Switch in the same workspaces
# bindsym $mod+Tab exec pkill -USR2 -F "${XDG_RUNTIME_DIR}/i3-switch.pid"
To change the max length of the window history records in your i3 config:
exec i3-switch --max-len 1000
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
i3-switch-1.1.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for i3_switch-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d013d2d73a084f67e0cf30262d7e82ddcc7bdc2f4a15937abd6f428aecd01a7 |
|
MD5 | 136c2c5ea73f7aa47721f6d44cfc9642 |
|
BLAKE2b-256 | 1d1495cab8622ce9be27364bbe7da9df81038bfd4b261e0b2ea3c042a59d4f1b |