From 2a72db781b196c2d964c985473727d78a436af69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Sch=C3=A4ferdiek?= Date: Sat, 12 Aug 2023 09:48:43 +0200 Subject: [PATCH] Manual backup: 2023-08-12 09:48:42 --- .obsidian/app.json | 5 +- .obsidian/plugins/obsidian-git/main.js | 80 +++++++++++++++++++- .obsidian/plugins/obsidian-git/manifest.json | 2 +- .obsidian/workspace.json | 16 ++-- KB/Linux/Desktop/Mail.md | 8 ++ 5 files changed, 94 insertions(+), 17 deletions(-) create mode 100644 KB/Linux/Desktop/Mail.md diff --git a/.obsidian/app.json b/.obsidian/app.json index ffcf513..fcbd37e 100644 --- a/.obsidian/app.json +++ b/.obsidian/app.json @@ -5,10 +5,7 @@ "defaultViewMode": "preview", "foldIndent": true, "spellcheck": false, - "spellcheckLanguages": [ - "en-US", - "de-DE" - ], + "spellcheckLanguages": null, "trashOption": "system", "alwaysUpdateLinks": true, "newLinkFormat": "absolute", diff --git a/.obsidian/plugins/obsidian-git/main.js b/.obsidian/plugins/obsidian-git/main.js index 950027f..e079ea5 100644 --- a/.obsidian/plugins/obsidian-git/main.js +++ b/.obsidian/plugins/obsidian-git/main.js @@ -29954,21 +29954,21 @@ var SimpleGit = class extends GitManager { (err) => this.onError(err) ); return res.all.map((e) => { - var _a2, _b; + var _a2, _b, _c, _d; return { ...e, refs: e.refs.split(", "), diff: { ...e.diff, - files: e.diff.files.map((f) => ({ + files: (_b = (_a2 = e.diff) == null ? void 0 : _a2.files.map((f) => ({ ...f, status: f.status, path: f.file, hash: e.hash, vault_path: this.getVaultPath(f.file) - })) + }))) != null ? _b : [] }, - fileName: (_b = (_a2 = e.diff) == null ? void 0 : _a2.files.first()) == null ? void 0 : _b.file + fileName: (_d = (_c = e.diff) == null ? void 0 : _c.files.first()) == null ? void 0 : _d.file }; }); } @@ -37390,6 +37390,15 @@ function create_else_block(ctx) { set_style(div0, "padding-right", "5px"); set_style(div0, "display", "flex"); attr(div1, "class", "tree-item-icon nav-folder-collapse-indicator collapse-icon"); + toggle_class( + div1, + "is-collapsed", + /*closed*/ + ctx[4][ + /*entity*/ + ctx[8].title + ] + ); attr(div2, "class", "tree-item-inner nav-folder-title-content svelte-1lnl15d"); attr(div3, "class", "tree-item-self is-clickable nav-folder-title"); attr( @@ -37432,6 +37441,18 @@ function create_else_block(ctx) { }, p(new_ctx, dirty) { ctx = new_ctx; + if (!current || dirty & /*closed, hierarchy*/ + 17) { + toggle_class( + div1, + "is-collapsed", + /*closed*/ + ctx[4][ + /*entity*/ + ctx[8].title + ] + ); + } if ((!current || dirty & /*hierarchy*/ 1) && t2_value !== (t2_value = /*entity*/ ctx[8].title + "")) @@ -38219,6 +38240,12 @@ function create_fragment3(ctx) { if (if_block1) if_block1.c(); attr(div0, "class", "tree-item-icon nav-folder-collapse-indicator collapse-icon"); + toggle_class( + div0, + "is-collapsed", + /*isCollapsed*/ + ctx[4] + ); attr(div1, "class", "tree-item-inner nav-folder-title-content"); attr(div1, "aria-label", div1_aria_label_value = /*log*/ ctx[0].message); @@ -38264,6 +38291,15 @@ function create_fragment3(ctx) { } }, p(ctx2, [dirty]) { + if (!current || dirty & /*isCollapsed*/ + 16) { + toggle_class( + div0, + "is-collapsed", + /*isCollapsed*/ + ctx2[4] + ); + } if ( /*log*/ ctx2[0].refs.length > 0 @@ -39871,6 +39907,15 @@ function create_else_block3(ctx) { set_style(div0, "padding-right", "5px"); set_style(div0, "display", "flex"); attr(div1, "class", "tree-item-icon nav-folder-collapse-indicator collapse-icon"); + toggle_class( + div1, + "is-collapsed", + /*closed*/ + ctx[5][ + /*entity*/ + ctx[15].title + ] + ); attr(div2, "class", "tree-item-inner nav-folder-title-content svelte-1lnl15d"); set_style(div3, "width", "11px"); attr(div4, "class", "buttons"); @@ -39922,6 +39967,18 @@ function create_else_block3(ctx) { }, p(new_ctx, dirty) { ctx = new_ctx; + if (!current || dirty & /*closed, hierarchy*/ + 33) { + toggle_class( + div1, + "is-collapsed", + /*closed*/ + ctx[5][ + /*entity*/ + ctx[15].title + ] + ); + } if ((!current || dirty & /*hierarchy*/ 1) && t2_value !== (t2_value = /*entity*/ ctx[15].title + "")) @@ -40878,6 +40935,8 @@ function create_if_block8(ctx) { if (if_block2) if_block2.c(); attr(div0, "class", "tree-item-icon nav-folder-collapse-indicator collapse-icon"); + toggle_class(div0, "is-collapsed", !/*stagedOpen*/ + ctx[13]); attr(div1, "class", "tree-item-inner nav-folder-title-content"); attr(div2, "data-icon", "minus"); attr(div2, "aria-label", "Unstage"); @@ -40890,6 +40949,8 @@ function create_if_block8(ctx) { toggle_class(div7, "is-collapsed", !/*stagedOpen*/ ctx[13]); attr(div8, "class", "tree-item-icon nav-folder-collapse-indicator collapse-icon"); + toggle_class(div8, "is-collapsed", !/*changesOpen*/ + ctx[12]); attr(div9, "class", "tree-item-inner nav-folder-title-content"); attr(div10, "data-icon", "undo"); attr(div10, "aria-label", "Discard"); @@ -40980,6 +41041,11 @@ function create_if_block8(ctx) { } }, p(ctx2, dirty) { + if (!current || dirty[0] & /*stagedOpen*/ + 8192) { + toggle_class(div0, "is-collapsed", !/*stagedOpen*/ + ctx2[13]); + } if ((!current || dirty[0] & /*status*/ 64) && t4_value !== (t4_value = /*status*/ ctx2[6].staged.length + "")) @@ -41012,6 +41078,11 @@ function create_if_block8(ctx) { toggle_class(div7, "is-collapsed", !/*stagedOpen*/ ctx2[13]); } + if (!current || dirty[0] & /*changesOpen*/ + 4096) { + toggle_class(div8, "is-collapsed", !/*changesOpen*/ + ctx2[12]); + } if ((!current || dirty[0] & /*status*/ 64) && t12_value !== (t12_value = /*status*/ ctx2[6].changed.length + "")) @@ -43660,6 +43731,7 @@ var ObsidianGit = class extends import_obsidian30.Plugin { } this.offlineMode = false; this.setState(0 /* idle */); + dispatchEvent(new CustomEvent("git-refresh")); return true; } } diff --git a/.obsidian/plugins/obsidian-git/manifest.json b/.obsidian/plugins/obsidian-git/manifest.json index 38b873f..edb53f6 100644 --- a/.obsidian/plugins/obsidian-git/manifest.json +++ b/.obsidian/plugins/obsidian-git/manifest.json @@ -5,5 +5,5 @@ "isDesktopOnly": false, "fundingUrl": "https://ko-fi.com/vinzent", "js": "main.js", - "version": "2.20.5" + "version": "2.20.7" } diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index a5780ca..16c1790 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -4,11 +4,11 @@ "type": "split", "children": [ { - "id": "259be6a52dd4c123", + "id": "2953afe8c0f17110", "type": "tabs", "children": [ { - "id": "14aff2c8a1d76aee", + "id": "e4c421caecd29fe4", "type": "leaf", "state": { "type": "empty", @@ -128,11 +128,15 @@ "templater-obsidian:Templater": false } }, - "active": "14aff2c8a1d76aee", + "active": "e4c421caecd29fe4", "lastOpenFiles": [ + "KB/Linux/Desktop/Mail.md", + "KB/Linux/Desktop/i3.md", + "KB/Linux/Desktop/GPG - PGP.md", + "KB/Linux/Desktop/Archinstall.md", + "KB/Linux/Desktop/Firewall.md", "KB/Linux/Wireguard.md", "KB/Linux/Disk Speed.md", - "KB/Linux/Desktop/Firewall.md", "KB/Linux/Desktop/Audio/EQ.md", "KB/Linux/Desktop/Audio/aptx and pulseaudio.md", "KB/Linux/AMD.md", @@ -142,7 +146,6 @@ "KB/Linux/Migrate to rootless docker 1.md", "KB/Linux/Migrate to rootless docker.md", "KB/Linux/GNOME.md", - "KB/Linux/Desktop/Archinstall.md", "KB/Linux/Server/SSH Guard.md", "KB/Linux/Server/Bootstrap.md", "KB/Linux/Server/DNS.md", @@ -153,9 +156,6 @@ "KB/Android/ADB Backup.md", "KB/Linux/Desktop/KDE/KDE Tiling.md", "KB/Linux/Desktop/KDE/KDE.md", - "KB/Linux/Desktop/Fonts.md", - "KB/Linux/Desktop/GPG - PGP.md", - "KB/Linux/Desktop/i3.md", "KB/Linux/Desktop/Firewall" ] } \ No newline at end of file diff --git a/KB/Linux/Desktop/Mail.md b/KB/Linux/Desktop/Mail.md new file mode 100644 index 0000000..b645ef3 --- /dev/null +++ b/KB/Linux/Desktop/Mail.md @@ -0,0 +1,8 @@ + +## Evolution + +Set `org.gnome.evolution.mail.mark-seen-timeout` to `0` for instant marking as read. + +## Thunderbird + +See "privacy" git repository. \ No newline at end of file