X-Git-Url: https://jfr.im/git/irc/weechat/qweechat.git/blobdiff_plain/fbb0156daeaecdb4b899c3fccd6ea7822da00a82..46e5dee03acce56cdb7b3b65346acc9a5ecd210d:/src/qweechat/config.py diff --git a/src/qweechat/config.py b/src/qweechat/config.py index 749597a..6c01cc9 100644 --- a/src/qweechat/config.py +++ b/src/qweechat/config.py @@ -27,12 +27,15 @@ import weechat.color as color CONFIG_DIR = '%s/.qweechat' % os.getenv('HOME') CONFIG_FILENAME = '%s/qweechat.conf' % CONFIG_DIR +CONFIG_DEFAULT_RELAY_LINES = 50 + CONFIG_DEFAULT_SECTIONS = ('relay', 'look', 'color') CONFIG_DEFAULT_OPTIONS = (('relay.server', ''), ('relay.port', ''), ('relay.ssl', 'off'), ('relay.password', ''), ('relay.autoconnect', 'off'), + ('relay.lines', str(CONFIG_DEFAULT_RELAY_LINES)), ('look.debug', 'off'), ('look.statusbar', 'off'))