Show running games in Discord as Rich Presence

Watch /proc for Steam games (by app ID, from Steam's reaper process) and
other games (by executable, from Discord's detectable list), and report
the first one to Discord's IPC socket with the game's own app ID.
This commit is contained in:
Daniele Fucini
2026-10-20 20:51:46 +02:00
commit d0cb5ab260
9 changed files with 1654 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP"]
[tool.mypy]
files = ["discord_game_presence.py", "tests"]
strict = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]