Fixed attribute names to be consistent on/off
This commit is contained in:
parent
a5954e604d
commit
db94af4b24
16
main.py
16
main.py
|
@ -36,21 +36,21 @@ def index():
|
|||
},
|
||||
{
|
||||
'name': 'toggle',
|
||||
'text_true': '🔊',
|
||||
'text_false': '🔇',
|
||||
'text_on': '🔊',
|
||||
'text_off': '🔇',
|
||||
'default': False,
|
||||
'cmd_true': 'mpg123 ~/tng_viewscreen_on.mp3',
|
||||
'cmd_false': 'mpg123 ~/tng_viewscreen_off.mp3',
|
||||
'cmd_on': 'mpg123 ~/tng_viewscreen_on.mp3',
|
||||
'cmd_off': 'mpg123 ~/tng_viewscreen_off.mp3',
|
||||
'cooldown': 1000,
|
||||
'show_cooldown': False
|
||||
},
|
||||
{
|
||||
'name': 'toggle',
|
||||
'text_true': '🔊',
|
||||
'text_false': '🔇',
|
||||
'text_on': '🔊',
|
||||
'text_off': '🔇',
|
||||
'default': False,
|
||||
'cmd_true': 'touch ~/testfile.tmp',
|
||||
'cmd_false': 'rm ~/testfile.tmp',
|
||||
'cmd_on': 'touch ~/testfile.tmp',
|
||||
'cmd_off': 'rm ~/testfile.tmp',
|
||||
'check_cmd': '~/check_if_file_exists.sh',
|
||||
'cooldown': 1000,
|
||||
'show_cooldown': False
|
||||
|
|
Loading…
Reference in New Issue