aboutsummaryrefslogtreecommitdiff
path: root/config/weechat/autosort.conf
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-04-11 15:26:01 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-04-11 15:26:01 +0200
commitd72d2cb5853fb2ec81d3141fb81f3ea10a98d695 (patch)
tree34a656b9fd8a700e8a2a77b6a89476951c2f21b8 /config/weechat/autosort.conf
parent5ee3515ca0a50cdd3f615a084fc8d6536cd95921 (diff)
parent6fb17b9f36555e79004aa7b1428b1299cb62a4a9 (diff)
Merge branch 'main' of git.sr.ht:~rbdr/dotfiles
Diffstat (limited to 'config/weechat/autosort.conf')
-rw-r--r--config/weechat/autosort.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/config/weechat/autosort.conf b/config/weechat/autosort.conf
new file mode 100644
index 0000000..3300ef2
--- /dev/null
+++ b/config/weechat/autosort.conf
@@ -0,0 +1,24 @@
+#
+# weechat -- autosort.conf
+#
+# WARNING: It is NOT recommended to edit this file by hand,
+# especially if WeeChat is running.
+#
+# Use commands like /set or /fset to change settings in WeeChat.
+#
+# For more info, see: https://weechat.org/doc/weechat/quickstart/
+#
+
+[sorting]
+case_sensitive = off
+debug_log = off
+replacements = ""
+rules = ""
+signal_delay = 5
+signals = "buffer_opened buffer_merged buffer_unmerged buffer_renamed"
+sort_limit = 100
+sort_on_config_change = on
+
+[v3]
+helpers = "{"core_first": "${if:${buffer.full_name}!=core.weechat}", "irc_raw_first": "${if:${buffer.full_name}!=irc.irc_raw}", "irc_raw_last": "${if:${buffer.full_name}==irc.irc_raw}", "hashless_name": "${info:autosort_replace,#,,${info:autosort_escape,${buffer.name}}}", "script_or_plugin": "${if:${script_name}?${script_name}:${plugin}}"}"
+rules = "["${core_first}", "${info:autosort_order,${info:autosort_escape,${script_or_plugin}},core,*,irc,bitlbee,matrix,slack}", "${script_or_plugin}", "${irc_raw_first}", "${server}", "${info:autosort_order,${type},server,*,channel,private}", "${hashless_name}", "${buffer.full_name}"]"