Skip to content

Othyem86/sarcasm-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sarcasm-formater

The sarcasm formatter provides JS, Python, and Bash support for formatting text sArCaStIcAlLy, meaning with alternating lower and upper-case letters, and provides optional parametrization such as choosing the starting case.

Installation

The script can be run directly from its containing folder (and thus, can simply be installed by downloading or cloning it from here - and adding run permissions):

git clone https://github.com/TheChymera/sarcasm-formatter.git /your/sarcasm-formatter/directory
cd /your/sarcasm-formatter/directory/bin
chmod +x sarcasm.sh

For Gentoo Linux and Derivatives, mkstage4 is also available in Portage via the Chymeric Overlay. On any Gentoo system, after having enabled the aforementioned overlay, just run the following command:

emerge app-backup/sarcasm-formatter

Usage

If you are running the script from the containing folder (first install method) please make sure you use the ./sarcasm.sh command instead of just sarcasm!

# sarcasm how do I use this
"hOw dO i uSe ThiS" written to clipboard.

The notification at the end indicates that in addition to presenting the text for manual copy, sarcasm will by default place it into your clipboard (xclip or wl-copy, auto-detected). Though convenient, this also means your clipboard will be overwritten. This can be disabled via the -n parameter.

About

A very simple tool to format text as alternating between lower-case and upper-case characters

Resources

License

Stars

1 star

Watchers

2 watching

Forks

Packages

 
 
 

Contributors