Skip to main content

wayfire compositor library

Project description

The [Wayfire] compositor provides access to its functionalities via Inter-Process Communication (IPC). This repository contains the source code for the python client bindings, as well as hosts many examples of how to use the IPC.

Quickstart

Installation

pip install wayfire

OR

git clone https://github.com/WayfireWM/pywayfire
cd pywayfire
python3 -m pip install .

Usage examples

Basic usage is simple, import the wayfire.ipc module, create a socket (it will auto-detect the compositor by using the WAYFIRE_SOCKET environment variable) and call its functions:

from wayfire import WayfireSocket

socket = WayfireSocket()
print(socket.list_views())

Many examples can be found in the scripts directory.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wayfire-3.1.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

wayfire-3.1-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file wayfire-3.1.tar.gz.

File metadata

  • Download URL: wayfire-3.1.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for wayfire-3.1.tar.gz
Algorithm Hash digest
SHA256 7f3577af1b90dceeb6fe9b51735687968978086c801b933f1cbac739ae766b5e
MD5 34017c509e5a255e3e0b32b151e84344
BLAKE2b-256 d34a24cd14bb7d9a7eaf79f92b9b4fcb85495d6565ad56e40f011cd384c7dea5

See more details on using hashes here.

File details

Details for the file wayfire-3.1-py3-none-any.whl.

File metadata

  • Download URL: wayfire-3.1-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for wayfire-3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e43169e4cf0daeed3ba518380de9839eb3ebe968a331beb66a75c174e75bef0
MD5 db1a1df731ea7ff112cc2e2e9b476d27
BLAKE2b-256 639d723248045e029270f32e1f58e893f7ca015e7ca8f622a7c311da7551f93e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page