fb0e497bb4 | ||
---|---|---|
docs | ||
scripts | ||
test | ||
.gitignore | ||
.jsdoc.conf.json | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
index.js | ||
package-lock.json | ||
package.json |
README.md
i3-cycle-focus
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