commit 3cf849be625f1cc39d759506600b7f9991b82e06 Author: bdeshi Date: Sun Sep 21 22:08:29 2025 +0600 see what the left ribbon looks like on boot diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2852538 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +data.json +.DS_Store diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..6c07eb0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 bdeshi + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/main.js b/main.js new file mode 100644 index 0000000..06a1903 --- /dev/null +++ b/main.js @@ -0,0 +1,9 @@ +const { Plugin } = require('obsidian'); + +module.exports = class RibbonOrderLock extends Plugin { + async onload() { + this.app.workspace.onLayoutReady(() => { + console.log(this.app.workspace.leftRibbon); + }); + } +}; diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..8532b81 --- /dev/null +++ b/manifest.json @@ -0,0 +1,10 @@ +{ + "id": "ribbon-order-lock", + "name": "Ribbon Order Lock", + "version": "0.0.1", + "minAppVersion": "1.1.0", + "description": "Keeps left-ribbon icon order stable across restarts", + "author": "bdeshi", + "authorUrl": "https://github.com/bdeshi", + "isDesktopOnly": false +}