set custom command path to emtpy; load customs after defaults
This commit is contained in:
parent
02b1668815
commit
099aa2da0d
@ -163,7 +163,7 @@ dateFormat=%A, %B %d, %Y
|
|||||||
autoSpellCheck=True
|
autoSpellCheck=True
|
||||||
spellCheckLanguage=en_US
|
spellCheckLanguage=en_US
|
||||||
scriptPath=/usr/share/fenrir/scripts
|
scriptPath=/usr/share/fenrir/scripts
|
||||||
commandPath=/usr/share/fenrir/commands
|
commandPath=
|
||||||
|
|
||||||
[focus]
|
[focus]
|
||||||
cursor=True
|
cursor=True
|
||||||
|
@ -147,7 +147,7 @@ interruptOnKeyPressFilter=
|
|||||||
doubleTapTimeout=0.2
|
doubleTapTimeout=0.2
|
||||||
|
|
||||||
[general]
|
[general]
|
||||||
debugLevel=1
|
debugLevel=0
|
||||||
punctuationProfile=default
|
punctuationProfile=default
|
||||||
punctuationLevel=some
|
punctuationLevel=some
|
||||||
respectPunctuationPause=True
|
respectPunctuationPause=True
|
||||||
@ -168,7 +168,7 @@ spellCheckLanguage=en_US
|
|||||||
# path for your scripts "scriptKey" functionality
|
# path for your scripts "scriptKey" functionality
|
||||||
scriptPath=/usr/share/fenrir/scripts
|
scriptPath=/usr/share/fenrir/scripts
|
||||||
# overload commands, and create new one without changing Fenrir default
|
# overload commands, and create new one without changing Fenrir default
|
||||||
commandPath=/usr/share/fenrir/commands
|
commandPath=
|
||||||
|
|
||||||
[focus]
|
[focus]
|
||||||
#follow the text cursor
|
#follow the text cursor
|
||||||
|
@ -116,7 +116,7 @@ autoSpellCheck=True
|
|||||||
spellCheckLanguage=en_US
|
spellCheckLanguage=en_US
|
||||||
scriptPath=/usr/share/fenrir/scripts
|
scriptPath=/usr/share/fenrir/scripts
|
||||||
# overload commands, and create new one without changing Fenrir default
|
# overload commands, and create new one without changing Fenrir default
|
||||||
commandPath=/usr/share/fenrir/commands
|
commandPath=
|
||||||
|
|
||||||
[focus]
|
[focus]
|
||||||
#follow the text cursor
|
#follow the text cursor
|
||||||
|
@ -18,9 +18,10 @@ class commandManager():
|
|||||||
self.env['commands'] = {}
|
self.env['commands'] = {}
|
||||||
self.env['commandsIgnore'] = {}
|
self.env['commandsIgnore'] = {}
|
||||||
for commandFolder in self.env['general']['commandFolderList']:
|
for commandFolder in self.env['general']['commandFolderList']:
|
||||||
self.env['runtime']['commandManager'].loadCommands(commandFolder,
|
self.env['runtime']['commandManager'].loadCommands(commandFolder)
|
||||||
self.env['runtime']['settingsManager'].getSetting('general', 'commandPath'))
|
if self.env['runtime']['settingsManager'].getSetting('general', 'commandPath') != '':
|
||||||
self.env['runtime']['commandManager'].loadCommands(commandFolder)
|
self.env['runtime']['commandManager'].loadCommands(commandFolder,
|
||||||
|
self.env['runtime']['settingsManager'].getSetting('general', 'commandPath'))
|
||||||
|
|
||||||
# scripts for scriptKey
|
# scripts for scriptKey
|
||||||
self.env['runtime']['commandManager'].loadScriptCommands()
|
self.env['runtime']['commandManager'].loadScriptCommands()
|
||||||
|
Loading…
Reference in New Issue
Block a user