Add Private Session Toggle to menubar (macOS) (#905)
* Add Private Session to menubar * Moved to Window and changed to toggle * Add shortcut
This commit is contained in:
parent
fc90707373
commit
f35b823d71
1 changed files with 6 additions and 0 deletions
|
@ -102,6 +102,12 @@ export default class Thumbar {
|
|||
]
|
||||
},
|
||||
{type: 'separator'},
|
||||
{
|
||||
label: 'Toggle Private Session',
|
||||
accelerator: 'CommandOrControl+Shift+I',
|
||||
click: () => this._win.webContents.executeJavaScript(`app.cfg.general.privateEnabled = !app.cfg.general.privateEnabled`)
|
||||
},
|
||||
{type: 'separator'},
|
||||
{
|
||||
label: 'Web Remote',
|
||||
accelerator: 'CommandOrControl+Shift+W',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue