add remote settings

This commit is contained in:
chrys 2018-09-04 22:25:12 +02:00
parent 453869e9af
commit 8cf251753f
6 changed files with 78 additions and 1 deletions

View File

@ -187,6 +187,20 @@ shell=
cursor=True cursor=True
highlight=False 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] [barrier]
enabled=True enabled=True
leftBarriers=│└┌─ leftBarriers=│└┌─

View File

@ -197,6 +197,20 @@ cursor=True
#follow highlighted text changes #follow highlighted text changes
highlight=False 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] [barrier]
enabled=True enabled=True
leftBarriers=│└┌─ leftBarriers=│└┌─

View File

@ -198,6 +198,20 @@ cursor=True
#follow highlighted text changes #follow highlighted text changes
highlight=False 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] [barrier]
enabled=True enabled=True
leftBarriers=│└┌─ leftBarriers=│└┌─

View File

@ -143,6 +143,20 @@ cursor=True
#follow highlighted text changes #follow highlighted text changes
highlight=False 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] [barrier]
enabled=True enabled=True
leftBarriers=│└┌─ leftBarriers=│└┌─

View File

@ -197,6 +197,20 @@ cursor=True
#follow highlighted text changes #follow highlighted text changes
highlight=False 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] [barrier]
enabled=True enabled=True
leftBarriers=│└┌─ leftBarriers=│└┌─

View File

@ -80,7 +80,14 @@ settingsData = {
'focus':{ 'focus':{
'cursor': True, 'cursor': True,
'highlight': False, 'highlight': False,
},
'remote':{
'enable': True,
'method': 'unix',
'enableSettingsRemote': True,
'allowSettings': 'barrier#enabled',
'enableCommandRemote': True,
'allowCommands': 'Say,defineWindow,resetSettings,resetWindow,toggleHighlight',
}, },
'barrier':{ 'barrier':{
'enabled': True, 'enabled': True,