diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-08 16:01:36 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-08 16:01:36 +1000 |
| commit | b0f857f0d1a1bec3d9c56a6e76d54932bfc6bf01 (patch) | |
| tree | fe3ede646c1a2f4f7abf3ba62cb3433113b35015 /src/config | |
| parent | dev: use typescript 5.7.3 to fix jsx type errors (diff) | |
| download | caelestia-shell-b0f857f0d1a1bec3d9c56a6e76d54932bfc6bf01.tar.gz caelestia-shell-b0f857f0d1a1bec3d9c56a6e76d54932bfc6bf01.tar.bz2 caelestia-shell-b0f857f0d1a1bec3d9c56a6e76d54932bfc6bf01.zip | |
feat: add navbar
For controlling sidebar panes + other stuff later
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/defaults.ts | 4 | ||||
| -rw-r--r-- | src/config/index.ts | 1 | ||||
| -rw-r--r-- | src/config/types.ts | 3 |
3 files changed, 8 insertions, 0 deletions
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, |