summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-08 16:01:36 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-08 16:01:36 +1000
commitb0f857f0d1a1bec3d9c56a6e76d54932bfc6bf01 (patch)
treefe3ede646c1a2f4f7abf3ba62cb3433113b35015 /src/config
parentdev: use typescript 5.7.3 to fix jsx type errors (diff)
downloadcaelestia-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.ts4
-rw-r--r--src/config/index.ts1
-rw-r--r--src/config/types.ts3
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,