summaryrefslogtreecommitdiff
path: root/src/config/index.ts
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-23 16:16:21 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-23 16:16:21 +1100
commit1ffd7e1d54dd33311440cf4f6c0b2debca042c4d (patch)
tree9bd9ac018309944e7698fb825b4c09dc6ed6b4fe /src/config/index.ts
parentsideright: fix calender underline (diff)
downloadcaelestia-shell-1ffd7e1d54dd33311440cf4f6c0b2debca042c4d.tar.gz
caelestia-shell-1ffd7e1d54dd33311440cf4f6c0b2debca042c4d.tar.bz2
caelestia-shell-1ffd7e1d54dd33311440cf4f6c0b2debca042c4d.zip
config: refactor
Diffstat (limited to 'src/config/index.ts')
-rw-r--r--src/config/index.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/config/index.ts b/src/config/index.ts
new file mode 100644
index 0000000..d09a668
--- /dev/null
+++ b/src/config/index.ts
@@ -0,0 +1,22 @@
+import defaults from "./defaults";
+import { convertSettings } from "./funcs";
+
+const config = convertSettings(defaults);
+
+export const {
+ style,
+ bar,
+ launcher,
+ notifpopups,
+ osds,
+ sideleft,
+ math,
+ updates,
+ weather,
+ cpu,
+ gpu,
+ memory,
+ storage,
+ wallpapers,
+} = config;
+export default config;