SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

python2-i3ipc rpm build for : openSUSE Leap 15. For other distributions click python2-i3ipc.

Name : python2-i3ipc
Version : 1.6.0 Vendor : obs://build_opensuse_org/home:dmacvicar
Release : lp150.1.1 Date : 2018-12-27 00:11:46
Group : Development/Languages/Python Source RPM : python-i3ipc-1.6.0-lp150.1.1.src.rpm
Size : 0.08 MB
Packager : (none)
Summary : An improved Python library for i3wm extensions
Description :
i3ipc-python
============

An improved Python library to control `i3wm < http://i3wm.org>`__.

About
-----

i3\'s interprocess communication (or
`ipc < http://i3wm.org/docs/ipc.html>`__) is the interface i3wm uses to
receive
`commands < http://i3wm.org/docs/userguide.html#_list_of_commands>`__
from client applications such as ``i3-msg``. It also features a
publish/subscribe mechanism for notifying interested parties of window
manager events.

i3ipc-python is a Python library for controlling the window manager.
This project is intended to be useful for general scripting, and for
applications that interact with the window manager like status line
generators, notification daemons, and pagers.

If you have an idea for a script to extend i3wm, you can add your script
to the examples folder or make a `script
request < https://github.com/acrisci/i3ipc-python/issues>`__ on the issue
tracker.

Installation
------------

i3ipc is on `PyPI < https://pypi.python.org/pypi/i3ipc>`__.

``pip install i3ipc``

Example
-------

.. code:: python



import i3ipc



i3 = i3ipc.Connection()


focused = i3.get_tree().find_focused()
print(\'Focused window %s is on workspace %s\' %
(focused.name, focused.workspace().name))



outputs = i3.get_outputs()

print(\'Active outputs:\')

for output in filter(lambda o: o.active, outputs):
print(output.name)


i3.command(\'focus left\')


for container in i3.get_tree().find_fullscreen():
container.command(\'fullscreen\')


root = i3.get_tree()
print(root.name)
for con in root:
print(con.name)


def on_workspace_focus(self, e):


if e.current:
print(\'Windows on this workspace:\')
for w in e.current.leaves():
print(w.name)


def on_window_focus(i3, e):
focused = i3.get_tree().find_focused()
ws_name = \"%s:%s\" % (focused.workspace().num, focused.window_class)
i3.command(\'rename workspace to \"%s\"\' % ws_name)


i3.on(\'workspace::focus\', on_workspace_focus)
i3.on(\"window::focus\", on_window_focus)


i3.main()

Contributing
------------

Please feel free to report bugs, request features or add examples by
submitting a pull request.

License
-------

This work is available under a BSD license (see LICENSE)

Copyright © 2015, Tony Crisci

All rights reserved.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/dmacvicar/openSUSE_Leap_15.0/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
python-i3ipc
python2-i3ipc

Requires :
python(abi) = 2.7
python2-enum-compat
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/python2.7/site-packages/i3ipc
/usr/lib/python2.7/site-packages/i3ipc-1.6.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/i3ipc-1.6.0-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/i3ipc-1.6.0-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/i3ipc-1.6.0-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/i3ipc-1.6.0-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/i3ipc-1.6.0-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/i3ipc/__init__.py
/usr/lib/python2.7/site-packages/i3ipc/__init__.pyc
/usr/lib/python2.7/site-packages/i3ipc/__init__.pyo
/usr/lib/python2.7/site-packages/i3ipc/i3ipc.py
/usr/lib/python2.7/site-packages/i3ipc/i3ipc.pyc
/usr/lib/python2.7/site-packages/i3ipc/i3ipc.pyo
/usr/share/doc/packages/python2-i3ipc
/usr/share/doc/packages/python2-i3ipc/README.rst

 
ICM