1
0
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:
rhysd 2017-04-26 10:37:58 +09:00
parent 92c27957f7
commit f01dea80ea
2 changed files with 3 additions and 2 deletions

View File

@ -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.
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
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.
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.
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`

View File

@ -28,7 +28,7 @@ function makeDefaultConfig(): Config {
const menubarBroken = IS_WINDOWS;
return {
hot_key: 'CmdOrCtrl+Shift+S',
hot_key: 'CmdOrCtrl+Shift+Enter',
icon_color: IsDarkMode ? 'white' : 'black',
always_on_top: false,
hide_menu: false,