Skip to content

Conversation

@T1mbits
Copy link

@T1mbits T1mbits commented Nov 5, 2025

A plugin to implement the automatic idling detection seen on the official Discord desktop client for Vesktop.

A native module needs to be merged into Vesktop for Wayland support since Vencord apparently is not able to load native node modules. (Vencord/Vesktop#1198)

Tested on NixOS 25.11 unstable with hyprland 0.51.1 with the native module.

Relies on VesktopNative to work so the entire implementation should
either get ported to Vencord or have proper error handling for safety in
case it's somehow enabled outside of Vesktop.
Still relies on Vesktop for wayland since Vencord can't load native
modules itself. Not quite sure how to pass a message from the native
portion of a plugin to the renderer portion, so as of now power events
do not cause discord to change the idle and afk status.
Power events now trigger discord to instantly check its idle state. This
plugin should now behave exactly like the Vesktop implementation, save
for the wayland native module.
@nixRidge
Copy link

nixRidge commented Nov 7, 2025

Just tested the plugin with Vencord/Vesktop#1198, on Plasma Wayland once again. Still works a charm. Nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants