diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-22 20:35:20 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-22 20:35:20 +1100 |
| commit | 2d979684453659318daf794febafb0887a12fb50 (patch) | |
| tree | 2fd8131c34bc59e50d001938fe29021732e520c8 /config.ts | |
| parent | notifpopups: close all popups when notifs open (diff) | |
| download | caelestia-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.ts | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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), }, }; |