entailz / qtshadow

Nvidia Shadowplay on Wayland? + AMD ;)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QtShadow - Nvidia Shadowplay on Wayland? + AMD ;)

qtshadow

Quickshell overlay for controlling OBS >30 via websocketv5.

Required env variables:

  • WSKEY - your obs websocket v5 key
  • WSPORT - websocket port
  • OBSCMD - command used to launch OBS

Card options NVIDIACARD=1 or AMDCARD=1 (purely aesthetic, functionally the same... for now)

Built w/ Quickshell, big thanks to outfoxxed! https://git.outfoxxed.me/outfoxxed/quickshell

Make sure the icons reside in the same directory as qml document.

Why? because I felt like it.

Features:

  • Launch OBS
  • Toggle recording
  • Toggle streaming
  • Toggle replay buffer

Roadmap:

  • Scene selection
  • Card usage statistics
  • Gallery
  • Quickmenu

Dependencies:

quickshell
yay -S --needed qt5-graphicaleffects qt6ct qt6-shadertools obs-cmd
flatpak install com.obsproject.Studio

Setup:

Open OBS, Tools > Websocket Server Settings Enable WebSocket server and set server password Create a scene with your source of choice. When monitor or source select prompt pops up make sure to check "Allow restore token".

Optionally: Settings > General > System Tray > Enable & Minimize to tray when started

mv qtshadow ~/.config/quickshell/

Hyprland: toggle / bindr and layerrules

layerrule = blur, qtshadow
layerrule = ignorezero, qtshadow
layerrule = animation slide, qtshadow

bindr = SUPERSHIFT, Q, exec, pkill quickshell || AMDCARD=1 WSKEY=123456 WSPORT=4455 OBSCMD=com.obsproject.Studio quickshell --config ~/.config/quickshell/qtshadow/shell.qml 2>/dev/null &

About

Nvidia Shadowplay on Wayland? + AMD ;)


Languages

Language:QML 100.0%