feat: Claude Desktop personal/work profile launchers, claude:// dispatcher and handlers (Linux only)

This commit is contained in:
bcherb2 committed 2026-11-18 01:30:14 -05:00
1 parent b4d8701665
commit 9baaf78522
11 files changed
+172

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/bin/zsh
# Claude Desktop — isolated "personal" profile.
# --user-data-dir : separate Electron profile; also separates the
# single-instance lockfile, which is what allows a
# second concurrent instance to run at all.
# --password-store : app only auto-detects on KDE; XFCE would fall back
# to basic_text, where safeStorage is unavailable and
# OAuth tokens do not survive a restart.
# --class : distinct WM_CLASS so xfwm/taskbar treats the two
# windows as separate apps.
export CLAUDE_CONFIG_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}"
export PATH="$HOME/.local/share/claude-shims/personal:$PATH"
exec /usr/bin/claude-desktop \
--user-data-dir="$HOME/.local/share/claude-personal" \
--password-store=gnome-libsecret \
--class=ClaudePersonal \
"$@"