Skip to content
This repository has been archived by the owner on Feb 22, 2021. It is now read-only.

Latest commit

 

History

History
29 lines (15 loc) · 1.44 KB

README.md

File metadata and controls

29 lines (15 loc) · 1.44 KB

IMPORTANT NOTE

This project is now retired and unmaintained. I consider this code public domain, so please feel free to do whatever you like with it.

BlurMate = TM2 + Alpha → Blur

BlurMate

A very quick and dirty TextMate 2 plugin that simply blurs the window background. Useful if you have a theme with a transparent background, where otherwise it can make things pretty unreadable sometimes.

Inspired by BlurMate for TM1, for which the source code was never released. I hijacked the name because, well, because.

Installing

Simply grab the latest release and drop it in ~/Library/Application Support/TextMate/PlugIns (create the folder if it doesn't exist already). Double clicking to install doesn't work for some reason. No biggie.

Configuring

The default blur radius is 20. I think it's pixels, but it could be hamsters for all I know. You can change it to whatever you like using defaults like this:

defaults write com.macromates.TextMate.preview BlurMateRadius <value>

Uninstalling

Just remove BlurMate.tmplugin from ~/Library/Application Support/TextMate/PlugIns.

Contributing

Pull requests are welcome. Plagiarism welcome too. It took me literally an hour to throw together, with a little code borrowed from iTerm2. If you can make something better based on this then please feel free to do so and I'll happily use yours.