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
ATTENTION: WebSocket authentication must be disabled for this script to work.
You can find it under Tools > WebSocket Server Settings > Enable Authentication
.
- 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 <toggle>
- Set your keybind
Here's how mine looks
Toggles
toggle-rec
toggle-rec-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
obs_waykey-0.1.2.tar.gz
(14.3 kB
view hashes)
Built Distribution
obs_waykey-0.1.2-py3-none-any.whl
(15.4 kB
view hashes)
Close
Hashes for obs_waykey-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a622d3314fc5bcce63562939ec26125ff9220494dc891d1004d19a8728ff0ab6 |
|
MD5 | f319457a1eafb275ca02bd81211ca787 |
|
BLAKE2b-256 | fe91b8098ea6dbe5f3e299946e6248c7281c8e69063fd75b63740313560e88e9 |