First pass at saving settings.
This commit is contained in:
parent
955ee74b47
commit
b23ef94bec
23
src/fenrirscreenreader/commands/commands/save_settings.py
Normal file
23
src/fenrirscreenreader/commands/commands/save_settings.py
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
from fenrirscreenreader.core import settingsManager
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
self.env = environment
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return 'Saves your current Fenrir settings so they are the default.'
|
||||
def run(self):
|
||||
def saveSettings(self):
|
||||
self.env['runtime']['settingsManager'].saveSettings(settingConfigPath)
|
||||
def setCallback(self, callback):
|
||||
pass
|
Loading…
Reference in New Issue
Block a user