vault backup: 2024-04-15 11:54:03

This commit is contained in:
2024-04-15 11:54:03 +08:00
parent 839f2a0fd6
commit 6bb6abaa04
126 changed files with 104482 additions and 70653 deletions

View File

@@ -0,0 +1,163 @@
{
"settings_version": "0.18.0",
"debug": false,
"obsidian_command_palette_prefix": "Execute: ",
"preview_variables_in_command_palette": true,
"show_autocomplete_menu": true,
"working_directory": "",
"default_shells": {},
"environment_variable_path_augmentations": {},
"error_message_duration": 20,
"notification_message_duration": 10,
"execution_notification_mode": "disabled",
"output_channel_clipboard_also_outputs_to_notification": true,
"enable_events": true,
"approve_modals_by_pressing_enter_key": true,
"max_visible_lines_in_shell_command_fields": false,
"shell_commands": [
{
"platform_specific_commands": {
"default": "python ./08-Assets/Scripts/auto_transfer.py"
},
"shells": {},
"alias": "test_草稿归档",
"confirm_execution": false,
"ignore_error_codes": [],
"output_channels": {
"stdout": "current-file-caret",
"stderr": "current-file-caret"
},
"output_channel_order": "stdout-first",
"events": {},
"command_palette_availability": "enabled",
"id": "0",
"icon": null,
"input_contents": {
"stdin": null
},
"output_wrappers": {
"stdout": null,
"stderr": null
},
"output_handling_mode": "buffered",
"preactions": [],
"variable_default_values": {}
},
{
"platform_specific_commands": {
"default": "python ./08-Assets/Scripts/ref_list.py {{file_path:absolute}}"
},
"shells": {},
"alias": "test_引文列表",
"confirm_execution": false,
"ignore_error_codes": [],
"output_channels": {
"stdout": "current-file-caret",
"stderr": "current-file-caret"
},
"output_channel_order": "stdout-first",
"events": {},
"command_palette_availability": "enabled",
"id": "1",
"icon": null,
"input_contents": {
"stdin": null
},
"output_wrappers": {
"stdout": null,
"stderr": null
},
"output_handling_mode": "buffered",
"preactions": [],
"variable_default_values": {}
},
{
"platform_specific_commands": {
"default": "python ./08-Assets/Scripts/author_count.py {{file_path:absolute}}"
},
"shells": {},
"alias": "test_作者统计",
"confirm_execution": false,
"ignore_error_codes": [],
"output_channels": {
"stdout": "current-file-caret",
"stderr": "current-file-caret"
},
"output_channel_order": "stdout-first",
"events": {},
"command_palette_availability": "enabled",
"id": "2",
"icon": null,
"input_contents": {
"stdin": null
},
"output_wrappers": {
"stdout": null,
"stderr": null
},
"output_handling_mode": "buffered",
"preactions": [],
"variable_default_values": {}
},
{
"platform_specific_commands": {
"default": "python ./08-Assets/Scripts/paper2docx.py {{file_path:absolute}}"
},
"shells": {},
"alias": "test_导出笔记",
"confirm_execution": false,
"ignore_error_codes": [],
"output_channels": {
"stdout": "current-file-caret",
"stderr": "current-file-caret"
},
"output_channel_order": "stdout-first",
"events": {},
"command_palette_availability": "enabled",
"id": "3",
"icon": null,
"input_contents": {
"stdin": null
},
"output_wrappers": {
"stdout": null,
"stderr": null
},
"output_handling_mode": "buffered",
"preactions": [],
"variable_default_values": {}
},
{
"platform_specific_commands": {
"default": "python ./08-Assets/Scripts/export_project.py {{file_path:absolute}}"
},
"shells": {},
"alias": "test_导出项目",
"confirm_execution": false,
"ignore_error_codes": [],
"output_channels": {
"stdout": "current-file-bottom",
"stderr": "current-file-bottom"
},
"output_channel_order": "stdout-first",
"events": {},
"command_palette_availability": "enabled",
"id": "4",
"icon": null,
"input_contents": {
"stdin": null
},
"output_wrappers": {
"stdout": null,
"stderr": null
},
"output_handling_mode": "buffered",
"preactions": [],
"variable_default_values": {}
}
],
"prompts": [],
"builtin_variables": {},
"custom_variables": [],
"output_wrappers": []
}

