From b0f857f0d1a1bec3d9c56a6e76d54932bfc6bf01 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 8 Apr 2025 16:01:36 +1000 Subject: feat: add navbar For controlling sidebar panes + other stuff later --- src/config/defaults.ts | 4 ++++ src/config/index.ts | 1 + src/config/types.ts | 3 +++ 3 files changed, 8 insertions(+) (limited to 'src/config') diff --git a/src/config/defaults.ts b/src/config/defaults.ts index f256265..59cc215 100644 --- a/src/config/defaults.ts +++ b/src/config/defaults.ts @@ -112,6 +112,10 @@ export default { sidebar: { showOnStartup: false, }, + navbar: { + persistent: false, // Whether to show all the time or only on hover + appearWidth: 10, // The width in pixels of the hover area for the navbar to show up + }, // Services math: { maxHistory: 100, diff --git a/src/config/index.ts b/src/config/index.ts index 631aa1d..abdb094 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -10,6 +10,7 @@ export const { notifpopups, osds, sidebar, + navbar, math, updates, weather, diff --git a/src/config/types.ts b/src/config/types.ts index eea8738..68f1824 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -71,6 +71,9 @@ export default { "osds.lock.num.hideDelay": NUM, // Sidebar "sidebar.showOnStartup": BOOL, + // Navbar + "navbar.persistent": BOOL, + "navbar.appearWidth": NUM, // Services "math.maxHistory": NUM, "updates.interval": NUM, -- cgit v1.2.3-freya