Coder Social home page Coder Social logo

mc-onedark's Introduction

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

mc-onedark's People

Contributors

deadnews avatar pre-commit-ci[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

1codim bodzioslav

mc-onedark's Issues

Colors are off in mcedit

Hi! It's awesome theme you have here. There's only one catch: colors (and background) in mcedit are off...:
image

Maybe, this micro-patch will help:

--- a/onedark16M.ini
+++ b/onedark16M.ini
@@ -121,14 +121,14 @@
 helptitle = yellow;background
 
 [editor]
-_default_ = lightgray;background
+_default_ = lightgray;#282c34
 editbold = white;gray
 editmarked = white;gray
-editwhitespace = gray;background
+editwhitespace = gray;#282c34
 editlinestate = white;cyan
 bookmark = white;red
 bookmarkfound = white;gray
-editrightmargin = brightblue;background
+editrightmargin = brightblue;#282c34
 # editbg =
 editframe = gray;
 editframeactive = white;

After applying, editor looks like this:
image

Unable to activate skin

I tried to use this skin using dotfiles approach and got an error from mc complaining that it was not able to activate the skin.

I do suspect that mc is unable to load symlinked files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.