diff options
Diffstat (limited to 'src/config.ts')
-rw-r--r-- | src/config.ts | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/config.ts b/src/config.ts index 667b0a962..fe9145021 100644 --- a/src/config.ts +++ b/src/config.ts | |||
@@ -2,6 +2,8 @@ | |||
2 | 2 | ||
3 | import ms from 'ms'; | 3 | import ms from 'ms'; |
4 | 4 | ||
5 | import { DEFAULT_ACCENT_COLOR } from '@meetfranz/theme'; | ||
6 | |||
5 | export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks | 7 | export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks |
6 | 8 | ||
7 | export const LOCAL_HOSTNAME = 'localhost'; | 9 | export const LOCAL_HOSTNAME = 'localhost'; |
@@ -176,3 +178,59 @@ export const TODOS_PARTITION_ID = 'persist:todos'; | |||
176 | export const CUSTOM_WEBSITE_RECIPE_ID = 'franz-custom-website'; | 178 | export const CUSTOM_WEBSITE_RECIPE_ID = 'franz-custom-website'; |
177 | 179 | ||
178 | export const DEFAULT_SERVICE_ORDER = 99; // something high enough that it gets added to the end of the already-added services on the left sidebar | 180 | export const DEFAULT_SERVICE_ORDER = 99; // something high enough that it gets added to the end of the already-added services on the left sidebar |
181 | |||
182 | export const DEFAULT_APP_SETTINGS = { | ||
183 | autoLaunchInBackground: false, | ||
184 | runInBackground: true, | ||
185 | reloadAfterResume: true, | ||
186 | enableSystemTray: true, | ||
187 | startMinimized: false, | ||
188 | confirmOnQuit: false, | ||
189 | minimizeToSystemTray: false, | ||
190 | closeToSystemTray: false, | ||
191 | privateNotifications: false, | ||
192 | clipboardNotifications: true, | ||
193 | notifyTaskBarOnMessage: false, | ||
194 | showDisabledServices: true, | ||
195 | showMessageBadgeWhenMuted: true, | ||
196 | showDragArea: false, | ||
197 | enableSpellchecking: true, | ||
198 | spellcheckerLanguage: 'en-us', | ||
199 | darkMode: false, | ||
200 | splitMode: false, | ||
201 | locale: '', | ||
202 | fallbackLocale: 'en-US', | ||
203 | beta: false, | ||
204 | isAppMuted: false, | ||
205 | enableGPUAcceleration: true, | ||
206 | |||
207 | // Ferdi specific options | ||
208 | server: LIVE_FERDI_API, | ||
209 | predefinedTodoServer: DEFAULT_TODO_SERVICE, | ||
210 | autohideMenuBar: false, | ||
211 | lockingFeatureEnabled: false, | ||
212 | locked: false, | ||
213 | lockedPassword: '', | ||
214 | useTouchIdToUnlock: true, | ||
215 | scheduledDNDEnabled: false, | ||
216 | scheduledDNDStart: '17:00', | ||
217 | scheduledDNDEnd: '09:00', | ||
218 | hibernateOnStartup: true, | ||
219 | hibernationStrategy: '300', // seconds | ||
220 | wakeUpStrategy: '300', // seconds | ||
221 | inactivityLock: 0, | ||
222 | automaticUpdates: true, | ||
223 | universalDarkMode: true, | ||
224 | userAgentPref: '', | ||
225 | adaptableDarkMode: true, | ||
226 | accentColor: DEFAULT_ACCENT_COLOR, | ||
227 | serviceRibbonWidth: 68, | ||
228 | iconSize: iconSizeBias, | ||
229 | sentry: false, | ||
230 | nightly: false, | ||
231 | navigationBarBehaviour: 'custom', | ||
232 | searchEngine: SEARCH_ENGINE_DDG, | ||
233 | useVerticalStyle: false, | ||
234 | alwaysShowWorkspaces: false, | ||
235 | liftSingleInstanceLock: false, | ||
236 | }; | ||