zed

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5da5cf474809e75a3c691e292444e7a7541b47e9
parent 8180f9de04cb39118a2997ccbb519e3e7cb5fb52
Author: minerva-jupiter <ryouturn@gmail.com>
Date:   Thu, 13 Nov 2025 19:37:07 +0900

add discord_presence

Diffstat:
Msettings.json | 52++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+), 0 deletions(-)

diff --git a/settings.json b/settings.json @@ -48,5 +48,57 @@ } } } + }, + "lsp": { + "discord_presence": { + "initialization_options": { + // Application ID for the rich presence (don't touch it unless you know what you're doing) + "application_id": "1263505205522337886", + // Base URL for all language icons + "base_icons_url": "https://raw.githubusercontent.com/xhyrom/zed-discord-presence/main/assets/icons/", + + "state": "Working on {filename}", + "details": "In {workspace}", + // URL for the large image + "large_image": "{base_icons_url}/{language:lo}.png", // :lo lowercase the language name + "large_text": "{language:u}", // :u capitalizes the first letter + // URL for the small image + "small_image": "{base_icons_url}/zed.png", + "small_text": "Zed", + + // Idle settings - when you're inactive + "idle": { + "timeout": 300, // Idle timeout in seconds (300 seconds = 5 minutes) + + // Action to take when idle + // `change_activity` - changes the activity to idle with the following details + // `clear_activity` - clears the activity (hides it) + "action": "change_activity", + + "state": "Idling", + "details": "In Zed", + "large_image": "{base_icons_url}/zed.png", + "large_text": "Zed", + "small_image": "{base_icons_url}/idle.png", + "small_text": "Idle" + }, + + // Rules to disable presence in specific workspaces + "rules": { + "mode": "blacklist", // Can also be "whitelist" + "paths": ["absolute path"] + }, + + "git_integration": true, + + // Per-language overrides + "languages": { + "rust": { + "state": "Hacking on {filename}", + "details": "Rustacean at work" + } + } + } + } } }