OBS global shortcuts workaround for wayland using websocket
Project description
OBS WayKey
Python script for setting up OBS global keybinds under wayland
Requirements
- OBS Studio
- OBS Websocket v5 Plugin
- ATTENTION: For OBS version 28 and above Websocket plugin is included by default. If you run an older version it must be installed manually.
- Python 3.9 or greater
Install and Setup
Install
I recommend installing via pipx
pipx install obs-waykey
If you want a specific version you can grab the .vhl from the releases page and install it with pipx
pipx install <file-name>
Setup
- Go to your Desktop settings (or WM config file)
- Go to where you configure keybinds
- Add a new custom keybind
- Name it what you want
- Use the command
obs-waykey -t <toggle> -w <your-password> - Set your keybind
Here's an example
Toggles
toggle-recordtoggle-record-pause
Build from source
ATTENTION: This project was built with poetry in mind.
- Clone the repo
git clone https://github.com/PolyCatDev/obs-waykey.git && \
cd obs-waykey
- Setup enviroment
python3 -m venv .venv && \
source .venv/bin/activate
- Install dependencies
pip install poetry && \
poetry install
- Build the package
poetry build
To do
- Add more toggles
- Password Support
- Alternative IP support
- Alternative port support
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file obs_waykey-0.2.0.tar.gz.
File metadata
- Download URL: obs_waykey-0.2.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.8.9-300.fc40.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc53ebb9ce5151295f09cc465d908809d12f981bd8c28b0255eba9c369ad98e1
|
|
| MD5 |
779c4c017d13325abe92e9bfa9eeff6a
|
|
| BLAKE2b-256 |
683fe1695ca606e9a14b0461973de353379d1bffb9d0c83cb79528de2a6f3110
|
File details
Details for the file obs_waykey-0.2.0-py3-none-any.whl.
File metadata
- Download URL: obs_waykey-0.2.0-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.8.9-300.fc40.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d98d87871c2a97a16a0a945ff934d0ed67197dbc3ab7618ef6353fc010383e6c
|
|
| MD5 |
d204c6fb02231d588ce75885ab480986
|
|
| BLAKE2b-256 |
aa57450f205ab07b10d628cb24e154aebf268f70fbeb0d5b125ec89588b28f94
|