🐍 An improved Python library to control i3wm and sway.
Version 2.2.1 includes sway comatibility enhancements (#98) and other bugfixes.
find_by_pid()
method for sway (#142).ipc_data
attribute to objects (8947b9f).Version 2.1.1 includes bugfixes and new features.
Version 2.0.1 is a major release which adds breaking changes and major new features.
i3ipc-python is now Python 3 only.
This release adds the asyncio connection class. New code for Python 3.6 or greater is recommended to use this class over the old blocking connection.
Rect
class for OutputReply
and WorkspaceReply
rect attributes (cec29f9).Connection
private (4936704)
cmd_socket
, cmd_lock
, sub_socket
, sub_lock
, MAGIC
, _event_socket_setup()
, _event_socket_teardown()
, _event_socket_poll()
Connection
private (8424811)
subscribe()
, EventType
GenericEvent
in favor of specific events OutputEvent
, ModeEvent
, and ShutdownEvent
.PropsObject
(6ddbc22)aio.Connection
class.Event
class for event subscription by enum (#59)app_id
attribute to the Con
class (sway only) (#113).event_state_mask
and symbols
(sway only) to BindingInfo
(262246d).__version__.py
(ee779b).Version 1.7.1 adds some bugfixes and features.
sway
binary (93a8f0c).SHUTDOWN
event (d338889).title
attribute to Con
class (34ea24e).pid
attribute to Con
class for sway (bd0224e).Version 1.6.0 adds the following bugfixes and features:
Version 1.5.1 adds the following bugfixes and features:
Version 1.5.0 adds the following bugfixes and features:
Bump to version 1.4.0
Version 1.4.0 adds the following bugfixes and features:
Con.find_instanced()
Con.command()
Version 1.3.0 adds the following bugfixes and features:
Con::command_children()
method should work properly.socket.recv()
robust against interruptions.Con::mark
to Con::marks
for the new ipc api (might be
breaking).Con::window_rect
and Con::deco_rect
properties.Con::workspace()
returns self if it is a workspace instead of None.Version 1.2.0 adds the following features:
scratchpad_state
, window_role
And the following bugfixes:
barconfig_update
eventbarconfig_update
eventfloating_nodes
list of the Con