A command-line tool for interacting with Wayfire.
Project description
A command-line tool for interacting with Wayfire.
Installation
To install wfctl, run:
pip install wfctl
Usage
To use wfctl, run:
wfctl <command>
list views List all views currently available.
list outputs List all outputs connected to the system.
switch workspace Switch to a specific workspace.
get focused output Get the currently focused output.
get focused view Get the currently focused view.
get focused workspace Get the currently focused workspace.
next workspace Switch to the next workspace.
fullscreen view Set a view fullscreen from a given id.
get view info Get information about a specific view using a given {view_id}.
resize view Resize a specific view, wfctl resize view {view_id} width height.
move view Move a specific view, wfctl move view {view_id} x-coordinate y-coordinate.
close view Close a view using a given {view_id}.
minimize view minimize a view, wfctl minimize view {view_id} {true/false}.
maximize Maximize a view from a given id.
set view alpha Set view transparency, wfctl set view alpha {view_id} {0.4}.
list input Lists all input devices currently available in the Wayfire environment
configure device Configure a device input from a give ID, wfctl configure device {device_id} {enable/disable}
get option Get wayfire config value from a given option, wfctl get option section/option
set options Set wayfire config value from the given options, wfctl set options section_1/option_1:value_1 section_2/option_2:value_2
get keyboard Retrieve the current keyboard layout, variant, model and options.
set keyboard Set the keyboard layout, variant, model and options.
-m watch wayfire events
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wfctl-0.8.4.tar.gz
(7.8 kB
view details)
Built Distribution
wfctl-0.8.4-py3-none-any.whl
(8.5 kB
view details)
File details
Details for the file wfctl-0.8.4.tar.gz
.
File metadata
- Download URL: wfctl-0.8.4.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d458de235febc9510385c7a8121511c60353013b66ed9d230099a4cad9853f0 |
|
MD5 | 1fb21dedce4e0f79ac858b91dd42d2b0 |
|
BLAKE2b-256 | 9645310f01df8b654310c4f30a00a4420eacafc68ba72695dc8fc3b66b2724d8 |
File details
Details for the file wfctl-0.8.4-py3-none-any.whl
.
File metadata
- Download URL: wfctl-0.8.4-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47eae6c166856a0789dab506ee5796ca1970eb7b623549adadf2d9919c4c64dd |
|
MD5 | 3dda03c4fdfbacbbe6c2eda5714bc09d |
|
BLAKE2b-256 | da6740adec11d54bb10a29416a7b730f6e8196324c5e7c98890b31e7f6be2357 |