Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 558 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 558 Bytes

i3-alt-tab window switcher

Cycle through all open windows in i3 using node.js (requires at least v4.0.0).

Installation

$ sudo npm i -g i3-alt-tab

Usage

$ i3-alt-tab --next  # Focus next window
$ i3-alt-tab --prev  # Focus previous window

Example i3 configuration

bindsym $alt+Tab exec i3-alt-tab --next
bindsym $alt+Shift+Tab exec i3-alt-tab --prev

Exit codes

0  Window switched successfully
1  Wrong usage/show help
2  No window found
3  i3 connection error