Skip to content

DeadNews/mc-onedark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One Dark theme for Midnight Commander

mc-onedark

Theme variants

The mc OneDark theme comes in two flavors, an 8/16 color option (onedark.ini) and a 16M color option (onedark16M.ini). The 8/16 color version is entirely dependent on having installed the relevant OneDark theme for your terminal too as it uses the color palette fixed by your terminal.

See Konsole color scheme for example.

The 16M color version can be used independently of any terminal color scheme, but requires true color support in the terminal.

Installation

  • Copy files from ./skins to ~/.local/share/mc/skins
  • Copy files from ./config to ~/.config/mc/ (optional)

or

dotbot -c install.conf.yaml

Activating ways

  1. Choose the skin through the mc UI with:
# F9 > Options > Appearance
  1. Edit ~/.config/mc/ini and add skin=onedark:
sed -i 's|\(^skin=\).*$|\1onedark|' ~/.config/mc/ini
  1. Run mc with specific skin:
mc -S onedark
  1. Add export MC_SKIN=onedark to the initialization file of your shell (e.g., ~/.bashrc or ~/.zshrc):
echo "export MC_SKIN=onedark" >> ~/.zshrc