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-0.1.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for i3_switch-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9c7129d495b445651d9f368ecda5638fdc45af01ed68e51c1786ffd8736512b |
|
MD5 | 023a1672a55a91d83d755d1cff96d222 |
|
BLAKE2b-256 | 497e8d65c5dad428bdabb5731826cbab1f05f28d5958503b0251bbd8313ed40a |