Skip to content

ReimarPB/profanity-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Profanity plugins

This is a collection of plugins I've made for the Profanity XMPP client. Click on the plugin names below for more information about each plugin.

  • pastefile - Allows pasting files such as images from your clipboard
  • substitute - Adds sed-like substitutions to edit the last message writing s/.../.../

Note that the plugins are created for Linux and X11, so they might not all work on other systems.

Installation

  1. Clone the git repo and run make to build all plugins or make <name> to build a single plugin.
  2. Run make install to install the plugins you've built.
  3. Within profanity, write /plugins to see a list of plugins and /plugins load <name> to load each.

Plugins

pastefile

When running /pastefile, the plugin will upload what you have in your clipboard and send it in the current chat window:

  • If you have copied an image, that image will be uploaded as a PNG
  • If you have copied a file from a file manager, that file will be uploaded
  • If you have copied some text, it will be written to a file with an auto-generated file extension (usually .txt) and uploaded

substitute

This plugin allows you to edit your previous message using syntax from the sed unix command.

After having sent a message, you can type e.g. s/old/new/ to replace the first instance of the word "old" in your message with the word "new". To replace all instances, add a g at the end.

For more information about the syntax, see GNU's manual on the s command from sed.

About

Collection of plugins for the Profanity XMPP client

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published