mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
client: add a launcher for zen mode
This commit is contained in:
@@ -331,6 +331,7 @@
|
||||
"calendar-title": "Calendar",
|
||||
"recent-changes-title": "Recent Changes",
|
||||
"bookmarks-title": "Bookmarks",
|
||||
"zen-mode": "Zen Mode",
|
||||
"open-today-journal-note-title": "Open Today's Journal Note",
|
||||
"quick-search-title": "Quick Search",
|
||||
"protected-session-title": "Protected Session",
|
||||
|
||||
@@ -47,6 +47,13 @@ export default function buildLaunchBarConfig() {
|
||||
{ id: "_lbBackInHistory", ...sharedLaunchers.backInHistory },
|
||||
{ id: "_lbForwardInHistory", ...sharedLaunchers.forwardInHistory },
|
||||
{ id: "_lbBackendLog", title: t("hidden-subtree.backend-log-title"), type: "launcher", targetNoteId: "_backendLog", icon: "bx bx-terminal" },
|
||||
{
|
||||
id: "_zenMode",
|
||||
title: t("hidden-subtree.zen-mode"),
|
||||
type: "launcher",
|
||||
command: "toggleZenMode",
|
||||
icon: "bx bxs-yin-yang"
|
||||
}
|
||||
];
|
||||
|
||||
const desktopVisibleLaunchers: HiddenSubtreeItem[] = [
|
||||
|
||||
Reference in New Issue
Block a user