summaryrefslogtreecommitdiff
path: root/config.ts
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-22 20:35:20 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-22 20:35:20 +1100
commit2d979684453659318daf794febafb0887a12fb50 (patch)
tree2fd8131c34bc59e50d001938fe29021732e520c8 /config.ts
parentnotifpopups: close all popups when notifs open (diff)
downloadcaelestia-shell-2d979684453659318daf794febafb0887a12fb50.tar.gz
caelestia-shell-2d979684453659318daf794febafb0887a12fb50.tar.bz2
caelestia-shell-2d979684453659318daf794febafb0887a12fb50.zip
config: dynamic service confs
Diffstat (limited to 'config.ts')
-rw-r--r--config.ts20
1 files changed, 10 insertions, 10 deletions
diff --git a/config.ts b/config.ts
index 8d9c2a8..8127052 100644
--- a/config.ts
+++ b/config.ts
@@ -138,28 +138,28 @@ const config = {
},
// Services
math: {
- maxHistory: 100,
+ maxHistory: s(100),
},
updates: {
- interval: 900000,
+ interval: s(900000),
},
weather: {
- interval: 600000,
- key: "assets/weather-api-key.txt", // Path to file containing api key relative to the base directory. To get a key, visit https://weatherapi.com/
- location: "", // Location as a string or empty to autodetect
- imperial: false,
+ interval: s(600000),
+ key: s("assets/weather-api-key.txt"), // Path to file containing api key relative to the base directory. To get a key, visit https://weatherapi.com/
+ location: s(""), // Location as a string or empty to autodetect
+ imperial: s(false),
},
cpu: {
- interval: 2000,
+ interval: s(2000),
},
gpu: {
- interval: 2000,
+ interval: s(2000),
},
memory: {
- interval: 5000,
+ interval: s(5000),
},
storage: {
- interval: 5000,
+ interval: s(5000),
},
};