Skip to content

Store i3 status of workspaces #89

@conrad784

Description

@conrad784

I want to store my current workspace configuration.
Therefore I want to use pickle:

import i3ipc
import pickle
i3 = i3ipc.Connection()
pickle.dumps(i3.get_workspaces()

this will result in an error

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/site-packages/i3ipc/i3ipc.py", line 37, in __getattr__
    return self[name]
KeyError: '__getstate__'

This is happening in python{2,3}.
Used version of i3ipc-python: 1.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions