aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.js
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-07-23 17:48:50 +0000
committerLibravatar GitHub <noreply@github.com>2021-07-23 23:18:50 +0530
commit0158c89b21ad6764866bb2770491a91c3516f362 (patch)
tree66564d8afea49b83ebcc71fd9e9e9b79c5e807f4 /src/config.js
parentNew Crowdin updates (#1678) (diff)
downloadferdium-app-0158c89b21ad6764866bb2770491a91c3516f362.tar.gz
ferdium-app-0158c89b21ad6764866bb2770491a91c3516f362.tar.zst
ferdium-app-0158c89b21ad6764866bb2770491a91c3516f362.zip
Added a 'wakeUpStrategy' that the user can control to wake up a previously hibernated service (#1680)
Diffstat (limited to 'src/config.js')
-rw-r--r--src/config.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/config.js b/src/config.js
index 24888e518..b540334c4 100644
--- a/src/config.js
+++ b/src/config.js
@@ -41,6 +41,17 @@ export const HIBERNATION_STRATEGIES = {
41 3600: 'Extremely Slow Hibernation (1hour)', 41 3600: 'Extremely Slow Hibernation (1hour)',
42}; 42};
43 43
44export const WAKE_UP_STRATEGIES = {
45 0: 'Never wake up',
46 10: 'Wake up after 10sec',
47 30: 'Wake up after 30sec',
48 60: 'Wake up after 1min',
49 300: 'Wake up after 5min',
50 600: 'Wake up after 10min',
51 1800: 'Wake up after 30min',
52 3600: 'Wake up after 1hour',
53};
54
44export const NAVIGATION_BAR_BEHAVIOURS = { 55export const NAVIGATION_BAR_BEHAVIOURS = {
45 custom: 'Show navigation bar on custom websites only', 56 custom: 'Show navigation bar on custom websites only',
46 always: 'Show navigation bar on all services', 57 always: 'Show navigation bar on all services',