1
0
Fork 0

Improve weechat config

This commit is contained in:
Malte Brandy 2018-07-20 01:17:14 +02:00
parent 0757b08aad
commit 5c533dea18

View file

@ -30,9 +30,9 @@ config = mkIf config.m-0.weechat.enable {
plugins = { plugins = {
target = ".weechat/plugins.conf"; target = ".weechat/plugins.conf";
text = '' text = ''
[var] [var]
python.buffer_autohide.hide_inactive = on python.buffer_autohide.hide_inactive = on
python.buffer_autohide.hide_private = on python.buffer_autohide.hide_private = on
''; '';
}; };
weechat = { weechat = {
@ -40,6 +40,7 @@ python.buffer_autohide.hide_private = on
text = '' text = ''
[look] [look]
buffer_notify_default = "highlight" buffer_notify_default = "highlight"
jump_current_to_previous_buffer = off
[color] [color]
chat_nick_colors = "cyan,magenta,green,brown,lightblue,default,lightcyan,lightmagenta,lightgreen,blue,31,35,38,40,49,63,70,80,92,99,112,126,130,138,142,148,160,162,167,169,174,176,178,184,186,210,212,215,228" chat_nick_colors = "cyan,magenta,green,brown,lightblue,default,lightcyan,lightmagenta,lightgreen,blue,31,35,38,40,49,63,70,80,92,99,112,126,130,138,142,148,160,162,167,169,174,176,178,184,186,210,212,215,228"
@ -54,26 +55,26 @@ python.buffer_autohide.hide_private = on
logger = { logger = {
target = ".weechat/logger.conf"; target = ".weechat/logger.conf";
text = '' text = ''
[look] [look]
backlog = 1000 backlog = 1000
[file] [file]
mask = "$name/%Y" mask = "$name/%Y"
path = "${config.home.homeDirectory}/data/logs/" path = "${config.home.homeDirectory}/data/logs/"
''; '';
}; };
irc = { irc = {
target = ".weechat/irc.conf"; target = ".weechat/irc.conf";
text = '' text = ''
[server] [server]
hackint.addresses = "irc.hackint.org/6697" hackint.addresses = "irc.hackint.org/6697"
hackint.ssl = on hackint.ssl = on
hackint.sasl_mechanism = plain hackint.sasl_mechanism = plain
hackint.sasl_username = "${config.m-0.weechat.user}" hackint.sasl_username = "${config.m-0.weechat.user}"
hackint.sasl_password = "${config.m-0.weechat.pw}" hackint.sasl_password = "${config.m-0.weechat.pw}"
hackint.autoconnect = on hackint.autoconnect = on
hackint.username = "${config.m-0.weechat.user}" hackint.username = "${config.m-0.weechat.user}"
hackint.autojoin = "${config.m-0.weechat.channels}" hackint.autojoin = "${config.m-0.weechat.channels}"
''; '';
}; };
}; };