mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Use desktop portal capture option which allows capturing monitors connected to external gpus (common on laptops with dedicated gpus) and supports capturing properly when hdr is enabled. Desktop portal capture allows selecting capture of a window, monitor or screen region. Add -fallback-cpu-encoding yes to use cpu encoding if the system doesn't support gpu encoding. Ideally omarchy should install vaapi drivers which would fix this issue for most users, but some users have a gpu that dont support gpu encoding at all so this option is still needed. Use pgrep with ^ as is done in waybar indicator screen-recording.sh to only grep for gpu-screen-recorder program. Update omarchy-menu to reflect not selecting region/display capture and instead allow capturing only desktop audio or desktop + microphone audio. Fixes #3367 and #3303
3.3 KiB
Executable File
3.3 KiB
Executable File