So I used the pkill -USR1 -x sxhkd command after I wrote it what do I do now?Yes, you can use the following configuration to set push-to-talk in Discord using the Control_R key:
#Push-to-talk in Discord using Control_R ctrl + Control_R xdotool search --class discord keydown Control_R ctrl + Control_R + Release xdotool search --class discord keyup Control_R
This configuration binds the Control_R key to both keydown and keyup events for the push-to-talk keybinding in Discord.
Remember to save the changes you make to the ~/.config/sxhkd/sxhkdrc file and apply them by restarting sxhkd or typing the command
pkill -USR1 -x sxhkdin the terminal.
I hope this works for you! Let me know if you have any other questions.
Do I restart Discord?