diff --git a/Edikoyo/.obsidian/community-plugins.json b/Edikoyo/.obsidian/community-plugins.json
index b17a90b..657aa43 100644
--- a/Edikoyo/.obsidian/community-plugins.json
+++ b/Edikoyo/.obsidian/community-plugins.json
@@ -6,6 +6,5 @@
"dataview-serializer",
"iconic",
"ribbon-divider",
- "pinned-notes",
- "privacy-glasses"
+ "pinned-notes"
]
\ No newline at end of file
diff --git a/Edikoyo/.obsidian/plugins/privacy-glasses/main.js b/Edikoyo/.obsidian/plugins/privacy-glasses/main.js
deleted file mode 100644
index 9cf730c..0000000
--- a/Edikoyo/.obsidian/plugins/privacy-glasses/main.js
+++ /dev/null
@@ -1,507 +0,0 @@
-/*
-THIS IS A GENERATED/BUNDLED FILE BY ROLLUP
-if you want to view the source visit the plugins github repository
-*/
-
-'use strict';
-
-var obsidian = require('obsidian');
-
-/******************************************************************************
-Copyright (c) Microsoft Corporation.
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-***************************************************************************** */
-
-function __awaiter(thisArg, _arguments, P, generator) {
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-}
-
-typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
- var e = new Error(message);
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
-};
-
-/*
- Privacy Glasses plugin for Obsidian
- Copyright 2021 Jill Alberts
- Licensed under the MIT License (http://opensource.org/licenses/MIT)
-*/
-function isMarkdownFileInfoView(x) {
- const anyX = x;
- return !!Object.getOwnPropertyDescriptor(anyX, "file");
-}
-function isHooked(view) {
- const anyView = view;
- const ownProps = Object.getOwnPropertyNames(anyView);
- return (ownProps.contains("setState") && typeof anyView.setState === "function");
-}
-function hookViewStateChanged(view, onBeforeStateChange, onAfterStateChange) {
- const anyView = view;
- const original = anyView.__proto__.setState;
- function wrapper() {
- onBeforeStateChange(view);
- const r = original.apply(this, arguments);
- if (typeof r.then === "function") {
- r.then(() => {
- onAfterStateChange(view);
- });
- }
- else {
- onAfterStateChange(view);
- }
- return r;
- }
- anyView.setState = wrapper.bind(view);
- return anyView;
-}
-/**
- * Constants
- */
-var Level;
-(function (Level) {
- Level["HideAll"] = "hide-all";
- Level["HidePrivate"] = "hide-private";
- Level["RevealAll"] = "reveal-all";
- Level["RevealHeadlines"] = "reveal-headlines";
-})(Level || (Level = {}));
-var CssClass;
-(function (CssClass) {
- CssClass["BlurAll"] = "privacy-glasses-blur-all";
- CssClass["RevealOnHover"] = "privacy-glasses-reveal-on-hover";
- CssClass["RevealAll"] = "privacy-glasses-reveal-all";
- CssClass["RevealUnderCaret"] = "privacy-glasses-reveal-under-caret";
- CssClass["RevealHeadlines"] = "privacy-glasses-reveal-headlines";
- CssClass["Reveal"] = "privacy-glasses-reveal";
- CssClass["IsMdView"] = "is-md-view";
- CssClass["IsNonMdView"] = "is-non-md-view";
- CssClass["IsMdViewHeadlinesOnly"] = "is-md-view-headlines-only";
- CssClass["PrivacyGlassesReveal"] = "privacy-glasses-reveal";
-})(CssClass || (CssClass = {}));
-/**
- * Main
- */
-class PrivacyGlassesPlugin extends obsidian.Plugin {
- constructor() {
- super(...arguments);
- this.revealed = [];
- }
- onload() {
- return __awaiter(this, void 0, void 0, function* () {
- this.statusBar = this.addStatusBarItem();
- yield this.loadSettings();
- this.addSettingTab(new privacyGlassesSettingTab(this.app, this));
- obsidian.addIcon("eye", eyeIcon);
- obsidian.addIcon("eye-closed", eyeClosedIcon);
- obsidian.addIcon("eye-slash", eyeSlashIcon);
- obsidian.addIcon("eye-glasses", eyeGlasses);
- this.addRibbonIcon("eye-closed", "Hide all", () => {
- this.currentLevel = Level.HideAll;
- this.updateLeavesAndGlobalReveals();
- });
- this.addRibbonIcon("eye-slash", "Reveal non-private", () => {
- this.currentLevel = Level.HidePrivate;
- this.updateLeavesAndGlobalReveals();
- });
- this.addRibbonIcon("eye-glasses", "Reveal headlines only", () => {
- this.currentLevel = Level.RevealHeadlines;
- this.updateLeavesAndGlobalReveals();
- });
- this.addRibbonIcon("eye", "Reveal all", () => {
- this.currentLevel = Level.RevealAll;
- this.updateLeavesAndGlobalReveals();
- });
- this.addCommand({
- id: "privacy-glasses-hide-all",
- name: "Privacy Glasses - hide all",
- callback: () => {
- this.currentLevel = Level.HideAll;
- this.updateLeavesAndGlobalReveals();
- },
- });
- this.addCommand({
- id: "privacy-glasses-hide-private",
- name: "Privacy Glasses - hide files in folders marked as private",
- callback: () => {
- this.currentLevel = Level.HidePrivate;
- this.updateLeavesAndGlobalReveals();
- },
- });
- this.addCommand({
- id: "privacy-glasses-reveal-headlines",
- name: "Privacy Glasses - reveal headlines only, keeping body content hidden",
- callback: () => {
- this.currentLevel = Level.RevealHeadlines;
- this.updateLeavesAndGlobalReveals();
- },
- });
- this.addCommand({
- id: "privacy-glasses-reveal-all",
- name: "Privacy Glasses - do not hide anything",
- callback: () => {
- this.currentLevel = Level.RevealAll;
- this.updateLeavesAndGlobalReveals();
- },
- });
- this.registerInterval(window.setInterval(() => {
- this.checkIdleTimeout();
- }, 1000));
- this.app.workspace.onLayoutReady(() => {
- this.registerDomActivityEvents(this.app.workspace.rootSplit.win);
- this.currentLevel = this.settings.blurOnStartup;
- this.updateLeavesAndGlobalReveals();
- this.updatePrivateDirsEl(this.app.workspace.rootSplit.win.document);
- this.ensureLeavesHooked();
- });
- this.registerEvent(this.app.workspace.on("window-open", (win) => {
- this.registerDomActivityEvents(win.win);
- }));
- this.registerEvent(this.app.workspace.on("active-leaf-change", (e) => {
- this.ensureLeavesHooked();
- this.updateLeafViewStyle(e.view);
- }));
- this.lastEventTime = performance.now();
- });
- }
- // we hook into setState function of the view, because it is synchronously called
- // before the content switch. this is to prevent private content from being accidentally briefly revealed
- onBeforeViewStateChange(l) {
- this.revealed.forEach((r) => {
- r.removeClass(CssClass.Reveal);
- });
- }
- onAfterViewStateChange(l) {
- // some panels update using the same event, so it is important to update leaves after they are ready
- setTimeout(() => {
- this.updateLeavesStyle();
- }, 200);
- this.ensureLeavesHooked();
- }
- ensureLeavesHooked() {
- this.app.workspace.iterateAllLeaves((e) => {
- if (isHooked(e.view)) {
- return;
- }
- hookViewStateChanged(e.view, () => {
- this.onBeforeViewStateChange(e);
- }, () => {
- this.onAfterViewStateChange(e);
- });
- });
- }
- registerDomActivityEvents(win) {
- this.registerDomEvent(win, "mousedown", (e) => {
- this.lastEventTime = e.timeStamp;
- });
- this.registerDomEvent(win, "keydown", (e) => {
- this.lastEventTime = e.timeStamp;
- });
- this.addBlurLevelEl(win.document);
- }
- checkIdleTimeout() {
- if (this.settings.blurOnIdleTimeoutSeconds < 0) {
- return;
- }
- if (this.currentLevel === Level.HideAll) {
- return;
- }
- if (!this.lastEventTime) {
- return;
- }
- const now = performance.now();
- if ((now - this.lastEventTime) / 1000 >=
- this.settings.blurOnIdleTimeoutSeconds) {
- this.currentLevel = Level.HideAll;
- this.updateLeavesAndGlobalReveals();
- }
- }
- onunload() {
- return __awaiter(this, void 0, void 0, function* () {
- this.statusBar.remove();
- yield this.saveSettings();
- });
- }
- loadSettings() {
- return __awaiter(this, void 0, void 0, function* () {
- this.settings = Object.assign(DEFAULT_SETTINGS, yield this.loadData());
- });
- }
- saveSettings() {
- return __awaiter(this, void 0, void 0, function* () {
- yield this.saveData(this.settings);
- });
- }
- shouldRevealLeaf(view) {
- var _a;
- if (this.currentLevel === Level.RevealAll) {
- return true;
- }
- if (this.currentLevel === Level.HideAll ||
- this.currentLevel === Level.RevealHeadlines) {
- return false;
- }
- if (!isMarkdownFileInfoView(view)) {
- return true;
- }
- if (view.editor &&
- this.settings.privateNoteMarker &&
- this.settings.privateNoteMarker !== "") {
- let tags = [];
- // Get tags in the note body, if any
- if ('tags' in this.app.metadataCache.getFileCache(view.file)) {
- tags.push(...this.app.metadataCache.getFileCache(view.file).tags.filter(x => !!x.tag).map(x => x.tag));
- }
- // Get tags in properties, if any
- if ('tags' in ((_a = this.app.metadataCache.getFileCache(view.file)) === null || _a === void 0 ? void 0 : _a.frontmatter)) {
- tags.push(...this.app.metadataCache.getFileCache(view.file).frontmatter.tags.filter((x) => !!x));
- }
- if (tags && tags.length > 0) {
- return !tags.includes(this.settings.privateNoteMarker);
- }
- }
- if (view.file &&
- !this.settings.privateDirs.contains(view.file.parent.path)) {
- return true;
- }
- return false;
- }
- updateLeafViewStyle(view) {
- const isMd = isMarkdownFileInfoView(view) && view.editor;
- view.containerEl.removeClass(CssClass.IsMdView, CssClass.IsNonMdView, CssClass.IsMdViewHeadlinesOnly);
- if (isMd && this.currentLevel === Level.RevealHeadlines) {
- view.containerEl.addClass(CssClass.IsMdViewHeadlinesOnly);
- }
- else if (isMd) {
- view.containerEl.addClass(CssClass.IsMdView);
- }
- else {
- view.containerEl.addClass(CssClass.IsNonMdView);
- }
- const shouldReveal = this.shouldRevealLeaf(view);
- if (shouldReveal) {
- view.containerEl.addClass(CssClass.PrivacyGlassesReveal);
- this.revealed.push(view.containerEl);
- }
- else {
- view.containerEl.removeClass(CssClass.PrivacyGlassesReveal);
- }
- }
- updateLeavesAndGlobalReveals() {
- this.updateLeavesStyle();
- this.updateGlobalRevealStyle();
- }
- updateLeavesStyle() {
- this.app.workspace.iterateAllLeaves((e) => {
- this.updateLeafViewStyle(e.view);
- });
- }
- updateGlobalRevealStyle() {
- this.removeAllClasses();
- this.setClassToDocumentBody(this.currentLevel);
- if (this.settings.hoverToReveal) {
- document.body.classList.add(CssClass.RevealOnHover);
- }
- if (this.settings.revealUnderCaret) {
- document.body.classList.add(CssClass.RevealUnderCaret);
- }
- }
- removeAllClasses() {
- document.body.removeClass(CssClass.BlurAll, CssClass.RevealOnHover, CssClass.RevealAll, CssClass.RevealUnderCaret, CssClass.RevealHeadlines);
- }
- setClassToDocumentBody(currentLevel) {
- switch (currentLevel) {
- case Level.HideAll:
- document.body.classList.add(CssClass.BlurAll);
- break;
- case Level.RevealAll:
- document.body.classList.add(CssClass.RevealAll);
- break;
- case Level.RevealHeadlines:
- document.body.classList.add(CssClass.RevealHeadlines);
- break;
- }
- }
- addBlurLevelEl(doc) {
- this.blurLevelStyleEl = doc.createElement("style");
- this.blurLevelStyleEl.id = "privacyGlassesBlurLevel";
- doc.head.appendChild(this.blurLevelStyleEl);
- this.updateBlurLevelEl();
- }
- updateBlurLevelEl() {
- if (!this.blurLevelStyleEl) {
- return;
- }
- this.blurLevelStyleEl.textContent = `body {--blurLevel:${this.settings.blurLevel}em};`;
- }
- updatePrivateDirsEl(doc) {
- if (doc && !this.privateDirsStyleEl) {
- this.privateDirsStyleEl = doc.createElement("style");
- this.privateDirsStyleEl.id = "privacyGlassesDirBlur";
- doc.head.appendChild(this.privateDirsStyleEl);
- }
- const dirs = this.settings.privateDirs.split(",");
- this.privateDirsStyleEl.textContent = dirs
- .map((d) => `
-
- :is(.nav-folder-title, .nav-file-title)[data-path^=${d}] {filter: blur(calc(var(--blurLevel) * 1))}
-
- :is(.nav-folder-title, .nav-file-title)[data-path^=${d}]:hover {filter: unset}
-
- .privacy-glasses-reveal-all :is(.nav-folder-title, .nav-file-title)[data-path^=${d}] {filter: unset}
-
-
- `)
- .join("");
- }
-}
-const DEFAULT_SETTINGS = {
- blurOnStartup: Level.HidePrivate,
- blurLevel: 0.3,
- blurOnIdleTimeoutSeconds: -1,
- hoverToReveal: true,
- revealUnderCaret: false,
- privateDirs: "",
- privateNoteMarker: "#private",
-};
-class privacyGlassesSettingTab extends obsidian.PluginSettingTab {
- constructor(app, plugin) {
- super(app, plugin);
- this.plugin = plugin;
- }
- display() {
- let { containerEl } = this;
- containerEl.empty();
- containerEl.createEl("h3", {
- text: "Privacy Glasses v" + this.plugin.manifest.version,
- });
- containerEl.createEl("a", {
- text: "https://github.com/jillalberts/privacy-glasses",
- href: "https://github.com/jillalberts/privacy-glasses",
- });
- containerEl.createEl("span", {
- text: ": documentation, report issues, contact info",
- });
- containerEl.createEl("p", {
- text: 'To activate/deactivate Privacy Glasses, click the glasses icon on the left-hand ribbon or run "Privacy Glasses" commands in the Command Palette (Ctrl-P). The command can also be bound to a keyboard shortcut if you wish.',
- });
- new obsidian.Setting(containerEl)
- .setName("Activate Privacy Glasses on startup")
- .setDesc("Indicates whether the plugin is automatically activated when starting Obsidian.")
- .addDropdown((toggle) => {
- toggle.addOptions({
- "hide-all": "Hide all",
- "hide-private": "Hide private (default)",
- "reveal-all": "Reveal all",
- "reveal-headlines": "Reveal headlines only"
- });
- toggle.setValue(this.plugin.settings.blurOnStartup);
- toggle.onChange((value) => __awaiter(this, void 0, void 0, function* () {
- this.plugin.settings.blurOnStartup = value;
- yield this.plugin.saveSettings();
- }));
- });
- new obsidian.Setting(containerEl)
- .setName("Hide all after user inactivity (seconds)")
- .setDesc("Inactivity time after which Privacy Glasses will hide all. -1 to disable auto-hiding.")
- .addText((textfield) => {
- textfield.setPlaceholder("-1");
- textfield.inputEl.type = "number";
- textfield.inputEl.min = "-1";
- textfield.setValue(String(this.plugin.settings.blurOnIdleTimeoutSeconds));
- textfield.onChange((value) => __awaiter(this, void 0, void 0, function* () {
- let parsed = parseFloat(value);
- if (isNaN(parsed)) {
- parsed = -1;
- }
- this.plugin.settings.blurOnIdleTimeoutSeconds = parsed;
- yield this.plugin.saveSettings();
- }));
- });
- new obsidian.Setting(containerEl)
- .setName("Hover to reveal")
- .setDesc("Indicates whether or not to reveal content when hovering the cursor over it.")
- .addToggle((toggle) => {
- toggle.setValue(this.plugin.settings.hoverToReveal);
- toggle.onChange((value) => __awaiter(this, void 0, void 0, function* () {
- this.plugin.settings.hoverToReveal = value;
- this.plugin.updateLeavesAndGlobalReveals();
- yield this.plugin.saveSettings();
- }));
- });
- new obsidian.Setting(containerEl)
- .setName("Reveal under caret")
- .setDesc("Indicates whether or not to reveal content when caret is on it.")
- .addToggle((toggle) => {
- toggle.setValue(this.plugin.settings.revealUnderCaret);
- toggle.onChange((value) => __awaiter(this, void 0, void 0, function* () {
- this.plugin.settings.revealUnderCaret = value;
- this.plugin.updateGlobalRevealStyle();
- yield this.plugin.saveSettings();
- }));
- });
- var sliderEl = new obsidian.Setting(containerEl);
- let sliderElDesc = "Higher is blurrier. Default=60, current=";
- sliderEl
- .setName("Blur level")
- .setDesc(sliderElDesc + Math.round(this.plugin.settings.blurLevel * 100))
- // ^ need rounding to not show values like '55.00000000000001'
- .addSlider((slider) => slider
- .setLimits(0.1, 1.5, 0.05)
- .setValue(this.plugin.settings.blurLevel)
- .onChange((value) => __awaiter(this, void 0, void 0, function* () {
- this.plugin.settings.blurLevel = value;
- sliderEl.setDesc(sliderElDesc + Math.round(this.plugin.settings.blurLevel * 100));
- this.plugin.updateBlurLevelEl();
- this.plugin.saveSettings();
- })));
- new obsidian.Setting(containerEl)
- .setName("Private directories")
- .setDesc("Comma-separated list of directories, in which files are considered private")
- .addText((text) => text
- .setPlaceholder("finance,therapy")
- .setValue(this.plugin.settings.privateDirs)
- .onChange((value) => __awaiter(this, void 0, void 0, function* () {
- this.plugin.settings.privateDirs = value;
- yield this.plugin.saveSettings();
- this.plugin.updateLeavesAndGlobalReveals();
- this.plugin.updatePrivateDirsEl();
- })));
- new obsidian.Setting(containerEl)
- .setName("Private note marker")
- .setDesc("Start a note with this text to mark note as private")
- .addText((text) => text
- .setPlaceholder("#private")
- .setValue(this.plugin.settings.privateNoteMarker)
- .onChange((value) => __awaiter(this, void 0, void 0, function* () {
- this.plugin.settings.privateNoteMarker = value;
- yield this.plugin.saveSettings();
- this.plugin.updateLeavesStyle();
- })));
- }
-}
-// https://icon-sets.iconify.design/ph/eye-slash/
-const eyeSlashIcon = ``;
-// https://icon-sets.iconify.design/ph/eye-closed-bold/
-const eyeClosedIcon = ``;
-// https://icon-sets.iconify.design/ph/eye/
-const eyeIcon = ``;
-// https://icon-sets.iconify.design/ph/eyeglasses/
-const eyeGlasses = ``;
-
-module.exports = PrivacyGlassesPlugin;
-//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZXMiOlsibm9kZV9tb2R1bGVzL3RzbGliL3RzbGliLmVzNi5qcyIsIm1haW4udHMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxyXG5Db3B5cmlnaHQgKGMpIE1pY3Jvc29mdCBDb3Jwb3JhdGlvbi5cclxuXHJcblBlcm1pc3Npb24gdG8gdXNlLCBjb3B5LCBtb2RpZnksIGFuZC9vciBkaXN0cmlidXRlIHRoaXMgc29mdHdhcmUgZm9yIGFueVxyXG5wdXJwb3NlIHdpdGggb3Igd2l0aG91dCBmZWUgaXMgaGVyZWJ5IGdyYW50ZWQuXHJcblxyXG5USEUgU09GVFdBUkUgSVMgUFJPVklERUQgXCJBUyBJU1wiIEFORCBUSEUgQVVUSE9SIERJU0NMQUlNUyBBTEwgV0FSUkFOVElFUyBXSVRIXHJcblJFR0FSRCBUTyBUSElTIFNPRlRXQVJFIElOQ0xVRElORyBBTEwgSU1QTElFRCBXQVJS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/Edikoyo/.obsidian/plugins/privacy-glasses/manifest.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "id": "privacy-glasses",
- "name": "Privacy Glasses",
- "version": "0.7.4",
- "minAppVersion": "1.1",
- "description": "Provides a button and command to obfuscate onscreen text for better privacy in public settings.",
- "author": "Jill Alberts",
- "authorUrl": "https://github.com/jillalberts/privacy-glasses",
- "isDesktopOnly": false
-}
\ No newline at end of file
diff --git a/Edikoyo/.obsidian/plugins/privacy-glasses/styles.css b/Edikoyo/.obsidian/plugins/privacy-glasses/styles.css
deleted file mode 100644
index 48784b8..0000000
--- a/Edikoyo/.obsidian/plugins/privacy-glasses/styles.css
+++ /dev/null
@@ -1,44 +0,0 @@
-.workspace-leaf-content.is-md-view :is(.inline-title, .cm-line, .view-header-title-container, .cm-callout),
-.workspace-leaf-content.is-non-md-view,
-.workspace-leaf-content.is-md-view-headlines-only :is(.cm-line, .cm-callout),
-.privacy-glasses-blur-all .workspace-tab-header-inner-title,
-.privacy-glasses-blur-all #quick-explorer,
-.privacy-glasses-reveal-headlines .workspace-tab-header-inner-title,
-.privacy-glasses-reveal-headlines #quick-explorer {
- filter: blur(calc(var(--blurLevel) * 1));
-}
-
-:is(.media-embed, .image-container) :is(img, video, svg, canvas) {
- filter: blur(calc(var(--blurLevel) * 5));
-}
-
-.privacy-glasses-reveal-under-caret .workspace-leaf-content.is-md-view :is(.inline-title, .cm-line, .view-header-title-container).inline-title:focus-within,
-.privacy-glasses-reveal-under-caret .workspace-leaf-content.is-md-view :is(.inline-title, .cm-line, .view-header-title-container).cm-active,
-.privacy-glasses-reveal-under-caret .workspace-leaf-content.is-non-md-view.inline-title:focus-within,
-.privacy-glasses-reveal-under-caret .workspace-leaf-content.is-non-md-view.cm-active,
-.privacy-glasses-reveal-under-caret .privacy-glasses-blur-all .workspace-tab-header-inner-title.inline-title:focus-within,
-.privacy-glasses-reveal-under-caret .privacy-glasses-blur-all .workspace-tab-header-inner-title.cm-active,
-.privacy-glasses-reveal-under-caret .privacy-glasses-blur-all #quick-explorer.inline-title:focus-within,
-.privacy-glasses-reveal-under-caret .privacy-glasses-blur-all #quick-explorer.cm-active,
-.privacy-glasses-reveal-under-caret :is(.media-embed, .image-container) :is(img, video, svg, canvas).inline-title:focus-within,
-.privacy-glasses-reveal-under-caret :is(.media-embed, .image-container) :is(img, video, svg, canvas).cm-active,
-.privacy-glasses-reveal-on-hover .workspace-leaf-content.is-md-view :is(.inline-title, .cm-line, .view-header-title-container, .cm-callout):hover,
-.privacy-glasses-reveal-on-hover .workspace-leaf-content.is-non-md-view:hover,
-.privacy-glasses-reveal-on-hover .workspace-leaf-content.is-md-view-headlines-only :is(.cm-line, .cm-callout):hover,
-.privacy-glasses-reveal-on-hover .privacy-glasses-blur-all .workspace-tab-header-inner-title:hover,
-.privacy-glasses-reveal-on-hover .privacy-glasses-reveal-headlines .workspace-tab-header-inner-title:hover,
-.privacy-glasses-reveal-on-hover .privacy-glasses-blur-all #quick-explorer:hover,
-.privacy-glasses-reveal-on-hover :is(.media-embed, .image-container) :is(img, video, svg, canvas):hover,
-.privacy-glasses-reveal.workspace-leaf-content.is-md-view :is(.inline-title, .cm-line, .view-header-title-container),
-.privacy-glasses-reveal.workspace-leaf-content.is-non-md-view,
-.privacy-glasses-reveal.privacy-glasses-blur-all .workspace-tab-header-inner-title,
-.privacy-glasses-reveal.privacy-glasses-blur-all #quick-explorer,
-.privacy-glasses-reveal.privacy-glasses-reveal-headlines .workspace-tab-header-inner-title,
-.privacy-glasses-reveal.privacy-glasses-reveal-headlines #quick-explorer,
-.privacy-glasses-reveal :is(.media-embed, .image-container) :is(img, video, svg, canvas),
-.workspace-tab-header .workspace-tab-header-inner-title:hover,
-.workspace-leaf-content.is-md-view-headlines-only .HyperMD-header,
-.privacy-glasses-reveal :is(.cm-callout),
-.privacy-glasses-reveal-all :is(.cm-callout) {
- filter: unset !important;
-}
\ No newline at end of file
diff --git a/Edikoyo/.obsidian/workspace.json b/Edikoyo/.obsidian/workspace.json
index 1fe529d..8e35d66 100644
--- a/Edikoyo/.obsidian/workspace.json
+++ b/Edikoyo/.obsidian/workspace.json
@@ -214,7 +214,7 @@
"command-palette:Open command palette": false,
"obsidian-git:Open Git source control": false,
"privacy-glasses:Reveal non-private": true,
- "ribbon-divider:ribbon-divider-5b05ebe7-55cd-443b-9de6-33e3cb2c36c3": false,
+ "ribbon-divider:ribbon-divider-5b05ebe7-55cd-443b-9de6-33e3cb2c36c3": true,
"privacy-glasses:Reveal all": false,
"privacy-glasses:Hide all": false,
"privacy-glasses:Reveal headlines only": false,