fenrir/src/fenrir-package/core/settings.py

68 lines
1.4 KiB
Python
Raw Normal View History

2016-07-08 05:01:06 -04:00
#!/bin/python
# -*- coding: utf-8 -*-
2016-07-08 05:01:06 -04:00
# Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributers.
from core import debug
2016-07-08 06:21:50 -04:00
2016-07-08 05:01:06 -04:00
settings = {
2016-07-11 04:34:45 -04:00
'sound': {
2016-09-18 07:11:22 -04:00
'enabled': True,
'driver': 'generic',
2016-07-11 04:34:45 -04:00
'theme': 'default',
2016-09-18 07:11:22 -04:00
'volume': 1.0,
'genericPlayFileCommand': 'play -q -v fenrirVolume fenrirSoundFile',
'genericFrequencyCommand': 'play -q -v fenrirVolume -n -c1 synth fenrirDuration sine fenrirFrequence'
2016-07-11 04:34:45 -04:00
},
'speech':{
'enabled': True,
2016-09-18 07:11:22 -04:00
'driver': 'speechd',
'rate': 0.75,
'pitch': 0.5,
2016-09-18 07:11:22 -04:00
'volume': 1.0,
2016-07-11 04:34:45 -04:00
'module': '',
'voice': 'de',
2016-07-14 18:21:23 -04:00
'language': 'de',
2016-09-18 07:11:22 -04:00
'autoReadIncomming': True,
2016-07-11 04:34:45 -04:00
},
'braille':{
'enabled': False,
'layout': 'en',
},
'screen':{
'driver': 'linux',
2016-08-26 04:18:07 -04:00
'encoding': 'cp850',
2016-09-18 07:11:22 -04:00
'screenUpdateDelay': 0.4,
'suspendingScreen': '',
'autodetectSuspendingScreen': False,
2016-07-11 04:34:45 -04:00
},
'general':{
'debugLevel': debug.debugLevel.DEACTIVE,
'punctuationLevel': 1,
2016-08-24 19:50:02 -04:00
'numberOfClipboards': 10,
2016-09-18 07:11:22 -04:00
'fenrirKeys': ['KEY_KP0'],
'timeFormat': '%I:%M%P',
'dateFormat': '%A, %B %d, %Y',
'autoSpellCheck': False,
'spellCheckLanguage': 'en_US',
2016-07-17 08:25:59 -04:00
},
'promote':{
'enabled': True,
2016-09-18 07:11:22 -04:00
'inactiveTimeoutSec': 120,
'list': '',
},
2016-07-17 08:25:59 -04:00
'keyboard':{
2016-09-18 07:11:22 -04:00
'driver': 'evdev',
'device': 'all',
'grabDevices': True,
'ignoreShortcuts': False,
2016-07-17 08:25:59 -04:00
'keyboardLayout': "desktop",
2016-09-18 07:11:22 -04:00
'charEcho': False,
'charDeleteEcho': True,
'wordEcho': True,
2016-08-05 22:47:41 -04:00
'interruptOnKeyPress': True,
2016-09-18 07:11:22 -04:00
'doubleTapDelay': 0.2,
2016-07-11 04:34:45 -04:00
}
2016-07-08 05:01:06 -04:00
}