Init
This commit is contained in:
27
.obsidian/plugins/workspaces-plus/app.json.bak
vendored
Normal file
27
.obsidian/plugins/workspaces-plus/app.json.bak
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"attachmentFolderPath": "08-Assets",
|
||||
"trashOption": "local",
|
||||
"promptDelete": false,
|
||||
"pdfExportSettings": {
|
||||
"pageSize": "A4",
|
||||
"landscape": false,
|
||||
"margin": "0",
|
||||
"downscalePercent": 90
|
||||
},
|
||||
"alwaysUpdateLinks": true,
|
||||
"foldIndent": true,
|
||||
"foldHeading": true,
|
||||
"showLineNumber": true,
|
||||
"newFileLocation": "folder",
|
||||
"newFileFolderPath": "01-Diary/本周事务",
|
||||
"fileSortOrder": "alphabetical",
|
||||
"legacyEditor": false,
|
||||
"livePreview": true,
|
||||
"defaultViewMode": "source",
|
||||
"newLinkFormat": "shortest",
|
||||
"userIgnoreFilters": [
|
||||
"09-Templates/"
|
||||
],
|
||||
"readableLineLength": false,
|
||||
"lineWrap": true
|
||||
}
|
21
.obsidian/plugins/workspaces-plus/appearance.json.bak
vendored
Normal file
21
.obsidian/plugins/workspaces-plus/appearance.json.bak
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"baseFontSize": 16,
|
||||
"translucency": false,
|
||||
"theme": "obsidian",
|
||||
"cssTheme": "Blue Topaz",
|
||||
"enabledCssSnippets": [
|
||||
"S - Images Adjustments",
|
||||
"S - Admonitions",
|
||||
"S - Aside",
|
||||
"S - Checkboxes",
|
||||
"S - Embed Adjustments",
|
||||
"S - Encoded Icons",
|
||||
"S - External Link Icons",
|
||||
"S - Kanban",
|
||||
"【日记】Time",
|
||||
"【自定义】mytools 样式",
|
||||
"【图标】iconfont"
|
||||
],
|
||||
"baseFontSizeAction": false,
|
||||
"accentColor": ""
|
||||
}
|
6
.obsidian/plugins/workspaces-plus/data.json
vendored
Normal file
6
.obsidian/plugins/workspaces-plus/data.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"showInstructions": true,
|
||||
"showDeletePrompt": true,
|
||||
"saveOnSwitch": false,
|
||||
"saveOnChange": false
|
||||
}
|
4628
.obsidian/plugins/workspaces-plus/main.js
vendored
Normal file
4628
.obsidian/plugins/workspaces-plus/main.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
10
.obsidian/plugins/workspaces-plus/manifest.json
vendored
Normal file
10
.obsidian/plugins/workspaces-plus/manifest.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "workspaces-plus",
|
||||
"name": "Workspaces Plus",
|
||||
"version": "0.3.3",
|
||||
"minAppVersion": "1.0.0",
|
||||
"description": "Quickly switch and manage workspaces",
|
||||
"author": "NothingIsLost and Johnny ✨",
|
||||
"authorUrl": "https://github.com/nothingislost",
|
||||
"isDesktopOnly": true
|
||||
}
|
199
.obsidian/plugins/workspaces-plus/styles.css
vendored
Normal file
199
.obsidian/plugins/workspaces-plus/styles.css
vendored
Normal file
@@ -0,0 +1,199 @@
|
||||
:where(.workspaces-plus-modal, .workspaces-plus-mode-modal) {
|
||||
box-shadow: 0px 0px 17px 4px var(--background-modifier-box-shadow);
|
||||
z-index: var(--layer-menu);
|
||||
}
|
||||
|
||||
:where(.workspaces-plus-modal, .workspaces-plus-mode-modal).quick-switch {
|
||||
width: unset;
|
||||
}
|
||||
|
||||
:where(.workspaces-plus-modal, .workspaces-plus-mode-modal) .prompt-instruction:last-child {
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.status-bar-item.plugin-workspaces-plus.mod-clickable {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
:where(.workspaces-plus-modal, .workspaces-plus-mode-modal) div.suggestion-empty button.list-item-part {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
:where(.workspaces-plus-modal, .workspaces-plus-mode-modal) div.suggestion-empty {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.prompt-results:not(.renaming) .workspace-item.is-selected {
|
||||
background-color: var(--background-secondary);
|
||||
border-radius: 0.2em;
|
||||
}
|
||||
|
||||
.prompt-results:not(.renaming) .workspace-item.is-selected ~ div.workspace-description {
|
||||
background-color: var(--background-secondary);
|
||||
border-radius: 0.2em;
|
||||
}
|
||||
|
||||
.workspace-results .rename-workspace {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 2em;
|
||||
margin-top: 0.5em;
|
||||
fill: var(--text-muted);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.workspace-results .workspace-description {
|
||||
font-size: 0.8em;
|
||||
padding: 0px 6rem 0.6rem 2rem;
|
||||
color: var(--text-muted);
|
||||
line-height: 1;
|
||||
width: 100%;
|
||||
/* removing max-width since it messes up the selected item background */
|
||||
/* max-width: 40em; */
|
||||
}
|
||||
|
||||
.workspace-results .delete-workspace {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 0.7em;
|
||||
margin-top: 0.5em;
|
||||
fill: var(--text-muted);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.workspace-results .platform {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 3.3em;
|
||||
margin-top: 0.4em;
|
||||
fill: var(--text-muted);
|
||||
color: var(--text-muted);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.active-workspace {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 0.5em;
|
||||
margin-top: 0.5em;
|
||||
fill: var(--text-muted);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.rename-workspace,
|
||||
.delete-workspace {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.rename-workspace:hover,
|
||||
.delete-workspace:hover {
|
||||
fill: var(--text-accent-hover);
|
||||
}
|
||||
|
||||
.workspace-results {
|
||||
padding: 0.1em 0.1em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.prompt-results:not(.renaming) .workspace-item.is-selected ~ .rename-workspace,
|
||||
.prompt-results:not(.renaming) .workspace-item.is-selected ~ .delete-workspace,
|
||||
.prompt-results:not(.renaming) .workspace-item.is-selected ~ .platform {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
body.is-mobile .prompt-results:not(.renaming) .workspace-item ~ .rename-workspace,
|
||||
body.is-mobile .prompt-results:not(.renaming) .workspace-item ~ .delete-workspace,
|
||||
body.is-mobile .prompt-results:not(.renaming) .workspace-item ~ .platform {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.workspace-item {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
padding: 5px 6rem 5px 2rem;
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
white-space: normal;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.workspaces-plus-color-scheme-icon > svg {
|
||||
fill: var(--text-muted);
|
||||
}
|
||||
|
||||
.workspaces-plus-color-scheme-icon:hover > svg {
|
||||
fill: var(--text-normal);
|
||||
}
|
||||
|
||||
.status-bar .plugin-workspaces-plus .status-bar-item-segment.icon {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.status-bar .plugin-workspaces-plus .status-bar-item-segment.name {
|
||||
margin-left: 1.7em;
|
||||
}
|
||||
|
||||
.status-bar .plugin-workspaces-plus .icon svg {
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
.status-bar-item.plugin-workspaces-plus.mode-switcher,
|
||||
.status-bar-item.plugin-workspaces-plus.workspace-switcher {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
:where(.workspaces-plus-modal, .workspaces-plus-mode-modal) .workspace-item[contenteditable="true"]:focus {
|
||||
cursor: text;
|
||||
border: 1px solid var(--interactive-accent);
|
||||
background-color: var(--background-modifier-form-field);
|
||||
border-radius: 0.2em;
|
||||
box-shadow: 0 0 0 0.1px rgba(0, 0, 0, 0.1), 0 0 0 3px hsla(var(--accent-hsl), 0.15);
|
||||
}
|
||||
|
||||
.workspace-item[contenteditable="true"]:focus ~ div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.is-mobile .side-dock-actions div[aria-label="Manage modes"] svg {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.side-dock-actions div[aria-label="Manage modes"] svg {
|
||||
background-color: currentColor;
|
||||
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" viewBox="0 0 24 24"><path fill="red" d="M4 4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h8v-2H4V8h16v4h2V8a2 2 0 0 0-2-2h-8l-2-2m8 10a.26.26 0 0 0-.26.21l-.19 1.32c-.3.13-.59.29-.85.47l-1.24-.5c-.11 0-.24 0-.31.13l-1 1.73c-.06.11-.04.24.06.32l1.06.82a4.193 4.193 0 0 0 0 1l-1.06.82a.26.26 0 0 0-.06.32l1 1.73c.06.13.19.13.31.13l1.24-.5c.26.18.54.35.85.47l.19 1.32c.02.12.12.21.26.21h2c.11 0 .22-.09.24-.21l.19-1.32c.3-.13.57-.29.84-.47l1.23.5c.13 0 .26 0 .33-.13l1-1.73a.26.26 0 0 0-.06-.32l-1.07-.82c.02-.17.04-.33.04-.5c0-.17-.01-.33-.04-.5l1.06-.82a.26.26 0 0 0 .06-.32l-1-1.73c-.06-.13-.19-.13-.32-.13l-1.23.5c-.27-.18-.54-.35-.85-.47l-.19-1.32A.236.236 0 0 0 20 14m-1 3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5c-.84 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5z"/></svg>');
|
||||
}
|
||||
|
||||
.side-dock-actions div[aria-label="Manage modes"] svg > path {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.setting-item-heading.is-collapsed + .settings-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.settings-container {
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
|
||||
.workspace-modes:not(.is-enabled) ~ .requires-workspace-modes {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.setting-item.file-override .setting-item-control .search-input-container {
|
||||
margin-bottom: 0;
|
||||
margin-right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.setting-item.file-override .setting-item-info {
|
||||
flex: 1 1 auto;
|
||||
flex-grow: 0;
|
||||
margin-right: 20px;
|
||||
}
|
370
.obsidian/plugins/workspaces-plus/workspaces.json.bak
vendored
Normal file
370
.obsidian/plugins/workspaces-plus/workspaces.json.bak
vendored
Normal file
@@ -0,0 +1,370 @@
|
||||
{
|
||||
"workspaces": {
|
||||
"编辑模式": {
|
||||
"main": {
|
||||
"id": "9a0780749afe3857",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "c8875a5f97f4a74d",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "empty",
|
||||
"state": {}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": [
|
||||
{
|
||||
"leaf": "c8875a5f97f4a74d",
|
||||
"group": null,
|
||||
"state": "{\"type\":\"empty\",\"state\":{}}",
|
||||
"eState": "{}"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
},
|
||||
"left": {
|
||||
"id": "169762c0897285b5",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "66a927cf4be47876",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "3090910a3bbb4bfa",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-explorer",
|
||||
"state": {}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "d4cc5673d41093ba",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "tag:obsidian读文献",
|
||||
"matchingCase": true,
|
||||
"explainSearch": true,
|
||||
"collapseAll": true,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical"
|
||||
}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "af328bc8c7dd1264",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "starred",
|
||||
"state": {}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 234
|
||||
},
|
||||
"right": {
|
||||
"id": "6e7011190a6a4416",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "2c47daab7a7f6b09",
|
||||
"type": "tabs",
|
||||
"dimension": 38.66498740554156,
|
||||
"children": [
|
||||
{
|
||||
"id": "0d92b31ac7bc3511",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "calendar",
|
||||
"state": {}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "b4bbb6d3769d62dc",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "advanced-tables-toolbar",
|
||||
"state": {}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 1
|
||||
},
|
||||
{
|
||||
"id": "4f101d806a54a17c",
|
||||
"type": "tabs",
|
||||
"dimension": 61.33501259445844,
|
||||
"children": [
|
||||
{
|
||||
"id": "450ad81cf27a4dff",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "227681cc38450669",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": true,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ec1d354533e6cbd2",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "tag",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"useHierarchy": true
|
||||
}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 1
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 229
|
||||
},
|
||||
"active": "c8875a5f97f4a74d"
|
||||
},
|
||||
"阅读模式": {
|
||||
"main": {
|
||||
"id": "9a0780749afe3857",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "0d255cdd69daa9bf",
|
||||
"type": "leaf",
|
||||
"pinned": true,
|
||||
"state": {
|
||||
"type": "empty",
|
||||
"state": {},
|
||||
"pinned": true
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": [
|
||||
{
|
||||
"leaf": "0d255cdd69daa9bf",
|
||||
"group": null,
|
||||
"state": "{\"type\":\"empty\",\"state\":{},\"pinned\":true}",
|
||||
"eState": "{}"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
},
|
||||
"left": {
|
||||
"id": "169762c0897285b5",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "66a927cf4be47876",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "3090910a3bbb4bfa",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-explorer",
|
||||
"state": {}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "d4cc5673d41093ba",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "",
|
||||
"matchingCase": true,
|
||||
"explainSearch": true,
|
||||
"collapseAll": true,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical"
|
||||
}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "af328bc8c7dd1264",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "starred",
|
||||
"state": {}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 207,
|
||||
"collapsed": true
|
||||
},
|
||||
"right": {
|
||||
"id": "6e7011190a6a4416",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "2c47daab7a7f6b09",
|
||||
"type": "tabs",
|
||||
"dimension": 40.609137055837564,
|
||||
"children": [
|
||||
{
|
||||
"id": "ec1d354533e6cbd2",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "tag",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"useHierarchy": true
|
||||
}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0d92b31ac7bc3511",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "calendar",
|
||||
"state": {}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "b4bbb6d3769d62dc",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "advanced-tables-toolbar",
|
||||
"state": {}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 1
|
||||
},
|
||||
{
|
||||
"id": "4f101d806a54a17c",
|
||||
"type": "tabs",
|
||||
"dimension": 59.390862944162436,
|
||||
"children": [
|
||||
{
|
||||
"id": "450ad81cf27a4dff",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "227681cc38450669",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": true,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
},
|
||||
"pane-relief:history-v1": {
|
||||
"pos": 0,
|
||||
"stack": []
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 1
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 245
|
||||
},
|
||||
"active": "0d255cdd69daa9bf"
|
||||
}
|
||||
},
|
||||
"active": "编辑模式"
|
||||
}
|
Reference in New Issue
Block a user