mirror of
				https://github.com/dragonwocky/obsidian-tray.git
				synced 2025-11-04 08:08:08 +11:00 
			
		
		
		
	revert hotkey changes as per #19
This commit is contained in:
		
							parent
							
								
									b60e453b68
								
							
						
					
					
						commit
						6a76f575ed
					
				
							
								
								
									
										30
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										30
									
								
								README.md
									
									
									
									
									
								
							@ -8,16 +8,16 @@ toggle window visibility and create quick notes from anywhere in your operating
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### Window management
 | 
					### Window management
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| Option                     | Description                                                                                                                                                                                              | Default                    |
 | 
					| Option                     | Description                                                                                                                                                                                              | Default                        |
 | 
				
			||||||
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
 | 
					| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
 | 
				
			||||||
| Launch on startup          | Open Obsidian automatically whenever you log into your computer.                                                                                                                                         | Disabled                   |
 | 
					| Launch on startup          | Open Obsidian automatically whenever you log into your computer.                                                                                                                                         | Disabled                       |
 | 
				
			||||||
| Hide on launch             | Minimises Obsidian automatically whenever the app is launched. If the "Run in background" option is enabled, windows will be hidden to the system tray/menubar instead of minimised to the taskbar/dock. | Disabled                   |
 | 
					| Hide on launch             | Minimises Obsidian automatically whenever the app is launched. If the "Run in background" option is enabled, windows will be hidden to the system tray/menubar instead of minimised to the taskbar/dock. | Disabled                       |
 | 
				
			||||||
| Run in background          | Hide the app and continue to run it in the background instead of quitting it when pressing the window close button or toggle focus hotkey.                                                               | Disabled                   |
 | 
					| Run in background          | Hide the app and continue to run it in the background instead of quitting it when pressing the window close button or toggle focus hotkey.                                                               | Disabled                       |
 | 
				
			||||||
| Hide taskbar icon          | Hides the window's icon from from the dock/taskbar. This may not work on Linux-based OSes.                                                                                                               | Disabled                   |
 | 
					| Hide taskbar icon          | Hides the window's icon from from the dock/taskbar. This may not work on Linux-based OSes.                                                                                                               | Disabled                       |
 | 
				
			||||||
| Create tray icon           | Add an icon to your system tray/menubar to bring hidden Obsidian windows back into focus on click or force a full quit/relaunch of the app through the right-click menu.                                 | Enabled                    |
 | 
					| Create tray icon           | Add an icon to your system tray/menubar to bring hidden Obsidian windows back into focus on click or force a full quit/relaunch of the app through the right-click menu.                                 | Enabled                        |
 | 
				
			||||||
| Tray icon image            | Set the image used by the tray/menubar icon. Recommended size: 16x16                                                                                                                                     |           |
 | 
					| Tray icon image            | Set the image used by the tray/menubar icon. Recommended size: 16x16                                                                                                                                     |               |
 | 
				
			||||||
| Tray icon tooltip          | Set a title to identify the tray/menubar icon by. The `{{vault}}` placeholder will be replaced by the vault name.                                                                                        | `{{vault}} \| Obsidian`    |
 | 
					| Tray icon tooltip          | Set a title to identify the tray/menubar icon by. The `{{vault}}` placeholder will be replaced by the vault name.                                                                                        | `{{vault}} \| Obsidian`        |
 | 
				
			||||||
| Toggle window focus hotkey | This hotkey is registered globally and will be detected even if Obsidian does not have keyboard focus. Format: [Electron accelerator](https://www.electronjs.org/docs/latest/api/accelerator)            | <kbd>Super+Shift+Tab</kbd> |
 | 
					| Toggle window focus hotkey | This hotkey is registered globally and will be detected even if Obsidian does not have keyboard focus. Format: [Electron accelerator](https://www.electronjs.org/docs/latest/api/accelerator)            | <kbd>CmdOrCtrl+Shift+Tab</kbd> |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The `Relaunch Obsidian` and `Close Vault` actions can be triggered from the tray/menubar context menu,
 | 
					The `Relaunch Obsidian` and `Close Vault` actions can be triggered from the tray/menubar context menu,
 | 
				
			||||||
or with the in-app command palette (search for "Tray: Relaunch Obsidian" or "Tray: Close Vault").
 | 
					or with the in-app command palette (search for "Tray: Relaunch Obsidian" or "Tray: Close Vault").
 | 
				
			||||||
@ -25,11 +25,11 @@ Hotkeys can be assigned to the commands via Obsidian's built-in hotkey manager.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### Quick notes
 | 
					### Quick notes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| Option                 | Description                                                                                                                                                                                   | Default                  |
 | 
					| Option                 | Description                                                                                                                                                                                   | Default                      |
 | 
				
			||||||
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
 | 
					| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
 | 
				
			||||||
| Quick note location    | New quick notes will be placed in this folder.                                                                                                                                                |                          |
 | 
					| Quick note location    | New quick notes will be placed in this folder.                                                                                                                                                |                              |
 | 
				
			||||||
| Quick note date format | New quick notes will use a filename of this pattern. Format: [Moment.js format string](https://momentjs.com/docs/#/displaying/format/)                                                        | `YYYY-MM-DD`             |
 | 
					| Quick note date format | New quick notes will use a filename of this pattern. Format: [Moment.js format string](https://momentjs.com/docs/#/displaying/format/)                                                        | `YYYY-MM-DD`                 |
 | 
				
			||||||
| Quick note hotkey      | This hotkey is registered globally and will be detected even if Obsidian does not have keyboard focus. Format: [Electron accelerator](https://www.electronjs.org/docs/latest/api/accelerator) | <kbd>Super+Shift+Q</kbd> |
 | 
					| Quick note hotkey      | This hotkey is registered globally and will be detected even if Obsidian does not have keyboard focus. Format: [Electron accelerator](https://www.electronjs.org/docs/latest/api/accelerator) | <kbd>CmdOrCtrl+Shift+Q</kbd> |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Installation
 | 
					## Installation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								main.js
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								main.js
									
									
									
									
									
								
							@ -327,7 +327,7 @@ const OPTIONS = [
 | 
				
			|||||||
    key: "toggleWindowFocusHotkey",
 | 
					    key: "toggleWindowFocusHotkey",
 | 
				
			||||||
    desc: ACCELERATOR_FORMAT,
 | 
					    desc: ACCELERATOR_FORMAT,
 | 
				
			||||||
    type: "hotkey",
 | 
					    type: "hotkey",
 | 
				
			||||||
    default: "Super+Shift+Tab",
 | 
					    default: "CmdOrCtrl+Shift+Tab",
 | 
				
			||||||
    onBeforeChange: unregisterHotkeys,
 | 
					    onBeforeChange: unregisterHotkeys,
 | 
				
			||||||
    onChange: registerHotkeys,
 | 
					    onChange: registerHotkeys,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
@ -351,7 +351,7 @@ const OPTIONS = [
 | 
				
			|||||||
    key: "quickNoteHotkey",
 | 
					    key: "quickNoteHotkey",
 | 
				
			||||||
    desc: ACCELERATOR_FORMAT,
 | 
					    desc: ACCELERATOR_FORMAT,
 | 
				
			||||||
    type: "hotkey",
 | 
					    type: "hotkey",
 | 
				
			||||||
    default: "Super+Shift+Q",
 | 
					    default: "CmdOrCtrl+Shift+Q",
 | 
				
			||||||
    onBeforeChange: unregisterHotkeys,
 | 
					    onBeforeChange: unregisterHotkeys,
 | 
				
			||||||
    onChange: registerHotkeys,
 | 
					    onChange: registerHotkeys,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user