andweeb / presence.nvim

Discord Rich Presence for Neovim
793 stars 68 forks source link

Switching between Neovim and Discord itself reset the elapsed time #113

Open nyngwang opened 1 year ago

nyngwang commented 1 year ago

As title.

I would like to know how to configure it so that switching between Neovim and Discord won't reset the elapsed time. (reasoning: this app is to show Discord status so both Neovim and Discord will be running at the same time. If you want to accumulate elapsed time then you should never switch to Discord but then what's the point of opening Discord then if you cannot check some messages when you got ping?)

suhaylmv commented 10 months ago

Same problem

jiriks74 commented 9 months ago

Hello, if you're willing to transfer your issue to my repo I'll try to take a look at it.

I cannot make any promises as I don't know how much free time I'll have and I have just started working with Lua but I'll try my best to solve it.

Also I cannot replicate this. The only time when the time resets it when I close NeoVim or when I open a terminal (in NeoVim). But when I close the terminal the time goes back to what it was so that is not a problem. Could you try to reproduce it again and send your config?