Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/content/.obsidian/appearance.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"cssTheme": "0xZ",
"showViewHeader": true,
"showRibbon": false,
"showRibbon": true,
"enabledCssSnippets": [
"astro-modular-styling"
"astro-modular-styling",
"claude-sidebar-button"
],
"theme": "system",
"accentColor": ""
Expand Down
3 changes: 2 additions & 1 deletion src/content/.obsidian/community-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
"file-name-history",
"nested-properties",
"vault-nickname",
"link-as"
"link-as",
"claude-sidebar"
]
10 changes: 10 additions & 0 deletions src/content/.obsidian/plugins/claude-sidebar/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "claude-sidebar",
"name": "Claude Sidebar",
"version": "1.8.10",
"minAppVersion": "1.0.0",
"description": "Run Claude Code in your sidebar.",
"author": "Derek Larson",
"authorUrl": "https://github.com/derek-larson14",
"isDesktopOnly": true
}
36 changes: 36 additions & 0 deletions src/content/.obsidian/snippets/claude-sidebar-button.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/* =============================================================================
claude-sidebar-button.css — VaultCMS snippet for the oz-blog content vault.

The ribbon is enabled (appearance.json "showRibbon": true) so the Claude
Sidebar plugin's "New Claude Tab" button has somewhere to render. This snippet
then TRIMS the ribbon to just the home-base and Claude buttons — so the result
is a slim two-icon strip (Claude next to "Open home base") rather than the full
ribbon. (A reload of Obsidian is needed after changing the snippet.)

Ribbon buttons are matched by their aria-label (the title passed to
addRibbonIcon): home-base → "Open home base", claude-sidebar → "New Claude Tab".
If a future Obsidian version renames these classes and the buttons stop
appearing, fall back to a hotkey (Settings → Hotkeys → "Claude") or set
"showRibbon": true.
============================================================================= */

/* Re-show the left ribbon strip even though "Show ribbon" is off. */
.workspace-ribbon.side-dock-ribbon.mod-left {
display: flex !important;
}

/* Hide every ribbon plugin icon by default… */
.workspace-ribbon.side-dock-ribbon.mod-left .side-dock-ribbon-action {
display: none !important;
}

/* …then reveal only the two we want (they render in ribbon order). */
.workspace-ribbon.side-dock-ribbon.mod-left .side-dock-ribbon-action[aria-label="Open home base"],
.workspace-ribbon.side-dock-ribbon.mod-left .side-dock-ribbon-action[aria-label="New Claude Tab"] {
display: flex !important;
}

/* Drop the ribbon's collapse chevron so the strip stays clean. */
.workspace-ribbon.side-dock-ribbon.mod-left .workspace-ribbon-collapse-btn {
display: none !important;
}
Loading