This tries to help with the problem of obs in hyprland to help the hotkeys works
When you execute the helper.sh or stop.sh it will do a simple thing in hyprland, it will try to focus on the obs windows fast, press the start recording hotkey(or stop recording hotkey) and go back to the previus workspace
First install the only dependencies you need to use this simple bash script
sudo pacman -S wtypeThen install in your local machine this repo
git clone https://github.com/papu163/obs-hyprland-helper.gitMake the shell files executables
chmod +x ~/obs-hyprland-helper/helper.sh && chmod +x ~/obs-hyprland-helper/stop.shThen we will create special binds in our hyprland.conf or the conf you are using right now for your binds in hyprland
#record
bind = MODS, key, exec, ~/obs-hyprland-helper/helper.sh
#stop recording
bind = MODS, key, exec, ~/obs-hyprland-helper/stop.shYou can add more shell files to more hotkeys by following the structure of helper.sh and stop.sh