Skip to content

samogot/mc-solarized-skin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Midnight Commander Solarized

This is a skin for Midnight Commander using the Solarized palette. It is designed to be used with terminal emulators that use Solarized palette as their ANSI colors.

It is a fork from nkulikov/mc-solarized-skin however it was rewriten from scratch based on GoTaR MC skin. The file highliting was adjusted to be as close as possible to the Solarized dircolors.ansi-universal.

Some info on skin writing is available on MC wiki, yet it's usually takes a PHD to understand what's going on. And since I'm senile and lazy, I don't want to keep going to external references.

Also, it seems it's bloody scattered all over the place, and one has to collect tiny, and I do mean TINY, and sometimes outdated, pieces of information to form something complete. That's why I took the libery to comment EVERYTHING, just in case.

Screenshot

Midnight Commander Solarized

Installation and Usage

Note you might need mc > 4.7.5 for this scheme to work See MC install script on how to compile from source.

Clone the repostiry into $HOME/.mc/lib/mc-solarized, and define MC_SKIN in .bashrc, .zshrc or .whatnotrc:

mkdir -p $HOME/.mc/lib/
git clone https://github.com/pavlo/mc-solarized-skin.git $HOME/.mc/lib/mc-solarized-skin
echo "export MC_SKIN=$HOME/.mc/lib/mc-solarized-skin/solarized.ini" >> $HOME/.zshrc

Ubuntu

For ubuntu use $HOME/.config/mc instead of $HOME/.mc. For example:

mkdir -p $HOME/.config/mc/lib/
git clone https://github.com/pavlo/mc-solarized-skin.git $HOME/.config/mc/lib/mc-solarized-skin
echo "export MC_SKIN=$HOME/.config/mc/lib/mc-solarized-skin/solarized.ini" >> $HOME/.profile

Unicode

This skin use unicode characters, so make sure your locale is UTF-8 one

Color reference

SOLARIZED HEX TERMCOL ALLOWED
base03 #002b36 gray text only
base02 #073642 black text and background
base01 #586e75 brightgreen text only
base00 #657b83 yellow text only
base0 #839496 brightblue text only
base1 #93a1a1 brightcyan text only
base2 #eee8d5 lightgray text and background
base3 #fdf6e3 white text only
yellow #b58900 brown text and background
orange #cb4b16 brightred text only
red #dc322f red text and background
magenta #d33682 magenta text and background
violet #6c71c4 brightmageta text only
blue #268bd2 blue text and background
cyan #2aa198 cyan text and background
green #859900 green text and background

About

Midnight-Commander Solarized

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published