i3-cycle-focus

0.1.4 • Public • Published

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

Package Sidebar

Install

npm i i3-cycle-focus

Weekly Downloads

1

Version

0.1.4

License

MIT

Unpacked Size

52.6 kB

Total Files

14

Last publish

Collaborators

  • jpcx