aboutsummaryrefslogtreecommitdiff
path: root/.config/weechat/autosort.conf
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2023-08-06 19:24:43 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2023-08-06 19:24:43 +0000
commit2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e (patch)
tree8c7216bf123ed434a6bbfd3685097e2d726cc851 /.config/weechat/autosort.conf
parent5e4938da5428f12971a160e835c1929b06e9f7c9 (diff)
downloaddotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.tar
dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.tar.gz
dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.tar.bz2
dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.tar.lz
dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.tar.xz
dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.tar.zst
dotfiles-2e5aa362b54d0a4865b58a9fbf8834a870b4ba0e.zip
Add mpv and weechat config
Diffstat (limited to '')
-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}"]"