-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings-dist.js
52 lines (40 loc) · 1.21 KB
/
settings-dist.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Bluesky credentials from Account Settings
// see https://bsky.app/settings/app-passwords
const bsky_identifier = null;
const bsky_appPassword = null;
// Manually specified token
const manualToken = null;
// Default feed image size
const imageSize = 128;
// Launch warning display on load/refresh
const launchWarning = true;
// Magnifier in Gallery view
const magnifier = true;
// Blur images with unwanted labels
const blurUnwanted = true;
// Feed speed in milliseconds (1000 = 1 second delay)
const feedDelay = 0;
// Inactivity timeout in milliseconds (0 = no timeout)
const inactivityTimeout = 10000;
// Feed starts in running state
const feedPaused = false;
// Feed order
const newestFirst = false;
// Use local storage for settings
const useLocalStorage = false;
// Settings object
const settings = {
imageSize: imageSize,
launchWarning: launchWarning,
magnifier: magnifier,
blurUnwanted: blurUnwanted,
bsky_identifier: bsky_identifier,
bsky_appPassword: bsky_appPassword,
manualToken: manualToken,
newestFirst: newestFirst,
feedDelay: feedDelay,
feedPaused: feedPaused,
useLocalStorage: useLocalStorage,
inactivityTimeout: inactivityTimeout
}
window.settings = settings;