added dark_terminal config option, bump ini version to 25

parent b5acdb21
ini_version = 24 ini_version = 25
[Style] [Style]
use_bashstyle = False use_bashstyle = False
enable_colors = False enable_colors = False
dark_terminal = True
colored_ls = False colored_ls = False
color_style = normal color_style = normal
colored_grep = False colored_grep = False
......
ini_version = 24 ini_version = 25
[Style] [Style]
use_bashstyle = True use_bashstyle = True
enable_colors = True enable_colors = True
dark_terminal = True
colored_ls = True colored_ls = True
color_style = bright color_style = bright
colored_grep = True colored_grep = True
......
This diff is collapsed.
...@@ -59,6 +59,7 @@ class BashStyleNG(object): ...@@ -59,6 +59,7 @@ class BashStyleNG(object):
####################### Style Options ############################################## ####################### Style Options ##############################################
WidgetHandler.InitWidget("use_bashstyle", "Style", "use_bashstyle", "switch", None) WidgetHandler.InitWidget("use_bashstyle", "Style", "use_bashstyle", "switch", None)
WidgetHandler.InitWidget("colored_prompts", "Style", "enable_colors", "bool", None) WidgetHandler.InitWidget("colored_prompts", "Style", "enable_colors", "bool", None)
WidgetHandler.InitWidget("dark_terminal", "Style", "dark_terminal", "bool", None)
WidgetHandler.InitWidget("ls_color", "Style", "colored_ls", "bool", None) WidgetHandler.InitWidget("ls_color", "Style", "colored_ls", "bool", None)
WidgetHandler.InitWidget("grep_color", "Style", "colored_grep", "bool", None) WidgetHandler.InitWidget("grep_color", "Style", "colored_grep", "bool", None)
WidgetHandler.InitWidget("random_style", "Style", "random_style", "bool", None) WidgetHandler.InitWidget("random_style", "Style", "random_style", "bool", None)
......
...@@ -31,7 +31,7 @@ FACTORY_DEFAULTS = (DATADIR + '/bashstyle-ng/bs-ng.ini') ...@@ -31,7 +31,7 @@ FACTORY_DEFAULTS = (DATADIR + '/bashstyle-ng/bs-ng.ini')
VENDOR_DEFAULTS = ('/etc/bs-ng_vendor.ini') VENDOR_DEFAULTS = ('/etc/bs-ng_vendor.ini')
NXRC = (DATADIR + "/bashstyle-ng/rc/nx-rc") NXRC = (DATADIR + "/bashstyle-ng/rc/nx-rc")
app_ini_version = 24 app_ini_version = 25
class Config(object): class Config(object):
def InitConfig(self): def InitConfig(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment