Current scripts:
-
xnotif.py - sends a notification to the MacOS or X11 desktop using
libnotifywhen a highlighted message is received. -
x11notif.py - does the same as
xnotif.pybut its only for linux DE. It was made eariler and merged withxnotif.pyto make it more universal. -
auto_commands.py - you can set commands to be executed automatically on client startup.
Type /xnotif help to see help in client.
On Linux Xnotif.py requires libnotify to work.
Most DE has it installed by default.
On MacOS it doesn't require any additional software.
It works out of the box, so all you need to do is to copy it to
the Weechat scripts directory and load it with /script load Xnotif.py.
Or /script load PATH/TO/SCRIPT.
You can use /xnotif sys to check if your OS is correctly detected.
-
/autocommands add - adds command to the list. You can use spaces and special signs.
-
/autocommands del <number/string> - deletes command from the list. You can use /autocommands list to see the numbers or tap TAB for auto completion.
-
/autocommands list - shows the list of commands with index.
-
/autocommands clear - clears the list of commands.
-
/autocommands time - 1sec = 1000ms, sets the timer for hook in miliseconds. Default value 10000ms = 10 sec.
-
/autocommands - Shows guides.
-
/autocommands suspend/unsuspend - suspends or unsuspends the command. It will not be executed until you unsuspend it. Use numbers, not words to select these commands.
You can achieve similar effect by using weechat.startup.command_after_plugins
and weechat.startup.command_before_plugins, that are built in Weechat.