Skip to main content

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

  1. Go to your Desktop settings (or WM config file)
  2. Go to where you configure keybinds
  3. Add a new custom keybind
  4. Name it what you want
  5. Use the command obs-waykey -t <toggle> -w <your-password>
  6. Set your keybind

Here's an example

my keybind

Toggles

  1. toggle-record
  2. toggle-record-pause

Build from source

ATTENTION: This project was built with poetry in mind.

  1. Clone the repo
git clone https://github.com/PolyCatDev/obs-waykey.git && \
cd obs-waykey
  1. Setup enviroment
python3 -m venv .venv && \
source .venv/bin/activate
  1. Install dependencies
pip install poetry && \
poetry install
  1. Build the package
poetry build

To do

  • Add more toggles
  • Password Support
  • Alternative IP support
  • Alternative port support

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

obs_waykey-0.2.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

obs_waykey-0.2.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

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

Hashes for obs_waykey-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cc53ebb9ce5151295f09cc465d908809d12f981bd8c28b0255eba9c369ad98e1
MD5 779c4c017d13325abe92e9bfa9eeff6a
BLAKE2b-256 683fe1695ca606e9a14b0461973de353379d1bffb9d0c83cb79528de2a6f3110

See more details on using hashes here.

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

Hashes for obs_waykey-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d98d87871c2a97a16a0a945ff934d0ed67197dbc3ab7618ef6353fc010383e6c
MD5 d204c6fb02231d588ce75885ab480986
BLAKE2b-256 aa57450f205ab07b10d628cb24e154aebf268f70fbeb0d5b125ec89588b28f94

See more details on using hashes here.

Supported by

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