From f01dea80ea84abcf733d0e4ce6babe023b406b96 Mon Sep 17 00:00:00 2001 From: rhysd Date: Wed, 26 Apr 2017 10:37:58 +0900 Subject: [PATCH] change default hot key to CmdOrCtrl+Shift+Enter (#17) --- README.md | 3 ++- main/config.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2c3dad1..a81cfe9 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/main/config.ts b/main/config.ts index 0040d3a..9e917d7 100644 --- a/main/config.ts +++ b/main/config.ts @@ -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,