mirror of
https://github.com/rhysd/Mstdn.git
synced 2025-01-21 20:52:11 +01:00
change default hot key to CmdOrCtrl+Shift+Enter (#17)
This commit is contained in:
parent
92c27957f7
commit
f01dea80ea
@ -63,6 +63,7 @@ them with `"normal_window"` option (please see below 'Customization' section for
|
|||||||
|
|
||||||
- **menubar mode**: Window is attached to menubar. You can toggle the window by clicking menubar icon or typing hot key.
|
- **menubar mode**: Window is attached to menubar. You can toggle the window by clicking menubar icon or typing hot key.
|
||||||
Advantage of this mode is that app does not fill any workspace. You can see your timeline on demand anytime.
|
Advantage of this mode is that app does not fill any workspace. You can see your timeline on demand anytime.
|
||||||
|
This mode is default on macOS or Linux.
|
||||||
- **normal window mode**: App starts with a normal window like a separated browser window. You can put/resize window
|
- **normal window mode**: App starts with a normal window like a separated browser window. You can put/resize window
|
||||||
as you like in your workspace.
|
as you like in your workspace.
|
||||||
|
|
||||||
@ -86,7 +87,7 @@ The JSON file can contain below key-values:
|
|||||||
`hot_key` is a key sequence to toggle application window. The shortcut key is defined globally.
|
`hot_key` is a key sequence to toggle application window. The shortcut key is defined globally.
|
||||||
The format is a [Electron's accelerator](https://github.com/electron/electron/blob/master/docs/api/accelerator.md).
|
The format is a [Electron's accelerator](https://github.com/electron/electron/blob/master/docs/api/accelerator.md).
|
||||||
Please see the document to know how to configure this value.
|
Please see the document to know how to configure this value.
|
||||||
Default value is `"CmdOrCtrl+Shift+S"`. If you want to disable, please set empty string or `null`.
|
Default value is `"CmdOrCtrl+Shift+Enter"`. If you want to disable, please set empty string or `null`.
|
||||||
|
|
||||||
### `icon_color`
|
### `icon_color`
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ function makeDefaultConfig(): Config {
|
|||||||
const menubarBroken = IS_WINDOWS;
|
const menubarBroken = IS_WINDOWS;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
hot_key: 'CmdOrCtrl+Shift+S',
|
hot_key: 'CmdOrCtrl+Shift+Enter',
|
||||||
icon_color: IsDarkMode ? 'white' : 'black',
|
icon_color: IsDarkMode ? 'white' : 'black',
|
||||||
always_on_top: false,
|
always_on_top: false,
|
||||||
hide_menu: false,
|
hide_menu: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user