From 5f564b5f1809c479ae685cca00000761a94b18b3 Mon Sep 17 00:00:00 2001 From: bdeshi Date: Sat, 1 Aug 2026 18:25:44 +0600 Subject: [PATCH] rename to obsidian-ribbon-clasp --- README.md | 10 ++++++---- main.js | 2 +- manifest.json | 6 +++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7117e5c..4324396 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Ribbon Order Lock +# Obsidian Ribbon Clasp -Obsidian plugin that stops the left ribbon icons from reshuffling themselves. +An [Obsidian][^1] plugin that stops the left ribbon icons from reshuffling themselves. The plugin should work completely transparently, but it relies on undocumented internals within Obsidian's `workspace.leftRibbon` object, so some future app @@ -8,9 +8,11 @@ update could break it. Please open an issue if the ribbon ever stops behaving. ## Install -**BRAT**: `bdeshi/obsidian-ribbon-order-lock` +**BRAT**: `bdeshi/obsidian-ribbon-clasp` **Manual**: extract the latest release archive inside -`.obsidian/plugins/ribbon-order-lock/`, and enable it. +`.obsidian/plugins/ribbon-clasp/`, and enable it. If you're using lazy-plugins, set this plugin's startup type to "Instant". + +[^1]: https://obsidian.md/ diff --git a/main.js b/main.js index ad5a056..b8f6881 100644 --- a/main.js +++ b/main.js @@ -10,7 +10,7 @@ function debounce(fn, wait) { }; } -module.exports = class RibbonOrderLock extends Plugin { +module.exports = class RibbonClasp extends Plugin { async onload() { this.settings = Object.assign({ order: [] }, await this.loadData()); this.enforcing = false; diff --git a/manifest.json b/manifest.json index 5ca66d9..7d219f9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,9 +1,9 @@ { - "id": "ribbon-order-lock", - "name": "Ribbon Order Lock", + "id": "ribbon-clasp", + "name": "Ribbon Clasp", "version": "0.9.0", "minAppVersion": "1.1.0", - "description": "Keeps left-ribbon icon order stable across restarts", + "description": "Stops the left ribbon icons from reshuffling themselves.", "author": "bdeshi", "authorUrl": "https://github.com/bdeshi", "isDesktopOnly": false