Skip to content

Seventh release

Compare
Choose a tag to compare
@RasmusLindroth RasmusLindroth released this 28 Jun 13:47
· 169 commits to master since this release

Updates

Now there is support for getting colors from .Xresources. The program gets them by running xrdb -query.

To use the colors you must prefix them with xrdb like this warning-text=xrdb:color1.

There's also a new config option which will help the parsing of xrdb. The program will use colors prefixed with an * first (*.foreground: #d1d1d1) then look for URxvt (URxvt.foreground: #d1d1d1) or XTerm if it can't find any color prefixed with an asterisk. If you don't want tut to guess the prefix you can set the prefix yourself with xrdb-prefix=URxvt. So it depends on how your .Xresources look like.

If the xrdb color can't be found a preset color will be used.

I hope the new default colors are better.

Binary notes

The only build I'm able to test is tut-amd64, but I've compiled for some more architectures. They're targeting Linux. If you want some other architecture or OS you can open an issue.

A tip is to rename the file to just tut and put it somewhere in your path. E.g mv tut-* ~/bin/