Skip to content

Instantly share code, notes, and snippets.

View muhhae's full-sized avatar

Muhammad Haekal Muhyidin Al-Araby muhhae

View GitHub Profile
@ongyx
ongyx / setup_rich_presence_relay.sh
Last active March 18, 2024 14:15
This script sets up a relay for Discord Rich Presence on WSL2 for https://github.com/andweeb/presence.nvim. Note that this has only been tested on Arch Linux which uses the systemd init system.
#!/bin/bash
EXE='npiperelay.exe'
export GOOS=windows
export GOARCH=amd64
GO_BIN="$(go env GOPATH)/bin/${GOOS}_${GOARCH}"
msg () {