logo

dotfiles

My dotfiles, one branch per machine, rebased on base git clone https://anongit.hacktivis.me/git/dotfiles.git/

trigger.conf (2298B)


  1. #
  2. # weechat -- trigger.conf
  3. #
  4. # WARNING: It is NOT recommended to edit this file by hand,
  5. # especially if WeeChat is running.
  6. #
  7. # Use /set or similar command to change settings in WeeChat.
  8. #
  9. # For more info, see: https://weechat.org/doc/quickstart
  10. #
  11. [look]
  12. enabled = on
  13. monitor_strip_colors = off
  14. [color]
  15. flag_command = lightgreen
  16. flag_conditions = yellow
  17. flag_post_action = lightblue
  18. flag_regex = lightcyan
  19. flag_return_code = lightmagenta
  20. regex = white
  21. replace = cyan
  22. trigger = green
  23. trigger_disabled = red
  24. [trigger]
  25. beep.arguments = ""
  26. beep.command = "/print -beep"
  27. beep.conditions = "${tg_displayed} && ${tg_highlight}"
  28. beep.enabled = on
  29. beep.hook = print
  30. beep.post_action = none
  31. beep.regex = ""
  32. beep.return_code = ok
  33. cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
  34. cmd_pass.command = ""
  35. cmd_pass.conditions = ""
  36. cmd_pass.enabled = on
  37. cmd_pass.hook = modifier
  38. cmd_pass.post_action = none
  39. cmd_pass.regex = "==^((/(msg|m|quote) +nickserv +(id|identify|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|recover +[^ ]+) +)|/oper +[^ ]+ +|/quote +pass +|/set +[^ ]*password[^ ]* +|/secure +(passphrase|decrypt|set +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
  40. cmd_pass.return_code = ok
  41. cmd_pass_register.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
  42. cmd_pass_register.command = ""
  43. cmd_pass_register.conditions = ""
  44. cmd_pass_register.enabled = on
  45. cmd_pass_register.hook = modifier
  46. cmd_pass_register.post_action = none
  47. cmd_pass_register.regex = "==^(/(msg|m|quote) +nickserv +register +)([^ ]+)(.*)==${re:1}${hide:*,${re:3}}${re:4}"
  48. cmd_pass_register.return_code = ok
  49. msg_auth.arguments = "5000|irc_message_auth"
  50. msg_auth.command = ""
  51. msg_auth.conditions = ""
  52. msg_auth.enabled = on
  53. msg_auth.hook = modifier
  54. msg_auth.post_action = none
  55. msg_auth.regex = "==^(.*(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|recover +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
  56. msg_auth.return_code = ok
  57. server_pass.arguments = "5000|input_text_display;5000|history_add"
  58. server_pass.command = ""
  59. server_pass.conditions = ""
  60. server_pass.enabled = on
  61. server_pass.hook = modifier
  62. server_pass.post_action = none
  63. server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==${re:1}${hide:*,${re:4}}${re:5}"
  64. server_pass.return_code = ok