View File

@@ -1,5 +1,5 @@
{
"settings_version": "0.18.0",
"settings_version": "0.21.0",
"debug": false,
"obsidian_command_palette_prefix": "Execute: ",
"preview_variables_in_command_palette": true,
@@ -7,12 +7,20 @@
"working_directory": "",
"default_shells": {},
"environment_variable_path_augmentations": {},
"show_installation_warnings": true,
"error_message_duration": 20,
"notification_message_duration": 10,
"execution_notification_mode": "disabled",
"output_channel_clipboard_also_outputs_to_notification": true,
"output_channel_notification_decorates_output": true,
"enable_events": true,
"approve_modals_by_pressing_enter_key": true,
"command_palette": {
"re_execute_last_shell_command": {
"enabled": true,
"prefix": "Re-execute: "
}
},
"max_visible_lines_in_shell_command_fields": false,
"shell_commands": [
{
@@ -23,10 +31,6 @@
"alias": "test_草稿归档",
"confirm_execution": false,
"ignore_error_codes": [],
"output_channels": {
"stdout": "current-file-caret",
"stderr": "current-file-caret"
},
"output_channel_order": "stdout-first",
"events": {},
"command_palette_availability": "enabled",
@@ -41,7 +45,17 @@
},
"output_handling_mode": "buffered",
"preactions": [],
"variable_default_values": {}
"variable_default_values": {},
"output_handlers": {
"stdout": {
"handler": "current-file-caret",
"convert_ansi_code": true
},
"stderr": {
"handler": "current-file-caret",
"convert_ansi_code": true
}
}
},
{
"platform_specific_commands": {
@@ -51,10 +65,6 @@
"alias": "test_引文列表",
"confirm_execution": false,
"ignore_error_codes": [],
"output_channels": {
"stdout": "current-file-caret",
"stderr": "current-file-caret"
},
"output_channel_order": "stdout-first",
"events": {},
"command_palette_availability": "enabled",
@@ -69,7 +79,17 @@
},
"output_handling_mode": "buffered",
"preactions": [],
"variable_default_values": {}
"variable_default_values": {},
"output_handlers": {
"stdout": {
"handler": "current-file-caret",
"convert_ansi_code": true
},
"stderr": {
"handler": "current-file-caret",
"convert_ansi_code": true
}
}
},
{
"platform_specific_commands": {
@@ -79,10 +99,6 @@
"alias": "test_作者统计",
"confirm_execution": false,
"ignore_error_codes": [],
"output_channels": {
"stdout": "current-file-caret",
"stderr": "current-file-caret"
},
"output_channel_order": "stdout-first",
"events": {},
"command_palette_availability": "enabled",
@@ -97,7 +113,17 @@
},
"output_handling_mode": "buffered",
"preactions": [],
"variable_default_values": {}
"variable_default_values": {},
"output_handlers": {
"stdout": {
"handler": "current-file-caret",
"convert_ansi_code": true
},
"stderr": {
"handler": "current-file-caret",
"convert_ansi_code": true
}
}
},
{
"platform_specific_commands": {
@@ -107,10 +133,6 @@
"alias": "test_导出笔记",
"confirm_execution": false,
"ignore_error_codes": [],
"output_channels": {
"stdout": "current-file-caret",
"stderr": "current-file-caret"
},
"output_channel_order": "stdout-first",
"events": {},
"command_palette_availability": "enabled",
@@ -125,7 +147,17 @@
},
"output_handling_mode": "buffered",
"preactions": [],
"variable_default_values": {}
"variable_default_values": {},
"output_handlers": {
"stdout": {
"handler": "current-file-caret",
"convert_ansi_code": true
},
"stderr": {
"handler": "current-file-caret",
"convert_ansi_code": true
}
}
},
{
"platform_specific_commands": {
@@ -135,10 +167,6 @@
"alias": "test_导出项目",
"confirm_execution": false,
"ignore_error_codes": [],
"output_channels": {
"stdout": "current-file-bottom",
"stderr": "current-file-bottom"
},
"output_channel_order": "stdout-first",
"events": {},
"command_palette_availability": "enabled",
@@ -153,11 +181,22 @@
},
"output_handling_mode": "buffered",
"preactions": [],
"variable_default_values": {}
"variable_default_values": {},
"output_handlers": {
"stdout": {
"handler": "current-file-bottom",
"convert_ansi_code": true
},
"stderr": {
"handler": "current-file-bottom",
"convert_ansi_code": true
}
}
}
],
"prompts": [],
"builtin_variables": {},
"custom_variables": [],
"custom_shells": [],
"output_wrappers": []
}

