mirror of
https://github.com/JakeStanger/discord-idle-status.git
synced 2026-07-11 09:15:06 +01:00
Tiny daemon which sets your rich presence status in Discord to "idle"
- Rust 100%
| .idea | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
Discord Idle Status
Tiny daemon which sets your rich presence status in Discord to "idle". Note this doesn't affect your actual online status indicator.
This is a workaround because Electron's idle detection API on Wayland doesn't work.
Building
Simply
cargo build --release
cp target/release/discord-idle-status ~/.local/bin # or anywhere on your PATH
Usage
You can run this using swayidle to set your status:
swayidle -w \
timeout 600 'discord-idle-status' \
resume 'kill $(cat /tmp/discord-idle-status.pid)'
The rich presence fields can be changed in the code. If you want to change the status title from "idle" or use any images, you will need to use a different application ID. You can create an application at https://discord.com/developers.