Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:card_file_box: Adds new attribute, item.hotkey for quick launching

Alicia Sykesb51aff6dbd2c
diff --git a/docs/configuring.md b/docs/configuring.md
index 616e54d1..1216c6ab 100644
--- a/docs/configuring.md
+++ b/docs/configuring.md
@@ -118,6 +118,7 @@ To disallow any changes from being written to disk via the UI config editor, set
**`url`** | `string` | Required | The URL / location of web address for when the item is clicked
**`icon`** | `string` | _Optional_ | The icon for a given item. Can be a font-awesome icon, favicon, remote URL or local URL. See [`item.icon`](#sectionicon-and-sectionitemicon)
**`target`** | `string` | _Optional_ | The opening method for when the item is clicked, either `newtab`, `sametab`, `modal` or `workspace`. Where `newtab` will open the link in a new tab, `sametab` will open it in the current tab, and `modal` will open a pop-up modal with the content displayed within that iframe. Note that for the iframe to load, you must have set the CORS headers to either allow `*` ot allow the domain that you are hosting Dashy on, for some websites and self-hosted services, this is already set.
+**`hotkey`** | `number` | _Optional_ | Give frequently opened applications a numeric hotkey, between `0 - 9`. You can then just press that key to launch that application.
**`statusCheck`** | `boolean` | _Optional_ | When set to `true`, Dashy will ping the URL associated with the current service, and display its status as a dot next to the item. The value here will override `appConfig.statusCheck` so you can turn off or on checks for a given service. Defaults to `appConfig.statusCheck`, falls back to `false`
**`statusCheckUrl`** | `string` | _Optional_ | If you've enabled `statusCheck`, and want to use a different URL to what is defined under the item, then specify it here
**`statusCheckHeaders`** | `object` | _Optional_ | If you're endpoint requires any specific headers for the status checking, then define them here
diff --git a/src/utils/ConfigSchema.json b/src/utils/ConfigSchema.json
index 73987ef7..86615453 100644
--- a/src/utils/ConfigSchema.json
+++ b/src/utils/ConfigSchema.json
@@ -364,6 +364,10 @@
"default": "newtab",
"description": "Opening method, when item is clicked"
},
+ "hotkey": {
+ "type": "number",
+ "description": "A numeric shortcut key, between 0 and 9. Useful for quickly launching frequently used applications"
+ },
"color": {
"type": "string",
"description": "A custom fill color of the item"