Metadata-Version: 2.1
Name: i3smartfocus
Version: 0.1
Summary: i3wm smart focus
Home-page: https://github.com/deadc0de6/i3smartfocus
Author: deadc0de6
Author-email: deadc0de6@foo.bar
License: GPLv3
Download-URL: https://github.com/deadc0de6/i3smartfocus/archive/v0.1.tar.gz
Keywords: i3wm tiling focus
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Requires-Python: >=3.4
Requires-Dist: i3ipc
Provides-Extra: dev
Requires-Dist: check-manifest ; extra == 'dev'
Provides-Extra: test
Requires-Dist: pycodestyle ; extra == 'test'
Requires-Dist: pyflakes ; extra == 'test'

|Build Status| |PyPI version| |Python| |License: GPL v3|

i3smartfocus
============

``i3smartfocus`` can be used in place of the default i3wm focus in order
to restore a more natural way of moving focus.

The default focus behavior will focus on the last focused window inside
a container (which might not be the chosen direction) instead of
honoring the direction chosen. ``i3smartfocus`` fixes this.

Installation
============

.. code:: bash

   sudo pip3 install i3smartfocus

Or simply copy (i3smartfocus.py)[i3smartfocus/i3smartfocus.py] somewhere
in your path.

Usage
=====

Edit your i3 config ``~/.config/i3/config`` and replace the default
focus tool

.. code:: bash

   bindsym Mod1+Left  exec --no-startup-id "i3smartfocus left"
   bindsym Mod1+Down  exec --no-startup-id "i3smartfocus down"
   bindsym Mod1+Up    exec --no-startup-id "i3smartfocus up"
   bindsym Mod1+Right exec --no-startup-id "i3smartfocus right"

   #bindsym Mod1+Left focus left
   #bindsym Mod1+Down focus down
   #bindsym Mod1+Up focus up
   #bindsym Mod1+Right focus right

Contribution
============

If you are having trouble installing or using ``i3smartfocus``, open an
issue.

If you want to contribute, feel free to do a PR (please follow PEP8).

License
=======

This project is licensed under the terms of the GPLv3 license.

.. |Build Status| image:: https://travis-ci.org/deadc0de6/i3smartfocus.svg?branch=master
   :target: https://travis-ci.org/deadc0de6/i3smartfocus
.. |PyPI version| image:: https://badge.fury.io/py/i3smartfocus.svg
   :target: https://badge.fury.io/py/i3smartfocus
.. |Python| image:: https://img.shields.io/pypi/pyversions/i3smartfocus.svg
   :target: https://pypi.python.org/pypi/i3smartfocus
.. |License: GPL v3| image:: https://img.shields.io/badge/License-GPL%20v3-blue.svg
   :target: http://www.gnu.org/licenses/gpl-3.0


