Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • weechat/scripts
1 result
Show changes
Loading
Loading
@@ -17,6 +17,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# 2017-12-14: Sébastien Helleu <flashcode@flashtux.org>
# 0.6 : rename command "/autosetbuffer" by "/buffer_autoset" in example
#
# 2015-04-05: nils_2 (freenode.#weechat)
# 0.5 : change priority of hook_signal('buffer_opened') to 100
#
Loading
Loading
@@ -49,7 +52,7 @@ except Exception:
 
SCRIPT_NAME = 'histman'
SCRIPT_AUTHOR = 'nils_2 <weechatter@arcor.de>'
SCRIPT_VERSION = '0.5'
SCRIPT_VERSION = '0.6'
SCRIPT_LICENSE = 'GPL'
SCRIPT_DESC = 'save and restore global and/or buffer command history'
 
Loading
Loading
@@ -395,9 +398,9 @@ if __name__ == '__main__':
' save the command history manually (for example with /cron script):\n'
' /' + SCRIPT_NAME + ' save\n'
' save and restore command history for buffer #weechat on freenode (text only):\n'
' /autosetbuffer add irc.freenode.#weechat localvar_set_save_history text\n'
' /buffer_autoset add irc.freenode.#weechat localvar_set_save_history text\n'
' save and restore command history for weechat core buffer (commands only):\n'
' /autosetbuffer add core.weechat localvar_set_save_history command\n',
' /buffer_autoset add core.weechat localvar_set_save_history command\n',
'save %-'
'|| list %-',
'histman_cmd_cb', '')
Loading
Loading
Loading
Loading
@@ -2,9 +2,9 @@ import weechat as w
 
SCRIPT_NAME = "noirccolors"
SCRIPT_AUTHOR = "Fredrick Brennan <fredrick.brennan1@gmail.com>"
SCRIPT_VERSION = "0.2"
SCRIPT_VERSION = "0.3"
SCRIPT_LICENSE = "Public domain"
SCRIPT_DESC = "Remove IRC colors from buffers with the localvar 'noirccolors' set. To disable IRC colors in the current buffer, type /buffer set localvar_set_noirccolors true. You can also set this with autosetbuffer. :)"
SCRIPT_DESC = "Remove IRC colors from buffers with the localvar 'noirccolors' set. To disable IRC colors in the current buffer, type /buffer set localvar_set_noirccolors true. You can also set this with script buffer_autoset.py. :)"
 
w.register(SCRIPT_NAME, SCRIPT_AUTHOR, SCRIPT_VERSION, SCRIPT_LICENSE, SCRIPT_DESC, '', '')
 
Loading
Loading
Loading
Loading
@@ -20,6 +20,9 @@
#
# idea by shad0VV@freenode.#weechat
#
# 2017-12-14: Sébastien Helleu <flashcode@flashtux.org>
# 0.6 : rename command "/autosetbuffer" by "/buffer_autoset" in example
#
# 2017-04-02: nils_2, (freenode.#weechat)
# 0.5 : support of "/input jump_smart" and "/buffer +/-" (reported: squigz)
#
Loading
Loading
@@ -52,7 +55,7 @@ except Exception:
 
SCRIPT_NAME = "stick_buffer"
SCRIPT_AUTHOR = "nils_2 <weechatter@arcor.de>"
SCRIPT_VERSION = "0.5"
SCRIPT_VERSION = "0.6"
SCRIPT_LICENSE = "GPL"
SCRIPT_DESC = "Stick buffers to particular windows, like irssi"
 
Loading
Loading
@@ -239,7 +242,7 @@ Examples:
Stick buffer #weechat to window 2:
/buffer #weechat
/buffer set localvar_set_stick_buffer_to_window 2
/autosetbuffer add irc.freenode.#weechat stick_buffer_to_window 2
/buffer_autoset add irc.freenode.#weechat stick_buffer_to_window 2
Set the default stick-to window to window 5:
/set plugins.var.python.{script_name}.default_stick_window 5
List buffers with persistent stickiness:
Loading
Loading
Loading
Loading
@@ -26,7 +26,7 @@ import re
 
SCRIPT_NAME = 'unhighlight'
SCRIPT_AUTHOR = 'xiagu'
SCRIPT_VERSION = '0.1.0'
SCRIPT_VERSION = '0.1.1'
SCRIPT_LICENSE = 'GPL3'
SCRIPT_DESC = 'Allows per-buffer specification of a regex that prevents highlights.'
 
Loading
Loading
@@ -93,7 +93,7 @@ Examples:
Unhighlight SASL authentication messages for double logins:
/buffer weechat
/buffer set localvar_set_unhighlight_regex SaslServ
/autosetbuffer add core.weechat localvar_set_unhighlight_regex SaslServ
/buffer_autoset add core.weechat localvar_set_unhighlight_regex SaslServ
List buffers with autoset unhighlights:
/{script_name} list
Show this help:
Loading
Loading