Simulates an alt-tab operation for the i3 window manager. Shifts the mouse cursor position to the center of newly focused window using xdotool. Cycles visible windows only.
 
 
Go to file
Justin Collier fb0e497bb4
Merge branch 'hotfix-0.1.4'
2018-08-03 07:21:55 -07:00
docs fixed error identifier and changelog 2018-08-03 07:21:25 -07:00
scripts fixed error identifier and changelog 2018-08-03 07:21:25 -07:00
test added test instructions to readme 2018-08-02 18:08:15 -07:00
.gitignore finished code, tests, and documentation 2018-08-02 14:59:09 -07:00
.jsdoc.conf.json finished code, tests, and documentation 2018-08-02 14:59:09 -07:00
CHANGELOG.md fixed error identifier and changelog 2018-08-03 07:21:25 -07:00
LICENSE Initial commit 2018-08-02 09:50:26 -07:00
README.md fixed error identifier and changelog 2018-08-03 07:21:25 -07:00
index.js fixed error identifier and changelog 2018-08-03 07:21:25 -07:00
package-lock.json fixed error identifier and changelog 2018-08-03 07:21:25 -07:00
package.json fixed error identifier and changelog 2018-08-03 07:21:25 -07:00

README.md

i3-cycle-focus

NPM

NPM NPM NPM NPM NPM NPM

Simulates an alt-tab operation for the i3 window manager. Shifts the mouse cursor position to the center of focus. Cycles visible windows only.

Getting Started

Prerequisites

  • Node.JS version 8.3.0 or above.
  • i3wm
  • i3-nagbar
  • xdotool

Installing

npm i -g i3-cycle-focus

Deployment

The command should be bound within the i3 config. This is usually ~/.config/i3/config. The following lines will bind the script to alt+tab for forward cycling and alt+shift+tab for reverse cycling.

bindsym Mod1+Tab       exec --no-startup-id i3-cycle-focus
bindsym Mod1+Shift+Tab exec --no-startup-id i3-cycle-focus --reverse

Documentation

Internal documentation here.

Versioning

Versioned using SemVer. For available versions, see the Changelog.

Contribution

Please raise an issue if you find any. Pull requests are welcome!

Author

Justin Collier - jpcx

License

This project is licensed under the MIT License - see the LICENSE file for details