feat: Toggle voice status using fifo pipe#609
feat: Toggle voice status using fifo pipe#609PolisanTheEasyNick wants to merge 19 commits intoVencord:mainfrom
Conversation
5b5008a to
08a9b60
Compare
|
this doesn't really work still. the first command works, but then runs into |
|
Didn't have this issue, but now before creating a pipe file it checks whether it exists, if so removes the file and recreates. Also, it must now remove the file if Vesktop is closed. |
|
Works great for me. |
|
Hi there, thanks for creating this feature. I'm using it now and it works nicely. I did have to patch the implementation to allow non-wayland display servers though. I'm curious, is there a reason the keybinds are only enabled on wayland? It seems to be working fine and I'm running X11. |
|
Hey just wanted to say this is working great! Hoping we can get this or some other solution merged into main soon! |
Please show output of |
|
|
Looks like no problem with pipe creation. |
|
turns out my problem wasn't related to this. this works! |
|
Hi is this getting merged any time soon? |
I don't believe so, this PR is desired for other users who needs that feature. |
|
do I need to build it myself to use it? |
Yes. Use the instructions here, make sure to check out this branch right after cloning ( |
|
I think I'm doing something wrong here, Can someone explain how to do it? |
|
could this branch be updated with main? |
|
Just saying that this is working perfectly for my use case! I'm impressed, hope this gets merged some time. |
|
Hi, I've resolved the conflicts and updated the branch with the changes from main. I've also added |
contains changes from upstream Vencord#609 Co-authored-by: Oleh Polisan <polisanoleg@gmail.com> Co-authored-by: Vendicated <vendicated@riseup.net>
|
Superseded by #1238 which uses a unix socket server instead |


Note: try to use #326 first.
This PR adds temporarily implementing basic keybinding for toggling mute and deaf statuses.
How it works?
This PR creates pipe file at
$XDG_RUNTIME_DIR/vesktop-ipcwhich listens for stringsVCD_TOGGLE_SELF_MUTEandVCD_TOGGLE_SELF_DEAFand performs actions if this data is transfered to pipe.So with this if anywhere in the system you execute
echo "VCD_TOGGLE_SELF_MUTE" >> $XDG_RUNTIME_DIR/vesktop-ipcthen it will toggle mute.echo "VCD_TOGGLE_SELF_DEAF" >> $XDG_RUNTIME_DIR/vesktop-ipcwill toggle self deafness.How we can use it?
For example, in KDE systems, we can add custom keybinds which will execute a given command with needed signal:

I think in other DEs there must be ways to do similar actions.
If it will be merged, I think we must write these instructions into README.
This solution is really temporary and in future we must move to some native solutions for keybindings.