scoop bucket add extras
scoop install npiperelay
Install presence.nvim.
Install socat.
sudo pacman -S socat
Run init script only once per session.
sudo ./init-discord-rpc.sh
#!/bin/bash | |
set -x | |
if pgrep -x "socat" | |
then | |
exit 1 | |
fi | |
pkill socat | |
rm -f /var/run/discord-ipc-0 | |
socat UNIX-LISTEN:/var/run/discord-ipc-0,fork \ | |
EXEC:"npiperelay.exe //./pipe/discord-ipc-0" & | |
sleep 2 | |
chmod 777 /var/run/discord-ipc-0 |
scoop bucket add extras
scoop install npiperelay
Install presence.nvim.
Install socat.
sudo pacman -S socat
Run init script only once per session.
sudo ./init-discord-rpc.sh