File diff suppressed because one or more lines are too long

View File

@@ -1,10 +1,11 @@
{
"id": "obsidian-shellcommands",
"name": "Shell commands",
"version": "0.18.0",
"minAppVersion": "0.16.3",
"version": "0.21.0",
"minAppVersion": "1.4.0",
"description": "You can predefine system commands that you want to run frequently, and assign hotkeys for them. For example open external applications. Automatic execution is also supported, and execution via URI links.",
"author": "Jarkko Linnanvirta",
"authorUrl": "",
"authorUrl": "https://github.com/Taitava",
"fundingUrl": "https://publish.obsidian.md/shellcommands/Donate",
"isDesktopOnly": true
}

View File

@@ -45,6 +45,17 @@
font-size: 80%;
}
/**
* Used for indenting setting elements when they have relations to each other.
*/
.SC-indent {
margin-left: 20px;
}
.SC-text-right {
text-align: right;
}
/*
* SETTING GROUPS
* Related setting fields combined together.
@@ -73,10 +84,18 @@ div.SC-setting-group div.setting-item.SC-full-description div.setting-item-contr
width: 0; /* Make room for description. */
}
div.SC-setting-group div.setting-item.SC-wide-description div.setting-item-info {
width: max-content; /* Grow description as wide as possible, but leave some space for setting control elements. */
}
div.SC-setting-group div.setting-item.SC-wide-description div.setting-item-control {
width: min-content; /* Make room for description. */
}
div.SC-setting-group div.setting-item input[type=text],
div.SC-setting-group div.setting-item input[type=password],
div.SC-setting-group div.setting-item input[type=search],
div.SC-setting-group div.setting-item textarea,
div.SC-setting-group div.setting-item select {
div.SC-setting-group div.setting-item:not(.setting-item-heading) select {
width: 100%; /* Enlarge fields. */
max-width: 100%; /* Remove a maximum width limitation, at least <select> elements had one. */
}
@@ -148,6 +167,13 @@ div.SC-hotkey-info svg {
vertical-align: middle; /* Not middle but close enough. */
}
small.SC-preview-shell-name {
display: inline-block;
margin-top: 7px;
border-top: 1px solid var(--text-faint);
font-weight: bold;
}
/*
* SHELL COMMAND ICONS (not button icons, just informational icons)
*/
@@ -178,6 +204,19 @@ li.SC-custom-variable-view-list-item {
}
/*
* CUSTOM SHELL SETTINGS
*/
div.SC-path-translator-setting div.setting-item-control::before {
content: "function (absolutePath) {";
white-space: nowrap;
}
div.SC-path-translator-setting div.setting-item-control::after {
content: "}";
}
/*
* MODALS (generic rules to all of the plugin's modals)
*/