presence.nvim
presence.nvim copied to clipboard
Not working for discord running in browser anymore
Description
I run discord in my browser, and it used to work a while ago. It stopped working those last days (don't know when)
Neovim version
NVIM v0.9.0-dev-833+gb4c4c232b
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by bellini@behemoth
OS information
Debian Unstable
Steps to reproduce
- Run discord in the browser
- Open nvim with presence.nvim
Logs
[presence.nvim] Setting up plugin for linux
[presence.nvim] Duplicate options: g:presence_auto_update
and setup option auto_update
[presence.nvim] Using runtime path: /run/user/1000
[presence.nvim] Using Discord IPC socket path: /run/user/1000/discord-ipc-0
[presence.nvim] Checking Discord IPC socket at /run/user/1000/discord-ipc-0...
[presence.nvim] Using id 2dbddbcd-6d2b-43c6-b76c-ca3ca82bd570
[presence.nvim] Completed plugin setup
[presence.nvim] Getting nvim socket paths...
[presence.nvim] Executing command: ss -lx|grep "nvim.*/0"
[presence.nvim] Failed to get socket information: ENOENT: no such file or directory: /run/user/1000/discord-ipc-0
[presence.nvim] Failed to get socket information: ENOENT: no such file or directory: /run/user/1000/discord-ipc-0
[presence.nvim] Handling FocusGained event...
[presence.nvim] Connecting to Discord...
[presence.nvim] Failed to connect to Discord: ENOENT
[presence.nvim] Got nvim socket paths: {}
[presence.nvim] No other remote nvim instances
[presence.nvim] Got nvim socket paths: {}
[presence.nvim] No other remote nvim instances
[presence.nvim] Handling WinLeave event...
[presence.nvim] Handling WinEnter event...
[presence.nvim] Handling BufEnter event...
[presence.nvim] Connecting to Discord...
[presence.nvim] Failed to connect to Discord: ENOENT
[presence.nvim] Handling TextChanged event...
[presence.nvim] Connecting to Discord...
[presence.nvim] Failed to connect to Discord: ENOENT
[presence.nvim] Not canceling presence due to switching to a window within the same instance...
[presence.nvim] Connecting to Discord...
[presence.nvim] Failed to connect to Discord: ENOENT
[presence.nvim] Handling WinLeave event...
[presence.nvim] Handling WinEnter event...
[presence.nvim] Handling BufEnter event...
[presence.nvim] Connecting to Discord...
[presence.nvim] Handling BufAdd event...
[presence.nvim] Failed to connect to Discord: ENOENT
[presence.nvim] Handling BufEnter event...
[presence.nvim] Connecting to Discord...
[presence.nvim] Failed to connect to Discord: ENOENT
[presence.nvim] Not canceling presence due to switching to a window within the same instance...
[presence.nvim] Connecting to Discord...
[presence.nvim] Failed to connect to Discord: ENOENT
[presence.nvim] Connecting to Discord...
[presence.nvim] Failed to connect to Discord: ENOENT
Actually, I might be confused. I tested the discord client those days ago and maybe it was working there but I have the memory of it working in the directory.... Looking at the code I don't see dbus being used, so maybe it is that.
So probably this plugin could use DBUS to make the browser's client also see it?
didnt know u could use rich presence on the browser client. afaik discord doesnt even support rich presence on the browser app.