diff --git a/config/settings/espeak.settings.conf b/config/settings/espeak.settings.conf index 665d8289..3fd09f86 100644 --- a/config/settings/espeak.settings.conf +++ b/config/settings/espeak.settings.conf @@ -187,6 +187,20 @@ shell= cursor=True highlight=False +[remote] +enable=True +# connection type +# unix = unix sockets +method=unix +# allow settings to overwrite +enableSettingsRemote=True +# permitted settings +allowSettings=barrier#enabled +# allow commands to be executed +enableCommandRemote=True +# permitted commands +allowCommands=Say,defineWindow,resetSettings,resetWindow,toggleHighlight + [barrier] enabled=True leftBarriers=│└┌─ diff --git a/config/settings/settings.conf b/config/settings/settings.conf index 8105e537..a3afbdb4 100644 --- a/config/settings/settings.conf +++ b/config/settings/settings.conf @@ -197,6 +197,20 @@ cursor=True #follow highlighted text changes highlight=False +[remote] +enable=True +# connection type +# unix = unix sockets +method=unix +# allow settings to overwrite +enableSettingsRemote=True +# permitted settings +allowSettings=barrier#enabled +# allow commands to be executed +enableCommandRemote=True +# permitted commands +allowCommands=Say,defineWindow,resetSettings,resetWindow,toggleHighlight + [barrier] enabled=True leftBarriers=│└┌─ diff --git a/config/settings/settings.conf.example b/config/settings/settings.conf.example index 9094763b..fd65bf79 100644 --- a/config/settings/settings.conf.example +++ b/config/settings/settings.conf.example @@ -198,6 +198,20 @@ cursor=True #follow highlighted text changes highlight=False +[remote] +enable=True +# connection type +# unix = unix sockets +method=unix +# allow settings to overwrite +enableSettingsRemote=True +# permitted settings +allowSettings=barrier#enabled +# allow commands to be executed +enableCommandRemote=True +# permitted commands +allowCommands=Say,defineWindow,resetSettings,resetWindow,toggleHighlight + [barrier] enabled=True leftBarriers=│└┌─ diff --git a/config/settings/settings.conf.storm b/config/settings/settings.conf.storm index 73fb9797..ebb18c49 100644 --- a/config/settings/settings.conf.storm +++ b/config/settings/settings.conf.storm @@ -143,6 +143,20 @@ cursor=True #follow highlighted text changes highlight=False +[remote] +enable=True +# connection type +# unix = unix sockets +method=unix +# allow settings to overwrite +enableSettingsRemote=True +# permitted settings +allowSettings=barrier#enabled +# allow commands to be executed +enableCommandRemote=True +# permitted commands +allowCommands=Say,defineWindow,resetSettings,resetWindow,toggleHighlight + [barrier] enabled=True leftBarriers=│└┌─ diff --git a/config/settings/speech-dispatcher.settings.conf b/config/settings/speech-dispatcher.settings.conf index e936de42..e8c315da 100644 --- a/config/settings/speech-dispatcher.settings.conf +++ b/config/settings/speech-dispatcher.settings.conf @@ -197,6 +197,20 @@ cursor=True #follow highlighted text changes highlight=False +[remote] +enable=True +# connection type +# unix = unix sockets +method=unix +# allow settings to overwrite +enableSettingsRemote=True +# permitted settings +allowSettings=barrier#enabled +# allow commands to be executed +enableCommandRemote=True +# permitted commands +allowCommands=Say,defineWindow,resetSettings,resetWindow,toggleHighlight + [barrier] enabled=True leftBarriers=│└┌─ diff --git a/src/fenrirscreenreader/core/settingsData.py b/src/fenrirscreenreader/core/settingsData.py index 88ae1653..7cacaa36 100644 --- a/src/fenrirscreenreader/core/settingsData.py +++ b/src/fenrirscreenreader/core/settingsData.py @@ -80,7 +80,14 @@ settingsData = { 'focus':{ 'cursor': True, 'highlight': False, - +}, +'remote':{ + 'enable': True, + 'method': 'unix', + 'enableSettingsRemote': True, + 'allowSettings': 'barrier#enabled', + 'enableCommandRemote': True, + 'allowCommands': 'Say,defineWindow,resetSettings,resetWindow,toggleHighlight', }, 'barrier':{ 'enabled': True,